RSB
0.19.0
|
A callback which allows any kind of reply type but is restricted to a single request type. More...
#include <LocalServer.h>
Public Member Functions | |
AnyReplyTypeCallback (const std::string &requestType=rsc::runtime::typeName(typeid(RequestType))) | |
virtual AnnotatedData | call (const std::string &methodName, boost::shared_ptr< RequestType > input)=0 |
Implement this method to perform actions. More... | |
Public Member Functions inherited from rsb::patterns::LocalServer<>::CallbackBase | |
virtual const std::string & | getRequestType () const |
virtual const std::string & | getReplyType () const |
Public Member Functions inherited from rsb::patterns::LocalServer<>::IntlCallback | |
virtual | ~IntlCallback () |
Private Member Functions | |
EventPtr | intlCall (const std::string &methodName, EventPtr request) |
Additional Inherited Members | |
Protected Member Functions inherited from rsb::patterns::LocalServer<>::CallbackBase | |
CallbackBase (const std::string &requestType, const std::string &replyType) | |
Protected Attributes inherited from rsb::patterns::LocalServer<>::CallbackBase | |
std::string | requestType |
std::string | replyType |
A callback which allows any kind of reply type but is restricted to a single request type.
RequestType | request type class |
Definition at line 110 of file LocalServer.h.
|
inline |
Definition at line 113 of file LocalServer.h.
|
pure virtual |
Implement this method to perform actions.
methodName | called method |
input | input data for the method |
std::exception | all exceptions based on this type are automatically caught and delivered to the remote server |
|
inlineprivatevirtual |
Implements rsb::patterns::LocalServer<>::IntlCallback.
Definition at line 131 of file LocalServer.h.