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

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

#include <TransformModule.h>

+ Inheritance diagram for iCub::learningmachine::TransformTrainProcessor:

Public Member Functions

 TransformTrainProcessor (TransformerPortable &tp, yarp::os::BufferedPort< yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > > &p)
 Constructor.
 
virtual void onRead (yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > &input)
 
virtual yarp::os::BufferedPort< yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > > & getOutputPort ()
 Retrieve the training output port.
 
- Public Member Functions inherited from iCub::learningmachine::ITransformProcessor
 ITransformProcessor (TransformerPortable &tp)
 Constructor.
 
virtual TransformerPortablegetTransformerPortable ()
 Retrieve the transformer portable wrapper.
 
virtual ITransformergetTransformer ()
 Retrieve the wrapped transformer.
 

Additional Inherited Members

- Protected Attributes inherited from iCub::learningmachine::ITransformProcessor
TransformerPortabletransformerPortable
 A reference to a portable transformer.
 

Detailed Description

Port processor helper class for incoming training samples.

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

Definition at line 128 of file TransformModule.h.

Constructor & Destructor Documentation

◆ TransformTrainProcessor()

iCub::learningmachine::TransformTrainProcessor::TransformTrainProcessor ( TransformerPortable tp,
yarp::os::BufferedPort< yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > > &  p 
)
inline

Constructor.

Parameters
tpa reference to a transformer.

Definition at line 142 of file TransformModule.h.

Member Function Documentation

◆ getOutputPort()

virtual yarp::os::BufferedPort< yarp::os::PortablePair< yarp::sig::Vector, yarp::sig::Vector > > & iCub::learningmachine::TransformTrainProcessor::getOutputPort ( )
inlinevirtual

Retrieve the training output port.

Returns
a reference to the output port.

Definition at line 156 of file TransformModule.h.

◆ onRead()

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

Definition at line 60 of file TransformModule.cpp.


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