Safir SDK Core
|
Interface to be implemented by subscribers of entities. More...
#include <Safir/Dob/Consumer.h>
Public Member Functions | |
virtual | ~EntitySubscriber () |
Virtual destructor is needed since we have virtual member functions. More... | |
virtual void | OnNewEntity (const Safir::Dob::EntityProxy entityProxy)=0 |
Called when a new entity is available. More... | |
virtual void | OnUpdatedEntity (const Safir::Dob::EntityProxy entityProxy)=0 |
Called when an entity is updated. More... | |
virtual void | OnDeletedEntity (const Safir::Dob::EntityProxy entityProxy, const bool deprecated)=0 |
Called when an entity is deleted. More... | |
Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase | |
virtual | ~ConsumerBase () |
Interface to be implemented by subscribers of entities.
|
virtual |
Virtual destructor is needed since we have virtual member functions.
|
pure virtual |
Called when an entity is deleted.
[in] | entityProxy | - Proxy object containing deleted entity information. |
[in] | deprecated | - Deprecated flag. |
|
pure virtual |
Called when a new entity is available.
[in] | entityProxy | - Proxy object containing new entity and meta information. |
|
pure virtual |
Called when an entity is updated.
If Change Information is enabled for the subscription those entity members that are changed, compared to the previous received entity, will be marked as changed.
The entity owner handler id can be retreived by calling GetCallbackInfo.
[in] | entityProxy | - Proxy object containing updated entity and meta information. |