iCub-main
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iCub::learningmachine::TrainProcessor Class Reference

Port processor helper class for incoming training samples. More...

#include <TrainModule.h>

+ Inheritance diagram for iCub::learningmachine::TrainProcessor:

Public Member Functions

 TrainProcessor (MachinePortable &mp)
 Constructor.
 
virtual void setEnabled (bool val)
 Enables or disables processing of training samples.
 
virtual void onRead (yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > &sample)
 
- Public Member Functions inherited from iCub::learningmachine::IMachineProcessor
 IMachineProcessor (MachinePortable &mp)
 Constructor.
 
virtual MachinePortablegetMachinePortable ()
 Retrieve the machine portable machine wrapper.
 
virtual IMachineLearnergetMachine ()
 Convenience function to quickly retrieve the machine that is wrapped in the portable machine wrapper.
 

Additional Inherited Members

- Protected Attributes inherited from iCub::learningmachine::IMachineProcessor
MachinePortablemachinePortable
 A pointer to a concrete wrapper around a learning machine.
 

Detailed Description

Port processor helper class for incoming training samples.

See also
iCub::learningmachine::TrainModule
iCub::learningmachine::IMachineProcessor
Author
Arjan Gijsberts

Definition at line 40 of file TrainModule.h.

Constructor & Destructor Documentation

◆ TrainProcessor()

iCub::learningmachine::TrainProcessor::TrainProcessor ( MachinePortable mp)
inline

Constructor.

Parameters
mpa reference to a machine portable.

Definition at line 53 of file TrainModule.h.

Member Function Documentation

◆ onRead()

void iCub::learningmachine::TrainProcessor::onRead ( yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > &  sample)
virtual

Definition at line 32 of file TrainModule.cpp.

◆ setEnabled()

virtual void iCub::learningmachine::TrainProcessor::setEnabled ( bool  val)
inlinevirtual

Enables or disables processing of training samples.

Parameters
valthe desired state

Definition at line 60 of file TrainModule.h.


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