iCub-main
|
Reply processor helper class for predictions. More...
#include <TransformModule.h>
Public Member Functions | |
TransformPredictProcessor (TransformerPortable &tp, yarp::os::Port &p) | |
Constructor. | |
virtual bool | read (yarp::os::ConnectionReader &connection) |
virtual yarp::os::Port & | getOutputPort () |
Accessor for the prediction output port. | |
Public Member Functions inherited from iCub::learningmachine::ITransformProcessor | |
ITransformProcessor (TransformerPortable &tp) | |
Constructor. | |
virtual TransformerPortable & | getTransformerPortable () |
Retrieve the transformer portable wrapper. | |
virtual ITransformer & | getTransformer () |
Retrieve the wrapped transformer. | |
Protected Attributes | |
yarp::os::Port & | predictRelay_inout |
The relay port. | |
Protected Attributes inherited from iCub::learningmachine::ITransformProcessor | |
TransformerPortable & | transformerPortable |
A reference to a portable transformer. | |
Reply processor helper class for predictions.
This processor receives requests for predictions, transforms the samples and relays the request to the associated port. This architecture allows multiple transformers to be daisy chained, as long as the chain is terminated by a PredictModule.
Definition at line 86 of file TransformModule.h.
|
inline |
Constructor.
tp | a reference to a transformer. |
Definition at line 99 of file TransformModule.h.
|
inlinevirtual |
Accessor for the prediction output port.
Definition at line 112 of file TransformModule.h.
|
virtual |
Definition at line 31 of file TransformModule.cpp.
|
protected |
The relay port.
Definition at line 91 of file TransformModule.h.