iCub-main
Public Member Functions | List of all members
iCub::learningmachine::merge::RootSelector Class Reference

The RootSelector is entry point for a format bottle. More...

+ Inheritance diagram for iCub::learningmachine::merge::RootSelector:

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...
 
CompositeSelectoroperator= (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
 

Detailed Description

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.

Definition at line 663 of file merge.cpp.

Constructor & Destructor Documentation

◆ RootSelector()

iCub::learningmachine::merge::RootSelector::RootSelector ( Bottle &  format)
inline

Default constructor.

Definition at line 668 of file merge.cpp.

Member Function Documentation

◆ select()

virtual void iCub::learningmachine::merge::RootSelector::select ( Bottle &  bot,
SourceList sl 
)
inlinevirtual

Selectively adds data from the source list to an output bottle.

Parameters
bota reference to the output Bottle
slthe source list

Reimplemented from iCub::learningmachine::merge::CompositeSelector.

Definition at line 673 of file merge.cpp.


The documentation for this class was generated from the following file: