The MergeModule merges data from several input ports into a single output port.
More...
The MergeModule merges data from several input ports into a single output port.
- Author
- Arjan Gijsberts
Definition at line 688 of file merge.cpp.
◆ MergeModule()
iCub::learningmachine::merge::MergeModule::MergeModule |
( |
std::string |
pp = "/lm/merge" | ) |
|
|
inline |
◆ ~MergeModule()
iCub::learningmachine::merge::MergeModule::~MergeModule |
( |
| ) |
|
|
inline |
◆ close()
virtual bool iCub::learningmachine::merge::MergeModule::close |
( |
void |
| ) |
|
|
inlinevirtual |
◆ configure()
virtual bool iCub::learningmachine::merge::MergeModule::configure |
( |
ResourceFinder & |
opt | ) |
|
|
inlinevirtual |
◆ getDesiredPeriod()
virtual double iCub::learningmachine::merge::MergeModule::getDesiredPeriod |
( |
| ) |
|
|
inlinevirtual |
Accessor for the desired period.
- Returns
- the desired period in seconds
Definition at line 946 of file merge.cpp.
◆ getPeriod()
virtual double iCub::learningmachine::merge::MergeModule::getPeriod |
( |
| ) |
|
|
inlinevirtual |
◆ interruptModule()
virtual bool iCub::learningmachine::merge::MergeModule::interruptModule |
( |
| ) |
|
|
inlinevirtual |
◆ printOptions()
void iCub::learningmachine::merge::MergeModule::printOptions |
( |
std::string |
error = "" | ) |
|
|
inlineprotected |
◆ registerAllPorts()
void iCub::learningmachine::merge::MergeModule::registerAllPorts |
( |
| ) |
|
|
inlineprotected |
Register all ports for this module.
Definition at line 743 of file merge.cpp.
◆ registerPort()
void iCub::learningmachine::merge::MergeModule::registerPort |
( |
Contactable & |
port, |
|
|
std::string |
name |
|
) |
| |
|
inlineprotected |
Register a port at a specified name.
- Parameters
-
port | the port |
name | the name |
- Exceptions
-
a | runtime error if the port could not be registered |
Definition at line 732 of file merge.cpp.
◆ respond()
bool iCub::learningmachine::merge::MergeModule::respond |
( |
const Bottle & |
cmd, |
|
|
Bottle & |
reply |
|
) |
| |
|
inline |
◆ setDesiredPeriod()
virtual void iCub::learningmachine::merge::MergeModule::setDesiredPeriod |
( |
double |
p | ) |
|
|
inlinevirtual |
Mutator for the desired period.
- Parameters
-
p | the desired period in seconds |
- Returns
Definition at line 926 of file merge.cpp.
◆ setFrequency()
virtual void iCub::learningmachine::merge::MergeModule::setFrequency |
( |
double |
f | ) |
|
|
inlinevirtual |
Mutator for the desired period by means of setting the frequency.
- Parameters
-
- Returns
Definition at line 935 of file merge.cpp.
◆ unregisterAllPorts()
void iCub::learningmachine::merge::MergeModule::unregisterAllPorts |
( |
| ) |
|
|
inlineprotected |
Attempts to unregister all ports used by this module.
- Exceptions
-
a | runtime error if unregistering the port fails |
Definition at line 752 of file merge.cpp.
◆ updateModule()
virtual bool iCub::learningmachine::merge::MergeModule::updateModule |
( |
| ) |
|
|
inlinevirtual |
◆ dataSelector
DataSelector* iCub::learningmachine::merge::MergeModule::dataSelector |
|
protected |
◆ desiredPeriod
double iCub::learningmachine::merge::MergeModule::desiredPeriod |
|
protected |
Desired period of the module updates.
Definition at line 698 of file merge.cpp.
◆ output
Port iCub::learningmachine::merge::MergeModule::output |
|
protected |
◆ portPrefix
std::string iCub::learningmachine::merge::MergeModule::portPrefix |
|
protected |
Prefix for the ports.
Definition at line 693 of file merge.cpp.
◆ sourceList
SourceList iCub::learningmachine::merge::MergeModule::sourceList |
|
protected |
The collecting resource for all data from all sources.
Definition at line 703 of file merge.cpp.
The documentation for this class was generated from the following file:
- icub-main/src/modules/learningMachine/src/bin/merge.cpp