cgma
|
00001 00002 #include "CubitEvent.hpp" 00003 #include <stddef.h> 00004 00005 class CubitObservable; 00006 00007 class CUBIT_UTIL_EXPORT CubitOperationEvent : public CubitEvent 00008 { 00009 public: 00010 enum Type 00011 { 00012 DEVELOPER_COMMAND_FLAG_MODIFIED, 00013 HEALER_COMPLETED, 00014 COMPOSITE_CREATION_COMPLETED, 00015 SPLIT_SURFACE_COMPLETED, 00016 SEPARATE_OPERATION_COMPLETED, 00017 COLLAPSE_CURVE_COMPLETED, 00018 AUTO_CLEAN_COMPLETED, 00019 GEOMETRY_DEFEATURING_COMPLETED, 00020 REMOVE_SURFACE_COMPLETED, 00021 REMOVE_TOPOLOGY_COMPLETED, 00022 REGULARIZE_ENTITY_COMPLETED, 00023 WEBCUT_COMPLETED, 00024 ENTITIES_MODIFIED, 00025 BOOLEAN_OPERATION_COMPLETE, 00026 MODEL_RESET, 00027 GRAPHICS_MODE_MODIFIED, 00028 SUSPEND_GENESIS_PROCESSING, 00029 RESUME_GENESIS_PROCESSING, 00030 UPDATE_GENESIS_DISPLAY, 00031 UNDO_STATE_CHANGED, 00032 UNDO_COMPLETE, 00033 GRANITE_FILE_IMPORTED, 00034 GEOMETRY_ENGINE_CHANGED, 00035 WORKING_DIRECTORY_CHANGED, 00036 APREPRO_MODIFIED, 00037 FATAL_ERROR_ENCOUNTERED, 00038 IDS_COMPRESSED, 00039 COMMAND_STARTED, 00040 COMMAND_FINISHED 00041 }; 00042 00043 CubitOperationEvent(Type type); 00044 ~CubitOperationEvent(); 00045 00046 CubitObservable* get_entity() const { return NULL; } 00047 00048 Type get_type() const {return mType;} 00049 00050 protected: 00051 Type mType; 00052 }; 00053