Safir SDK Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Safir::Dob::EntityHandler Class Reference

Interface to be implemented by an entity handler that makes a non-pending registration and that doesn't handle injected entities. More...

#include <Safir/Dob/Consumer.h>

Inheritance diagram for Safir::Dob::EntityHandler:
Collaboration diagram for Safir::Dob::EntityHandler:

Additional Inherited Members

- Public Member Functions inherited from Safir::Dob::RevokedRegistrationBase
virtual ~RevokedRegistrationBase ()
 Virtual destructor is needed since we have virtual member functions. More...
 
virtual void OnRevokedRegistration (const Safir::Dob::Typesystem::TypeId typeId, const Safir::Dob::Typesystem::HandlerId &handlerId)=0
 Indicates that the handler is no longer registered for the given type. More...
 
- Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase
virtual ~ConsumerBase ()
 
- Public Member Functions inherited from Safir::Dob::EntityRequestBase
virtual ~EntityRequestBase ()
 Virtual destructor is needed since we have virtual member functions. More...
 
virtual void OnCreateRequest (const Safir::Dob::EntityRequestProxy entityRequestProxy, Safir::Dob::ResponseSenderPtr responseSender)=0
 Called when someone requests an entity to be created. More...
 
virtual void OnUpdateRequest (const Safir::Dob::EntityRequestProxy entityRequestProxy, Safir::Dob::ResponseSenderPtr responseSender)=0
 Called when someone requests an entity to be updated. More...
 
virtual void OnDeleteRequest (const Safir::Dob::EntityRequestProxy entityRequestProxy, Safir::Dob::ResponseSenderPtr responseSender)=0
 Called when someone requests an entity to be deleted. More...
 

Detailed Description

Interface to be implemented by an entity handler that makes a non-pending registration and that doesn't handle injected entities.

The following methods needs to be implemented:

virtual void OnRevokedRegistration(const Safir::Dob::Typesystem::TypeId typeId, const Safir::Dob::Typesystem::HandlerId& handlerId);

virtual void OnCreateRequest(const Safir::Dob::EntityRequestProxy entityRequestProxy, Safir::Dob::ResponseSenderPtr responseSender);

virtual void OnUpdateRequest(const Safir::Dob::EntityRequestProxy entityRequestProxy, Safir::Dob::ResponseSenderPtr responseSender);

virtual void OnDeleteRequest(const Safir::Dob::EntityRequestProxy entityRequestProxy, Safir::Dob::ResponseSenderPtr responseSender);