Ignore:
Timestamp:
02/13/12 19:35:25 (12 years ago)
Author:
ymipsl
Message:

nouvelle version de developpement de xios

  • nouvelle interface fortran
  • recodage complet de la couche de communication
  • et bien d'autres choses...

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/object_template.hpp

    r286 r300  
    66#include "attribute_map.hpp" 
    77#include "node_enum.hpp" 
     8#include "buffer_in.hpp" 
     9#include "event_server.hpp" 
     10#include "attribute.hpp" 
    811 
    912namespace xmlioserver 
     
    2326         typedef CObject SuperClass; 
    2427         typedef T DerivedType; 
     28          
     29         enum EEventId 
     30         { 
     31           EVENT_ID_SEND_ATTRIBUTE=100 
     32         } ; 
    2533 
    2634      public : 
     
    4654         /// Traitement statique /// 
    4755         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) ; 
    4860 
    4961         /// Accesseur statique /// 
     
    5365         /// Destructeur /// 
    5466         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          
    5673      protected : 
    5774 
     
    7794} // namespace xmlioserver 
    7895 
     96//#include "object_template_impl.hpp" 
     97 
    7998#endif // __XMLIO_CObjectTemplate__ 
Note: See TracChangeset for help on using the changeset viewer.