14 #include <vlutil/vlSmartPointers.h>
136 template <
typename T>
142 template <
typename T>
146 #define lgrCommandFunctor_inl_
147 #include "lgrCommandFunctor.inl"
148 #undef lgrCommandFunctor_inl_
The logger command which contains the command type and its parameters.
Definition: lgrCommand.h:109
DtCommandInterfaceFunctor provides an implementation of the DtResponseFunctor which wraps a single me...
Definition: lgrCommandFunctor.h:97
virtual ~DtLgrCommandHandlerFunctor()
The Destructor.
Definition: lgrCommandFunctor.h:25
virtual DtResponse operator()(const DtCommand &command)=0
Abstract function call interface.
virtual void operator()(DtResponse command)=0
Abstract function call interface.
virtual void operator()(DtResponse command)
Function call operator which calls this stored object's stored member function.
Definition: lgrCommandFunctor.h:49
DtCommandFunctor provides an abstract interface for functions which takes a command and returns a res...
Definition: lgrCommandFunctor.h:22
DtCommandInterfaceFunctor(T *object, ProcCmdFunction function)
The Constructor.
Definition: lgrCommandFunctor.h:36
ProcCmdFunction myFunction
My function to call.
Definition: lgrCommandFunctor.h:90
DtBoost::shared_ptr< const DtCommand > DtResponse
Definition: lgrCommand.h:174
DtResponse(T::* ProcCmdFunction)(const DtCommand &command)
The Process Command Function signature.
Definition: lgrCommandFunctor.h:61
virtual ~DtCommandFunctor()
Virtual Destructor which does nothing.
Definition: lgrCommandFunctor.h:28
ProcCmdFunction myFunction
My function to call.
Definition: lgrCommandFunctor.h:131
T * myObject
Pointer to my object.
Definition: lgrCommandFunctor.h:129
DtBoost::shared_ptr< DtCommandFunctor > DtCommandFunctorSP
Typedefs for shared pointer to the Functors.
Definition: lgrCommandFunctor.h:49
void(T::* ProcCmdFunction)(DtResponse command)
The Process Response Function signature.
Definition: lgrCommandFunctor.h:101
DtCommandFunctorSP createHandler(T *const object, typename DtLgrCommandHandlerFunctor< T >::ProcCmdFunction function)
DtLgrCommandHandler is a utility function for creating shared pointers to DtLgrCommandHandlerFunctor'...
Definition: lgrCommandFunctor.h:56
DtResponseFunctor provides an abstract interface for functions which takes a response.
Definition: lgrCommandFunctor.h:36
DtLgrCommandHandlerFunctor provides an implementation of the DtCommandFunctor which wraps a single me...
Definition: lgrCommandFunctor.h:57
DtLgrCommandHandlerFunctor(T *object, ProcCmdFunction function)
The Constructor.
Definition: lgrCommandFunctor.h:17
virtual ~DtResponseFunctor()
Virtual Destructor which does nothing.
Definition: lgrCommandFunctor.h:42
virtual ~DtCommandInterfaceFunctor()
The Destructor.
Definition: lgrCommandFunctor.h:44
DtBoost::shared_ptr< DtResponseFunctor > DtResponseFunctorSP
Definition: lgrCommandFunctor.h:50
T * myObject
Pointer to my object.
Definition: lgrCommandFunctor.h:88
DtResponseFunctor()
Constructor.
Definition: lgrCommandFunctor.h:40
DtCommandFunctor()
Constructor.
Definition: lgrCommandFunctor.h:26
virtual DtResponse operator()(const DtCommand &command)
Function call operator which calls this stored object's stored member function.
Definition: lgrCommandFunctor.h:30