Changeset 300 for XMLIO_V2/dev/common/src/object_template.hpp
- Timestamp:
- 02/13/12 19:35:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/common/src/object_template.hpp
r286 r300 6 6 #include "attribute_map.hpp" 7 7 #include "node_enum.hpp" 8 #include "buffer_in.hpp" 9 #include "event_server.hpp" 10 #include "attribute.hpp" 8 11 9 12 namespace xmlioserver … … 23 26 typedef CObject SuperClass; 24 27 typedef T DerivedType; 28 29 enum EEventId 30 { 31 EVENT_ID_SEND_ATTRIBUTE=100 32 } ; 25 33 26 34 public : … … 46 54 /// Traitement statique /// 47 55 static void ClearAllAttributes(void); 56 void sendAttributToServer(const string& id); 57 void sendAttributToServer(tree::CAttribute& attr) ; 58 static void recvAttributFromClient(CEventServer& event) ; 59 static bool dispatchEvent(CEventServer& event) ; 48 60 49 61 /// Accesseur statique /// … … 53 65 /// Destructeur /// 54 66 virtual ~CObjectTemplate(void); 55 67 68 static bool has(const string& id) ; 69 static boost::shared_ptr<T> get(const string& id) ; 70 boost::shared_ptr<T> get(void) ; 71 static boost::shared_ptr<T> create(const string& id=string("")) ; 72 56 73 protected : 57 74 … … 77 94 } // namespace xmlioserver 78 95 96 //#include "object_template_impl.hpp" 97 79 98 #endif // __XMLIO_CObjectTemplate__
Note: See TracChangeset
for help on using the changeset viewer.