RTT::internal::BindStorage< ToBind > Struct Template Reference

#include <BindStorage.hpp>

Inheritance diagram for RTT::internal::BindStorage< ToBind >:
Inheritance graph
[legend]

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 635 of file BindStorage.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:43