Changeset 1764 for XIOS/dev/dev_ym/XIOS_SERVICES/src/manager/services.hpp
- Timestamp:
- 11/05/19 16:02:34 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_SERVICES/src/manager/services.hpp
r1761 r1764 16 16 public: 17 17 18 const int NOTIFY_NOTHING=0 ; 19 const int NOTIFY_CREATE_CONTEXT=1 ; 20 18 21 CService(MPI_Comm serviceComm, const std::string& poolId, const std::string& serviceId, const int& partitionId, 19 22 int type, int nbPartitions) ; 20 bool eventLoop( void) ;23 bool eventLoop(bool serviceOnly=false) ; 21 24 void createContext(const std::string& poolId, const std::string& serviceId, const int& partitionId, const std::string& contextId) ; 22 25 void checkCreateContextNotification(void) ; … … 36 39 37 40 private: 38 41 void sendNotification(int rank) ; 42 void notificationsDumpOut(CBufferOut& buffer) ; 43 void notificationsDumpIn(CBufferIn& buffer) ; 44 void checkNotifications(void) ; 45 void createContext(void) ; 46 39 47 MPI_Comm serviceComm_ ; 40 48 MPI_Comm globalComm_ ; 41 49 42 50 const size_t maxBufferSize_=1024*1024 ; 43 51 const int localLeader_=0 ; 44 52 int globalLeader_ ; 45 53 CWindowManager* winNotify_ ; 54 55 std::string name_ ; 56 46 57 std::list<std::tuple<std::string, std::string, int, std::string>> notifications_; 58 59 bool hasNotification_ ; 60 int notifyInType_,notifyOutType_ ; 61 std::tuple<std::string, std::string, int, std::string> notifyInCreateContext_, notifyOutCreateContext_ ; 62 47 63 std::map<std::string, CServerContext*> contexts_ ; 48 64 bool finalizeSignal_ ;
Note: See TracChangeset
for help on using the changeset viewer.