Public Types | Public Member Functions | Protected Attributes | List of all members
hector_quadrotor_controller::CommandHandle_< Derived, T, Parent > Class Template Reference

#include <handles.h>

Inheritance diagram for hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >:
Inheritance graph
[legend]

Public Types

typedef CommandHandle_< Derived, T, Parent > Base
 
typedef T ValueType
 

Public Member Functions

ValueTypecommand ()
 
 CommandHandle_ ()
 
 CommandHandle_ (const Parent &other)
 
 CommandHandle_ (QuadrotorInterface *interface, const std::string &name, const std::string &field=std::string())
 
virtual bool connected () const
 
ValueTypeget () const
 
const ValueTypegetCommand () const
 
bool getCommand (ValueType &command) const
 
ValueTypeoperator* () const
 
Derived & operator= (ValueType *source)
 
virtual void reset ()
 
void setCommand (const ValueType &command)
 
bool update (ValueType &command) const
 
virtual ~CommandHandle_ ()
 

Protected Attributes

ValueTypecommand_
 

Detailed Description

template<class Derived, typename T, class Parent = CommandHandle>
class hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >

Definition at line 224 of file handles.h.

Member Typedef Documentation

template<class Derived, typename T, class Parent = CommandHandle>
typedef CommandHandle_<Derived, T, Parent> hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::Base

Definition at line 228 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
typedef T hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::ValueType

Definition at line 227 of file handles.h.

Constructor & Destructor Documentation

template<class Derived, typename T, class Parent = CommandHandle>
hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::CommandHandle_ ( )
inline

Definition at line 230 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::CommandHandle_ ( const Parent &  other)
inline

Definition at line 231 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::CommandHandle_ ( QuadrotorInterface interface,
const std::string &  name,
const std::string &  field = std::string() 
)
inline

Definition at line 232 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
virtual hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::~CommandHandle_ ( )
inlinevirtual

Member Function Documentation

template<class Derived, typename T, class Parent = CommandHandle>
ValueType& hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::command ( )
inline

Definition at line 243 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
virtual bool hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::connected ( ) const
inlinevirtual
template<class Derived, typename T, class Parent = CommandHandle>
ValueType* hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::get ( ) const
inline

Definition at line 240 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
const ValueType& hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::getCommand ( ) const
inline

Definition at line 244 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
bool hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::getCommand ( ValueType command) const
inline

Definition at line 246 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
ValueType& hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::operator* ( ) const
inline

Definition at line 241 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
Derived& hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::operator= ( ValueType source)
inline

Definition at line 239 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
virtual void hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::reset ( )
inlinevirtual
template<class Derived, typename T, class Parent = CommandHandle>
void hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::setCommand ( const ValueType command)
inline

Definition at line 245 of file handles.h.

template<class Derived, typename T, class Parent = CommandHandle>
bool hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::update ( ValueType command) const
inline

Definition at line 248 of file handles.h.

Member Data Documentation

template<class Derived, typename T, class Parent = CommandHandle>
ValueType* hector_quadrotor_controller::CommandHandle_< Derived, T, Parent >::command_
protected

Definition at line 255 of file handles.h.


The documentation for this class was generated from the following file:


hector_quadrotor_controller
Author(s): Johannes Meyer
autogenerated on Sun Jul 10 2016 04:30:48