47 #ifndef _MIRA_RPCHANDLER_H_ 48 #define _MIRA_RPCHANDLER_H_ 72 mHandler(handler), mInvoker(invoker) {}
84 mDispatcher(dispatcher), mDiagnosticsModule(module) {}
boost::shared_ptr< RPCHandler > RPCHandlerPtr
Definition: RPCHandler.h:101
RPCHandler implements an AbstractRPCHandler.
Definition: RPCHandler.h:64
Abstract interface for derived RPCHandler(s).
Definition: AbstractRPCHandler.h:68
virtual void run(DispatcherThread *dispatcher)
Called from dispatcher thread this runnable is attached to, whenever the runnable should be executed...
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Definition: RPCHandler.h:68
virtual void queueRequest(AbstractDeferredInvokerPtr invoker)
Implemented from AbstractRPCHandler.
InvokerRunnable(RPCHandler *handler, AbstractDeferredInvokerPtr invoker)
Definition: RPCHandler.h:71
Dispatcher class that allows registration of handler functions that need to be called from within the...
RPCHandler(DispatcherThread *dispatcher, DiagnosticsModulePtr module=NULL)
Definition: RPCHandler.h:83
virtual boost::thread::id getThreadID() const
Implemented to resolve ambiguity.
Definition: RPCHandler.h:90
Base for all runnable classes that can be signaled when they need to run again.
Definition: Runnable.h:72
boost::shared_ptr< InvokerRunnable > InvokerRunnablePtr
Definition: RPCHandler.h:81
Abstract interface for RPCHandler(s).
boost::thread::id getThreadID() const
Returns the thread id of the thread that is used to process the dispatcher.
Definition: DispatcherThread.h:425
Class that can be used whenever you want to have ONE thread where several handlers are assigned to...
Definition: DispatcherThread.h:130
DiagnosticsModulePtr getDiagnosticsModule()
Definition: RPCHandler.h:94
Base class for modules that want to use diagnostics and set the current status.
Definition: Status.h:136
boost::shared_ptr< AbstractDeferredInvoker > AbstractDeferredInvokerPtr
Definition: AbstractDeferredInvoker.h:119