MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLParser/mlLoadBase.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00004 
00009 //--------------------------------------------------------------------------------
00010 
00011 #ifndef __LoadBase_H
00012 #define __LoadBase_H
00013 
00014 #include "mlParserSystem.h"
00015 #include "mlEngine.h"
00016 #include "mlOperatorIncludes.h"
00017 
00018 ML_START_NAMESPACE
00019 
00022   class PARSER_EXPORT LoadBase : public Engine
00023   {
00024     public:
00025 
00027       typedef enum {
00028         AutoUpdateModeDoNothing = 0,
00029         AutoUpdateModeAutoClear,
00030         AutoUpdateModeAutoUpdate,
00031         AutoUpdateModeCount
00032       } AutoUpdateMode;
00033 
00035       LoadBase();     
00036       
00038       ~LoadBase();
00039 
00041       virtual bool loadObject(void);
00042 
00044       virtual void deleteObject(void);
00045 
00046       EnumField   *_fldAutoUpdateMode; 
00047       NotifyField *_fldDeleteButton;   
00048       NotifyField *_fldLoadButton;     
00049       StringField *_fldNodeName;       
00050       StringField *_fldLoadFileName;   
00051       StringField *_fldLoadDirName;    
00052       BoolField   *_fldUseLoadDir;     
00053       StringField *_fldFileStatus;     
00054       EnumField   *_fldLoadMode;       
00055       BoolField   *_fldUpToDate;       
00056       
00057 
00058       BaseField   *_fldBaseOutput;     
00059 
00060     protected:
00061 
00063       virtual void handleNotification (Field *field);
00064 
00067       virtual void activateAttachments();
00068 
00070       Base        *_outputObject;     
00071       
00072     private:
00073 
00075       ML_BASEOP_CLASS_HEADER(LoadBase);
00076 
00078       static const char* AutoUpdateModeNames[];
00079 
00080   }; // class LoadBase
00081 
00082 ML_END_NAMESPACE
00083 
00084 #endif