iCub-main
|
The composite selector groups other data selectors. More...
Public Member Functions | |
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... | |
virtual void | select (Bottle &bot, SourceList &sl) |
Selectively adds data from the source list to an output bottle. More... | |
Protected Attributes | |
std::vector< DataSelector * > | children |
|
inline |
|
inline |
iCub::learningmachine::merge::CompositeSelector::CompositeSelector | ( | const CompositeSelector & | other | ) |
Copy constructor.
|
inline |
|
inlinevirtual |
Declares the required sources for this data selector to the source list.
sl | the source list |
Implements iCub::learningmachine::merge::DataSelector.
|
inline |
CompositeSelector& iCub::learningmachine::merge::CompositeSelector::operator= | ( | const CompositeSelector & | other | ) |
Assignment operator.
|
inlinevirtual |
Selectively adds data from the source list to an output bottle.
bot | a reference to the output Bottle |
sl | the source list |
Implements iCub::learningmachine::merge::DataSelector.
Reimplemented in iCub::learningmachine::merge::RootSelector.
|
inlinevirtual |
Returns a string specification of the data selector.
indent | a number of spaces of indentation |
Implements iCub::learningmachine::merge::DataSelector.
|
protected |