Ignore:
Timestamp:
09/18/15 12:01:48 (9 years ago)
Author:
ymipsl
Message:

Implement registryIn and registryOut functionnalities.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.hpp

    r676 r697  
    1212#include "data_output.hpp" 
    1313#include "garbage_collector.hpp" 
    14  
     14#include "registry.hpp" 
    1515#include "mpi.hpp" 
    1616 
     
    5151           EVENT_ID_CLOSE_DEFINITION,EVENT_ID_UPDATE_CALENDAR, 
    5252           EVENT_ID_CREATE_FILE_HEADER,EVENT_ID_CONTEXT_FINALIZE, 
    53            EVENT_ID_POST_PROCESS 
     53           EVENT_ID_POST_PROCESS, EVENT_ID_SEND_REGISTRY 
    5454         }; 
    5555 
     
    132132         void sendRefGrid(); 
    133133         void sendPostProcessing(); 
    134  
     134         void sendRegistry(void) ; //!< after be gathered to the root process of the context, merged registry is sent to the root process of the servers 
    135135         const StdString& getIdServer(); 
    136136 
     
    145145         static void recvPostProcessing(CEventServer& event); 
    146146         void recvPostProcessing(CBufferIn& buffer); 
     147         static void recvRegistry(CEventServer& event) ; 
     148         void recvRegistry(CBufferIn& buffer) ; //!< registry is received by the root process of the servers 
    147149 
    148150         // dispatch event 
     
    213215         // Concrete contex client 
    214216         CContextClient* client; 
    215  
     217         CRegistry* registryIn ;  //!< input registry which is read from file  
     218         CRegistry* registryOut ; //!< output registry which will be wrote on file at the finalize 
     219          
    216220      private: 
    217221         bool isPostProcessed; 
Note: See TracChangeset for help on using the changeset viewer.