|
Robot Raconteur Core C++ Library
|
Interface for service objects to receive service notifications. More...
#include <Service.h>
Public Member Functions | |
| virtual void | RRServiceObjectInit (RR_WEAK_PTR< ServerContext > context, const std::string &service_path)=0 |
| Function called after service object has been initialized. | |
Interface for service objects to receive service notifications.
Service objects are passed to the service, either when the service is registered or using objrefs. The service initialized the object by configuring events, pipes, callbacks, and wires for use. The object may implement IRRServiceObject to receive notification of when this process is complete, and to receive a ServerContextPtr and the service path of the object. IRRServiceObject::RRServiceObjectInit() is called after the object has been initialized to provide this information.
|
pure virtual |
Function called after service object has been initialized.
Override in the service object to receive notification the service object has been initialized, a ServerContextPtr, and the service path.
| context | The ServerContextPtr owning the object |
| service_path | The object service path |