class RTT::internal::UnboundDataSource< BoundType >
A special DataSource only to be used for if you understand the copy()/clone() semantics very well.
UnboundDataSource is required to represent variables ('var') in program scripts. Otherwise copy/clone done in ParsedStateMachine will not work as expected.
It has different copy semantics in comparison to 'bound' DataSources (like ValueDataSource), being that, it returns new copies in copy(), and returns a clone() of the contained datasource in clone(). A clone() reduces this 'UnboundDataSource' to a 'BoundType' data source.
|BoundType||The type to inherit from and to return in clone(). Typically a ValueDataSource or IndexedValueDataSource type. |
Definition at line 653 of file DataSources.hpp.