36 inline std::string
getType() {
return _type; }
Field to encapsulate a boolean value.
Base class for all fields used in the ML.
Field to encapsulate a float value.
Base class for an image processing module of the ML.
The WEMModule class provides some common fields and methods for WEMProcessors, WEMGenerators and WEMI...
void activateAttachments() override
Initialize module after loading.
~WEMModule() override
Standard destructor.
void handleNotification(Field *field) override
Called when input changes.
BoolField * _isProcessingFld
Is the module currently processing?
std::string getType()
Returns the type of the WEMGenerator.
WEMModule(std::string type="WEMModule", int numInImages=0, int numOutImages=0)
Standard constructor.
FloatField * _elapsedTimeFld
Elapsed time.
virtual void _finishProcessing()
End processing timer.
void _startProcessing()
Start processing timer.
std::string _type
The module type as a string.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.