iCub-main
Public Member Functions | Protected Attributes | List of all members
iCub::learningmachine::IMachineProcessor Class Reference

Generic abstract class for machine based processors. More...

#include <PredictModule.h>

+ Inheritance diagram for iCub::learningmachine::IMachineProcessor:

Public Member Functions

 IMachineProcessor (MachinePortable &mp)
 Constructor. More...
 
virtual MachinePortablegetMachinePortable ()
 Retrieve the machine portable machine wrapper. More...
 
virtual IMachineLearnergetMachine ()
 Convenience function to quickly retrieve the machine that is wrapped in the portable machine wrapper. More...
 

Protected Attributes

MachinePortablemachinePortable
 A pointer to a concrete wrapper around a learning machine. More...
 

Detailed Description

Generic abstract class for machine based processors.

See also
iCub::learningmachine::PredictProcessor
iCub::learningmachine::TrainProcessor
Author
Arjan Gijsberts

Definition at line 37 of file PredictModule.h.

Constructor & Destructor Documentation

◆ IMachineProcessor()

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

Constructor.

Parameters
mpa pointer to a machine portable.

Definition at line 50 of file PredictModule.h.

Member Function Documentation

◆ getMachine()

virtual IMachineLearner& iCub::learningmachine::IMachineProcessor::getMachine ( )
inlinevirtual

Convenience function to quickly retrieve the machine that is wrapped in the portable machine wrapper.

Returns
a pointer to the actual machine

Definition at line 67 of file PredictModule.h.

◆ getMachinePortable()

virtual MachinePortable& iCub::learningmachine::IMachineProcessor::getMachinePortable ( )
inlinevirtual

Retrieve the machine portable machine wrapper.

Returns
a reference to the machine portable

Definition at line 57 of file PredictModule.h.

Member Data Documentation

◆ machinePortable

MachinePortable& iCub::learningmachine::IMachineProcessor::machinePortable
protected

A pointer to a concrete wrapper around a learning machine.

Definition at line 42 of file PredictModule.h.


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