A functor that stores a function needing one argument, and one DataSource to get the data from. More...
#include <rtt/CommandDSFunctors.hpp>
Public Types | |
typedef FunctionT | Function |
typedef boost::function < FunctionT > | FunctionImpl |
typedef boost::remove_pointer < typename FunctionImpl::arg1_type > ::type | CompT |
typedef FunctionImpl::arg2_type | Arg2T |
Public Member Functions | |
FunctorDS1 (DataSource< boost::weak_ptr< CompT > > *c, FunctionImpl f, DataSource< Arg2T > *a=0) | |
void | setArguments (DataSource< Arg2T > *a, DataSourceBase *=0, DataSourceBase *=0, DataSourceBase *=0) |
void | readArguments () |
bool | execute () |
bool | evaluate () |
FunctorDS1< FunctionT > | copy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const |
Public Attributes | |
FunctionImpl | fun |
DataSource< Arg2T >::shared_ptr | aa |
DataSource< boost::weak_ptr < CompT > >::shared_ptr | ds |
A functor that stores a function needing one argument, and one DataSource to get the data from.
Definition at line 105 of file CommandDSFunctors.hpp.