Ignore:
Timestamp:
11/27/15 09:55:05 (8 years ago)
Author:
rlacroix
Message:

Add registry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/node/context.hpp

    r501 r799  
    1313 
    1414#include "mpi.hpp" 
     15 
     16#include "registry.hpp" 
    1517 
    1618 
     
    4244         { 
    4345           EVENT_ID_CLOSE_DEFINITION,EVENT_ID_UPDATE_CALENDAR, 
    44            EVENT_ID_CREATE_FILE_HEADER,EVENT_ID_CONTEXT_FINALIZE 
     46           EVENT_ID_CREATE_FILE_HEADER,EVENT_ID_CONTEXT_FINALIZE, 
     47           EVENT_ID_SEND_REGISTRY 
    4548         } ; 
    4649          
     
    125128         void sendUpdateCalendar(int step) ; 
    126129         void sendCreateFileHeader(void) ; 
     130         void sendRegistry(void) ; //!< after be gathered to the root process of the context, merged registry is sent to the root process of the servers 
    127131         static void recvUpdateCalendar(CEventServer& event) ; 
    128132         void recvUpdateCalendar(CBufferIn& buffer) ; 
     
    130134         static void recvCreateFileHeader(CEventServer& event) ; 
    131135         void recvCreateFileHeader(CBufferIn& buffer) ; 
     136         static void recvRegistry(CEventServer& event) ; 
     137         void recvRegistry(CBufferIn& buffer) ; //!< registry is received by the root process of the servers 
    132138         static CContext* getCurrent(void) ; 
    133139         static CContextGroup* getRoot(void) ; 
     
    151157         static shared_ptr<CContextGroup> root ; 
    152158 
    153  
     159         CRegistry* registryIn ;  //!< input registry which is read from file 
     160         CRegistry* registryOut ; //!< output registry which will be wrote on file at the finalize 
    154161   }; // class CContext 
    155162 
Note: See TracChangeset for help on using the changeset viewer.