- Timestamp:
- 05/12/20 11:52:13 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/group_template_impl.hpp
r1784 r1875 370 370 371 371 template <class U, class V, class W> 372 void CGroupTemplate<U, V, W>::sendCreateChild(const string& id, CContextClient* client )372 void CGroupTemplate<U, V, W>::sendCreateChild(const string& id, CContextClient* client, const string& objectId) 373 373 { 374 374 … … 377 377 { 378 378 CMessage msg ; 379 msg<<this->getId() ; 379 if (objectId.empty()) msg << this->getId(); 380 else msg << objectId; 380 381 msg<<id ; 381 382 const std::list<int>& ranks = client->getRanksServerLeader(); … … 388 389 389 390 template <class U, class V, class W> 390 void CGroupTemplate<U, V, W>::sendCreateChildGroup(const string& id, CContextClient* client )391 void CGroupTemplate<U, V, W>::sendCreateChildGroup(const string& id, CContextClient* client, const string& objectId) 391 392 { 392 393 CEventClient event(this->getType(),EVENT_ID_CREATE_CHILD_GROUP) ; … … 394 395 { 395 396 CMessage msg ; 396 msg<<this->getId() ; 397 if (objectId.empty()) msg << this->getId(); 398 else msg << objectId; 397 399 msg<<id ; 398 400 const std::list<int>& ranks = client->getRanksServerLeader();
Note: See TracChangeset
for help on using the changeset viewer.