Orocos Real-Time Toolkit  2.5.0
RTT::internal::BindStorage< ToBind > Struct Template Reference

A helper-class for the Command implementation which stores the command and collition function objects. More...

#include <rtt/internal/BindStorage.hpp>

Inherits BindStorageImpl< boost::function_traits< ToBind >::arity, ToBind >.


Detailed Description

template<class ToBind>
struct RTT::internal::BindStorage< ToBind >

A helper-class for the Command implementation which stores the command and collition function objects.

It can store both pointers to member functions (with their object pointer) and plain C functions.

There is no constructor and all functions are implemented in the BindStorageImpl base classes.

First create the BindStorage object, then use setup() to register the two functions. Next store() stores the arguments to the functions and exec() executes the command function from setup with the stored arguments.

Parameters:
ToBindA function signature (like: 'bool(int)') for which two functions can be bound (command and collection fcn).

Definition at line 579 of file BindStorage.hpp.


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