25#ifndef _SAFIR_DOB_CONNECTION_ASPECT_INJECTOR_H
26#define _SAFIR_DOB_CONNECTION_ASPECT_INJECTOR_H
132 const bool includeUpdates,
133 const bool includeSubclasses,
134 const bool restartSubscription,
135 const bool wantsGhostDelete,
136 const bool wantsLastState,
137 const bool doesntWantSourceIsPermanentStore,
138 const bool wantsAllStateChanges,
139 const bool timestampChangeInfo,
#define DOSE_CPP_API
Definition DoseCppExportDefs.h:33
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
std::shared_ptr< Entity > EntityPtr
Definition Entity.h:34
DotsC_Int64 Int64
64 bit integer type.
Definition Defs.h:69
DotsC_TypeId TypeId
A unique type identifier.
Definition Defs.h:218
Base class for all aspects.
Definition ConnectionAspectBase.h:38
Class that provides methods for special applications that injects entities into the system apart from...
Definition ConnectionAspectInjector.h:44
void SubscribeEntity(const Dob::Typesystem::TypeId typeId, const bool includeUpdates, const bool includeSubclasses, const bool restartSubscription, const bool wantsGhostDelete, const bool wantsLastState, const bool doesntWantSourceIsPermanentStore, const bool wantsAllStateChanges, const bool timestampChangeInfo, Dob::EntitySubscriber *const entitySubscriber) const
Special entity subscription.
void InjectChanges(const Dob::EntityPtr &entity, const Dob::Typesystem::InstanceId &instanceId, const Dob::Typesystem::Int64 timestamp, const Dob::Typesystem::HandlerId &handlerId) const
Merge the changed members based on the timestamps.
ConnectionAspectInjector(const ConnectionBase &connection)
Constructor.
Definition ConnectionAspectInjector.h:51
void InjectDelete(const Dob::Typesystem::EntityId &entityId, const Dob::Typesystem::Int64 timestamp, const Dob::Typesystem::HandlerId &handlerId) const
Delete the given instance based on the timestamp.
void InitialSet(const Dob::EntityPtr &entity, const Dob::Typesystem::InstanceId &instanceId, const Dob::Typesystem::HandlerId &handlerId) const
Allows an application to inject an initial entity state.
Common base class for connections to the DOB.
Definition ConnectionBase.h:59
Interface to be implemented by subscribers of entities.
Definition Consumer.h:352
Class containing the identity of an entity.
Definition EntityId.h:43
Class containing the identity of a handler.
Definition HandlerId.h:46
Class containing the identity of an instance.
Definition InstanceId.h:49