iCub-main
|
The RootSelector is entry point for a format bottle. More...
Public Member Functions | |
RootSelector (Bottle &format) | |
Default constructor. | |
virtual void | select (Bottle &bot, SourceList &sl) |
Selectively adds data from the source list to an output bottle. | |
Public Member Functions inherited from iCub::learningmachine::merge::CompositeSelector | |
CompositeSelector (Bottle &format) | |
Default constructor. | |
~CompositeSelector () | |
Default destructor. | |
CompositeSelector (const CompositeSelector &other) | |
Copy constructor. | |
CompositeSelector & | operator= (const CompositeSelector &other) |
Assignment operator. | |
void | addChild (DataSelector *ds) |
void | loadFormat (Bottle &format) |
Loads the format of this composite selector from a Bottle. | |
std::string | toString (int indent=0) |
Returns a string specification of the data selector. | |
virtual void | declareSources (SourceList &sl) |
Declares the required sources for this data selector to the source list. | |
Additional Inherited Members | |
Protected Attributes inherited from iCub::learningmachine::merge::CompositeSelector | |
std::vector< DataSelector * > | children |
The RootSelector is entry point for a format bottle.
It inherits most of its functionality from the CompositeSelector, with the primary difference being that it does not wrap its contents in another Bottle.
|
inline |
|
inlinevirtual |
Selectively adds data from the source list to an output bottle.
bot | a reference to the output Bottle |
sl | the source list |
Reimplemented from iCub::learningmachine::merge::CompositeSelector.