Ignore:
Timestamp:
06/14/11 16:20:27 (13 years ago)
Author:
hozdoba
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/xmlio/client.hpp

    r199 r214  
    77#include "buffer_pair.hpp" 
    88#include "array.hpp" 
     9#include "duration.hpp" 
    910 
    1011namespace xmlioserver { 
     
    1617   { 
    1718      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); 
    2122                 
    2223         /// Destructeur /// 
     
    3435      public :  
    3536        
    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 
    3840          
    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 
    4148          
    4249      private : 
     50 
     51         /// Constructeurs /// 
     52         CClient(MPIComm comm_client_server); 
    4353       
    4454         /// Propriété privée /// 
    4555         CBufferPair bpair; 
     56 
     57         static boost::shared_ptr<CClient> Client; 
    4658       
    4759   }; // class CClient    
Note: See TracChangeset for help on using the changeset viewer.