cgma
CABodies.hpp
Go to the documentation of this file.
00001 //- Class:          CABodies
00002 //- Description:    Cubit attribute for bodies entity is part of.
00003 //- Author: Hong-Jun Kim
00004 //- Version:
00005 
00006 #ifndef CA_BODIES_HPP
00007 #define CA_BODIES_HPP
00008 
00009 #include "CubitAttrib.hpp"
00010 #include "DLIList.hpp"
00011 #include "CubitDefines.h"
00012 #include "CADefines.hpp"
00013 
00014 #include <typeinfo>
00015 
00016 class RefEntity;
00017 
00018 class CABodies: public CubitAttrib
00019 {
00020 private:
00021  
00022   int m_interface, m_uniqueID;
00023 
00024   DLIList<int> m_sharedBodies; // shared bodies
00025 
00026   DLIList<int> m_sharedProcs; // shared processors
00027 
00028   DLIList<int> m_ghostProcs; // ghost processors
00029 
00030 public:
00031 
00032   virtual ~CABodies();
00033 
00034   CABodies(RefEntity*);
00035 
00036   CABodies(RefEntity*, CubitSimpleAttrib *);
00037     //- create a CAB from a simple attribute
00038 
00039   virtual const std::type_info& entity_type_info() const;
00040   //R- The geometric modeler type
00041   //- This function returns the type of the geometric modeler.
00042 
00043   CubitStatus actuate();
00044 
00045   CubitStatus update();
00046 
00047   CubitSimpleAttrib cubit_simple_attrib();
00048 
00049   CubitStatus reset();
00050   //- reset this attribute
00051 
00052   int int_attrib_type();
00053   //- returns the enumerated attribute type
00054 };
00055 
00056 CubitAttrib* CABodies_creator(RefEntity* entity, const CubitSimpleAttrib& p_csa);
00057 
00058 #endif
00059 
00060 
00061 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines