20 #include "../CSOList.h"
21 #include "../CSOScopeEvents.h"
33 CSOBaseModule(
const std::string& type=
"CSOBaseModule",
int numInImages=0,
int numOutImages=0);
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
Field to encapsulate a boolean value.
Base class for CSOModules.
virtual bool _useLegacyAutoApplyMode() const
Controls whether update behaviour on parameter field changes should depend on the autoApply field (le...
void activateAttachments() override
Initialize module after loading.
NotifyField * _applyFld
Applies changes.
void _setIsProcessingFlag(bool newProcessingState)
Sets the isProcessing field if the processing state has changed.
std::string _type
The processor type as a string.
BoolField * _isProcessingFld
Field reflects whether the module is currently processing.
CSOBaseModule(const std::string &type="CSOBaseModule", int numInImages=0, int numOutImages=0)
Standard constructor.
void handleNotification(Field *field) override
Called when input changes.
BoolField * _autoApplyFld
Shall changes lead to an apply? Field value is only considered when useLegacyAutoApplyMode is enabled...
ML_MODULE_CLASS_HEADER(CSOBaseModule)
~CSOBaseModule() override
Standard destructor.
NotifyField * _doneFld
Notifies the application or other modules that the processing has ended.
TypedEnumField< CSOUpdateModes > * _updateModeFld
Enumeration field for update modes.
Base class for all fields used in the ML.
Base class for an image processing module of the ML.
Field without value for notifications.