#include <handles.h>
Public Member Functions | |
MotorCommandHandle () | |
MotorCommandHandle (QuadrotorInterface *interface, const std::string &name) | |
virtual | ~MotorCommandHandle () |
![]() | |
ValueType & | command () |
CommandHandle_ () | |
CommandHandle_ (const CommandHandle &other) | |
CommandHandle_ (QuadrotorInterface *interface, const std::string &name, const std::string &field=std::string()) | |
virtual bool | connected () const |
ValueType * | get () const |
const ValueType & | getCommand () const |
bool | getCommand (ValueType &command) const |
ValueType & | operator* () const |
MotorCommandHandle & | operator= (ValueType *source) |
virtual void | reset () |
void | setCommand (const ValueType &command) |
bool | update (ValueType &command) const |
virtual | ~CommandHandle_ () |
![]() | |
CommandHandle () | |
CommandHandle (QuadrotorInterface *interface, const std::string &name, const std::string &field) | |
template<typename Derived > | |
bool | connectFrom (const Derived &output) |
template<typename Derived > | |
bool | connectTo (Derived &input) const |
void | disconnect () |
bool | enabled () |
void * | get () const |
virtual const std::string & | getField () const |
virtual const std::string & | getName () const |
template<typename T > | |
T * | ownData (T *data) |
bool | preempt () |
bool | preempted () |
void | setPreempted () |
bool | start () |
void | stop () |
virtual | ~CommandHandle () |
Additional Inherited Members | |
![]() | |
typedef CommandHandle_< MotorCommandHandle, MotorCommand, CommandHandle > | Base |
typedef MotorCommand | ValueType |
![]() | |
bool | wasNew () const |
![]() | |
ValueType * | command_ |
![]() | |
bool | new_value_ |
|
inline |
|
inline |
|
inlinevirtual |