Changeset 509 for XIOS/trunk/src/object_template.hpp
- Timestamp:
- 11/13/14 15:09:14 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/object_template.hpp
r501 r509 26 26 typedef CObject SuperClass; 27 27 typedef T DerivedType; 28 28 29 29 enum EEventId 30 30 { … … 42 42 virtual string getName(void) const ; 43 43 virtual void parse(xml::CXMLNode & node); 44 44 45 45 /// Accesseurs /// 46 46 ENodeType getType(void) const; … … 56 56 void sendAttributToServer(const string& id); 57 57 void sendAttributToServer(CAttribute& attr) ; 58 void sendAllAttributesToServer(); 58 59 static void recvAttributFromClient(CEventServer& event) ; 59 60 static bool dispatchEvent(CEventServer& event) ; … … 65 66 /// Destructeur /// 66 67 virtual ~CObjectTemplate(void); 67 68 68 69 static bool has(const string& id) ; 69 70 static bool has(const string& contextId, const string& id) ; … … 74 75 shared_ptr<T> getShared(void) ; 75 76 static shared_ptr<T> getShared(const T* ptr) ; 76 77 77 78 static T* create(const string& id=string("")) ; 78 79 static const vector<T*> getAll() ; 79 80 static const vector<T*> getAll(const string& contextId) ; 80 81 81 82 void generateCInterface(ostream& oss) ; 82 83 void generateFortran2003Interface(ostream& oss) ; 83 84 void generateFortranInterface(ostream& oss) ; 84 85 85 86 protected : 86 87 … … 97 98 static xios_map<StdString, 98 99 xios_map<StdString, 99 boost::shared_ptr<DerivedType> > > AllMapObj; 100 boost::shared_ptr<DerivedType> > > AllMapObj; 100 101 static xios_map<StdString, 101 102 std::vector<boost::shared_ptr<DerivedType> > > AllVectObj; 102 103 103 104 static xios_map< StdString, long int > GenId ; 104 105
Note: See TracChangeset
for help on using the changeset viewer.