Changeset 2130 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/context.hpp
- Timestamp:
- 04/20/21 09:49:47 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/context.hpp
r2123 r2130 150 150 std::map<int, StdSize> getAttributesBufferSize(std::map<int, StdSize>& maxEventSize, CContextClient* contextClient, bool bufferForWriting = false); 151 151 std::map<int, StdSize> getDataBufferSize(std::map<int, StdSize>& maxEventSize, CContextClient* contextClient, bool bufferForWriting = false); 152 void setClientServerBuffer(CContextClient* contextClient, bool bufferForWriting = false); // old interface to be removed153 void setClientServerBuffer(vector<CField*>& fields, bool bufferForWriting) ;154 152 155 153 // Distribute files (in write mode) among secondary-server pools according to the estimated data flux … … 357 355 string contextId_ ; //!< context client id for the servers. For clients this is same as getId() 358 356 bool isProcessingEvent_ ; 357 private: 359 358 CServerContext* parentServerContext_ ; 360 359 public: 360 CServerContext* getParentServerContext(void) { return parentServerContext_; } 361 private: 362 bool lockedContext_=false; 363 public: 364 void lockContext(void) {lockedContext_=true; } 365 void unlockContext(void) {lockedContext_=true; } 366 bool isLockedContext(void) { return lockedContext_;} 361 367 public: // Some function maybe removed in the near future 362 368 // virtual void toBinary (StdOStream & os) const;
Note: See TracChangeset
for help on using the changeset viewer.