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

Interface to be implemented by subscribers of handler registrations. More...

#include <Safir/Dob/Consumer.h>

Inheritance diagram for Safir::Dob::RegistrationSubscriber:
Collaboration diagram for Safir::Dob::RegistrationSubscriber:

Public Member Functions

virtual ~RegistrationSubscriber ()
 Virtual destructor is needed since we have virtual member functions. More...
 
virtual void OnRegistered (const Safir::Dob::Typesystem::TypeId typeId, const Safir::Dob::Typesystem::HandlerId &handlerId)=0
 Called when a handler for an entity or service has been registered. More...
 
virtual void OnUnregistered (const Safir::Dob::Typesystem::TypeId typeId, const Safir::Dob::Typesystem::HandlerId &handlerId)=0
 Called when a handler for an entity or service has been unregistered. More...
 
- Public Member Functions inherited from Safir::Dob::Internal::ConsumerBase
virtual ~ConsumerBase ()
 

Detailed Description

Interface to be implemented by subscribers of handler registrations.

Constructor & Destructor Documentation

virtual Safir::Dob::RegistrationSubscriber::~RegistrationSubscriber ( )
virtual

Virtual destructor is needed since we have virtual member functions.

Member Function Documentation

virtual void Safir::Dob::RegistrationSubscriber::OnRegistered ( const Safir::Dob::Typesystem::TypeId  typeId,
const Safir::Dob::Typesystem::HandlerId handlerId 
)
pure virtual

Called when a handler for an entity or service has been registered.

Parameters
[in]typeId- Type id of the registered entity or service.
[in]handlerId- HandlerId of the registered handler.
virtual void Safir::Dob::RegistrationSubscriber::OnUnregistered ( const Safir::Dob::Typesystem::TypeId  typeId,
const Safir::Dob::Typesystem::HandlerId handlerId 
)
pure virtual

Called when a handler for an entity or service has been unregistered.

Parameters
[in]typeId- Type id of the unregistered entity or service.
[in]handlerId- HandlerId of the unregistered handler.