Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
hector_quadrotor_controller::CommandHandle Class Referenceabstract

#include <handles.h>

Inheritance diagram for hector_quadrotor_controller::CommandHandle:
Inheritance graph
[legend]

Public Member Functions

 CommandHandle ()
 
 CommandHandle (QuadrotorInterface *interface, const std::string &name, const std::string &field)
 
virtual bool connected () const =0
 
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)
 
virtual void reset ()
 
bool start ()
 
void stop ()
 
virtual ~CommandHandle ()
 

Protected Member Functions

bool wasNew () const
 

Protected Attributes

bool new_value_
 

Private Attributes

const std::string field_
 
QuadrotorInterfaceinterface_
 
boost::shared_ptr< void > my_
 
const std::string name_
 

Detailed Description

Definition at line 170 of file handles.h.

Constructor & Destructor Documentation

hector_quadrotor_controller::CommandHandle::CommandHandle ( )
inline

Definition at line 173 of file handles.h.

hector_quadrotor_controller::CommandHandle::CommandHandle ( QuadrotorInterface interface,
const std::string &  name,
const std::string &  field 
)
inline

Definition at line 174 of file handles.h.

virtual hector_quadrotor_controller::CommandHandle::~CommandHandle ( )
inlinevirtual

Definition at line 175 of file handles.h.

Member Function Documentation

virtual bool hector_quadrotor_controller::CommandHandle::connected ( ) const
pure virtual
template<typename Derived >
bool hector_quadrotor_controller::CommandHandle::connectFrom ( const Derived &  output)
inline

Definition at line 191 of file handles.h.

template<typename Derived >
bool hector_quadrotor_controller::CommandHandle::connectTo ( Derived &  input) const
inline

Definition at line 198 of file handles.h.

void hector_quadrotor_controller::CommandHandle::disconnect ( )

Definition at line 193 of file quadrotor_interface.cpp.

bool hector_quadrotor_controller::CommandHandle::enabled ( )

Definition at line 190 of file quadrotor_interface.cpp.

void* hector_quadrotor_controller::CommandHandle::get ( ) const
inline

Definition at line 182 of file handles.h.

virtual const std::string& hector_quadrotor_controller::CommandHandle::getField ( ) const
inlinevirtual

Definition at line 178 of file handles.h.

virtual const std::string& hector_quadrotor_controller::CommandHandle::getName ( ) const
inlinevirtual

Definition at line 177 of file handles.h.

template<typename T >
T* hector_quadrotor_controller::CommandHandle::ownData ( T *  data)
inline

Definition at line 189 of file handles.h.

virtual void hector_quadrotor_controller::CommandHandle::reset ( )
inlinevirtual
bool hector_quadrotor_controller::CommandHandle::start ( )

Definition at line 191 of file quadrotor_interface.cpp.

void hector_quadrotor_controller::CommandHandle::stop ( )

Definition at line 192 of file quadrotor_interface.cpp.

bool hector_quadrotor_controller::CommandHandle::wasNew ( ) const
inlineprotected

Definition at line 213 of file handles.h.

Member Data Documentation

const std::string hector_quadrotor_controller::CommandHandle::field_
private

Definition at line 208 of file handles.h.

QuadrotorInterface* hector_quadrotor_controller::CommandHandle::interface_
private

Definition at line 206 of file handles.h.

boost::shared_ptr<void> hector_quadrotor_controller::CommandHandle::my_
private

Definition at line 209 of file handles.h.

const std::string hector_quadrotor_controller::CommandHandle::name_
private

Definition at line 207 of file handles.h.

bool hector_quadrotor_controller::CommandHandle::new_value_
mutableprotected

Definition at line 212 of file handles.h.


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


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