Changeset 214 for XMLIO_V2/dev/dev_rv/src/xmlio/client.hpp
- Timestamp:
- 06/14/11 16:20:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/dev_rv/src/xmlio/client.hpp
r199 r214 7 7 #include "buffer_pair.hpp" 8 8 #include "array.hpp" 9 #include "duration.hpp" 9 10 10 11 namespace xmlioserver { … … 16 17 { 17 18 public : 18 19 /// Constructeurs ///20 CClient(MPIComm comm_client_server);19 20 static boost::shared_ptr<CClient> CreateClient(MPIComm comm_client_server); 21 static boost::shared_ptr<CClient> GetClient(void); 21 22 22 23 /// Destructeur /// … … 34 35 public : 35 36 36 void setContext(const StdString & idContext); // manager 1, method 0 37 void updateCalendar(long int timestep); // manager 1, method 1 37 void setContext(const StdString & idContext); // manager 1, method 0 38 void updateCalendar(long int timestep); // manager 1, method 1 39 void setTimestep(const date::CDuration & duration);// manager 1, method 2 38 40 39 void sendData(const StdString & fieldId, const ARRAY(float, 1) dataArray); // manager 2, method 0 40 void sendData(const StdString & fieldId, const ARRAY(double, 1) dataArray); // manager 2, method 1 41 void sendData(const StdString & fieldId, 42 const StdString & fileId, 43 const ARRAY(float, 1) dataArray); // manager 2, method 0 44 45 void sendData(const StdString & fieldId, 46 const StdString & fileId, 47 const ARRAY(double, 1) dataArray); // manager 2, method 1 41 48 42 49 private : 50 51 /// Constructeurs /// 52 CClient(MPIComm comm_client_server); 43 53 44 54 /// Propriété privée /// 45 55 CBufferPair bpair; 56 57 static boost::shared_ptr<CClient> Client; 46 58 47 59 }; // class CClient
Note: See TracChangeset
for help on using the changeset viewer.