Changeset 2404 for XIOS3/trunk/src/manager/services.hpp
- Timestamp:
- 09/19/22 10:38:09 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/manager/services.hpp
r2274 r2404 20 20 21 21 CService(MPI_Comm serviceComm, const std::string& poolId, const std::string& serviceId, const int& partitionId, 22 int type, int nbPartitions ) ;22 int type, int nbPartitions, shared_ptr<CEventScheduler> = nullptr) ; 23 23 ~CService() ; 24 24 … … 32 32 CServerContext* getServerContext(const std::string& contextId) { return contexts_[contextId]; } 33 33 void finalizeSignal(void) ; 34 CEventScheduler*getEventScheduler(void) ;34 shared_ptr<CEventScheduler> getEventScheduler(void) ; 35 35 36 36 std::string getPoolId(void) {return poolId_;} … … 39 39 int getType(void) {return type_;} 40 40 int getNbPartitions(void) {return nbPartitions_;} 41 const MPI_Comm& getCommunicator(void) { return serviceComm_ ;} 41 42 42 43 private: … … 65 66 std::map<std::string, CServerContext*> contexts_ ; 66 67 bool finalizeSignal_ ; 67 CEventScheduler*eventScheduler_ ;68 shared_ptr<CEventScheduler> eventScheduler_ ; 68 69 69 70 std::string poolId_ ;
Note: See TracChangeset
for help on using the changeset viewer.