iCub-main
|
The RootSelector is entry point for a format bottle. More...
Public Member Functions | |
RootSelector (Bottle &format) | |
Default constructor. More... | |
virtual void | select (Bottle &bot, SourceList &sl) |
Selectively adds data from the source list to an output bottle. More... | |
Public Member Functions inherited from iCub::learningmachine::merge::CompositeSelector | |
CompositeSelector (Bottle &format) | |
Default constructor. More... | |
~CompositeSelector () | |
Default destructor. More... | |
CompositeSelector (const CompositeSelector &other) | |
Copy constructor. More... | |
CompositeSelector & | operator= (const CompositeSelector &other) |
Assignment operator. More... | |
void | addChild (DataSelector *ds) |
void | loadFormat (Bottle &format) |
Loads the format of this composite selector from a Bottle. More... | |
std::string | toString (int indent=0) |
Returns a string specification of the data selector. More... | |
virtual void | declareSources (SourceList &sl) |
Declares the required sources for this data selector to the source list. More... | |
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.