RSB
0.7.0
|
A Handler that automatically performs the desired type casting. More...
#include <Handler.h>
Public Member Functions | |
virtual | ~DataHandler () |
void | handle (EventPtr event) |
Handle event. | |
virtual void | notify (boost::shared_ptr< DataType > data)=0 |
Public Member Functions inherited from rsb::Handler | |
std::set< std::string > | getMethods () const |
Returns the desired set of methods this handler can handle. | |
bool | acceptsMethod (const std::string &method) const |
Additional Inherited Members | |
Protected Member Functions inherited from rsb::Handler | |
Handler (const std::string &method="") | |
Creates a new handler that only accepts events for the specified method. | |
Handler (const std::set< std::string > &methods) | |
Creates a new handler that only accepts events with the specified methods. | |
virtual | ~Handler () |
std::string | getClassName () const |
A Handler that automatically performs the desired type casting.
DataType | type of the data received by this handler, omitting the shared pointer |
|
inlinevirtual |
|
inlinevirtual |
Handle event.
event | The event that should be handled. |
Implements rsb::eventprocessing::Handler.
Definition at line 162 of file Handler.h.
References rsb::DataHandler< DataType >::notify().
|
pure virtual |