MeVisLabToolboxReference
ml::CSOBaseModule Class Reference

Base class for CSOModules. More...

#include <CSOBaseModule.h>

Inheritance diagram for ml::CSOBaseModule:
ml::Module ml::FieldContainer ml::Base ml::CSOConvertor ml::CSOGenerator ml::CSOModificator ml::CSOProcessor ml::CSOBulgeProcessor ml::CSOFreehandProcessor ml::CSOIsoProcessor ml::CSOLiveWireProcessor ml::CSOModifyProcessor ml::CSOPrimitiveProcessor ml::CSOTransformationProcessor

List of all members.

Public Member Functions

 CSOBaseModule (const std::string &type="CSOBaseModule", int numInImages=0, int numOutImages=0)
 Standard constructor.

Protected Member Functions

virtual ~CSOBaseModule ()
 Standard destructor.
virtual void activateAttachments ()
 Initialize module after loading.
virtual void handleNotification (Field *field)
 Called when input changes.
void _setIsProcessingFlag (bool newProcessingState)
 Sets the isProcessing field if the processing state has changed.
 ML_MODULE_CLASS_HEADER (CSOBaseModule)

Protected Attributes

EnumField_updateModeFld
 Enumeration field for update modes.
BoolField_autoApplyFld
 Shall changes lead to an apply?
NotifyField_applyFld
 Applies changes.
BoolField_isProcessingFld
 Field reflects whether the module is currently processing.
NotifyField_doneFld
 Notifies the application or other modules that the processing has ended.
std::string _type
 The processor type as a string.

Detailed Description

Base class for CSOModules.

Definition at line 25 of file CSOBaseModule.h.


Constructor & Destructor Documentation

ml::CSOBaseModule::CSOBaseModule ( const std::string &  type = "CSOBaseModule",
int  numInImages = 0,
int  numOutImages = 0 
)

Standard constructor.

virtual ml::CSOBaseModule::~CSOBaseModule ( ) [protected, virtual]

Standard destructor.


Member Function Documentation

void ml::CSOBaseModule::_setIsProcessingFlag ( bool  newProcessingState) [protected]

Sets the isProcessing field if the processing state has changed.

virtual void ml::CSOBaseModule::activateAttachments ( ) [protected, virtual]
virtual void ml::CSOBaseModule::handleNotification ( Field field) [protected, virtual]
ml::CSOBaseModule::ML_MODULE_CLASS_HEADER ( CSOBaseModule  ) [protected]

Member Data Documentation

Applies changes.

Definition at line 53 of file CSOBaseModule.h.

Shall changes lead to an apply?

Definition at line 51 of file CSOBaseModule.h.

Notifies the application or other modules that the processing has ended.

Definition at line 58 of file CSOBaseModule.h.

Field reflects whether the module is currently processing.

Definition at line 56 of file CSOBaseModule.h.

std::string ml::CSOBaseModule::_type [protected]

The processor type as a string.

This is set in the according processor's constructor.

Definition at line 65 of file CSOBaseModule.h.

Referenced by ml::CSOGenerator::getType().

Enumeration field for update modes.

Definition at line 49 of file CSOBaseModule.h.


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