cgma
CubitCoordEvent.hpp
Go to the documentation of this file.
00001 //- Class: CubitCoorEvent
00002 //- Description: Class describing Coordinate System events 
00003 //- Owner:
00004 
00005 #include "CubitEvent.hpp"
00006 #include "CubitCoordinateSystem.hpp"
00007 
00008 class CUBIT_UTIL_EXPORT CubitCoordEvent : public CubitEvent
00009 {
00010   public:
00011     enum Type
00012     {
00013       COORDINATE_SYSTEM_CREATED,
00014       COORDINATE_SYSTEM_MODIFIED,
00015       COORDINATE_SYSTEM_DELETED
00016     };
00017     
00018     CubitCoordEvent(Type type, CubitCoordinateSystem* sys)
00019       : mType(type), mCubitCoordinateSystem(sys) {}
00020     ~CubitCoordEvent() {}
00021 
00022     CubitCoordinateSystem* get_entity() const {return mCubitCoordinateSystem; }
00023     Type get_type() const { return mType; }
00024 
00025   protected:
00026 
00027     Type mType;
00028     CubitCoordinateSystem* mCubitCoordinateSystem;
00029 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines