MAV'RIC
Public Types | Public Member Functions
Controller< in_command_T, out_command_T > Class Template Reference

Interface for controllers with one input command type and one output command type. More...

#include <controller.hpp>

List of all members.

Public Types

typedef in_command_T in_command_t
typedef out_command_T out_command_t

Public Member Functions

virtual bool update (void)=0
 Main update function.
virtual bool set_command (const in_command_t &command)=0
 Sets the input command.
virtual bool get_command (in_command_t &command) const =0
 Returns the input command.
virtual bool get_output (out_command_t &command) const =0
 Returns the output command.

Detailed Description

template<typename in_command_T, typename out_command_T = empty_command_t>
class Controller< in_command_T, out_command_T >

Interface for controllers with one input command type and one output command type.


Member Function Documentation

template<typename in_command_T, typename out_command_T = empty_command_t>
virtual bool Controller< in_command_T, out_command_T >::get_command ( in_command_t &  command) const [pure virtual]
template<typename in_command_T, typename out_command_T = empty_command_t>
virtual bool Controller< in_command_T, out_command_T >::get_output ( out_command_t &  command) const [pure virtual]
template<typename in_command_T, typename out_command_T = empty_command_t>
virtual bool Controller< in_command_T, out_command_T >::set_command ( const in_command_t &  command) [pure virtual]
template<typename in_command_T, typename out_command_T = empty_command_t>
virtual bool Controller< in_command_T, out_command_T >::update ( void  ) [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines