Changeset 346 for XIOS/trunk/src/group_template_impl.hpp
- Timestamp:
- 04/12/12 17:02:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/group_template_impl.hpp
r345 r346 341 341 ///-------------------------------------------------------------- 342 342 343 343 344 template <class U, class V, class W> 344 345 boost::shared_ptr<U> CGroupTemplate<U, V, W>::createChild(const string& id) … … 346 347 return CGroupFactory::CreateChild<V>(this->get(), id) ; 347 348 } 349 350 template <class U, class V, class W> 351 void CGroupTemplate<U, V, W>::addChild(shared_ptr<U> child) 352 { 353 return CGroupFactory::AddChild<V>(this->get(),child) ; 354 } 348 355 349 356 template <class U, class V, class W> … … 353 360 } 354 361 362 template <class U, class V, class W> 363 void CGroupTemplate<U, V, W>::addChildGroup(shared_ptr<V> childGroup) 364 { 365 return CGroupFactory::AddGroup<V>(this->get(), childGroup) ; 366 } 367 355 368 356 369 template <class U, class V, class W> 357 370 void CGroupTemplate<U, V, W>::sendCreateChild(const string& id) 358 371 { 359 shared_ptr<CContext> context=CContext:: current() ;372 shared_ptr<CContext> context=CContext::getCurrent() ; 360 373 361 374 if (! context->hasServer ) … … 380 393 void CGroupTemplate<U, V, W>::sendCreateChildGroup(const string& id) 381 394 { 382 shared_ptr<CContext> context=CContext:: current() ;395 shared_ptr<CContext> context=CContext::getCurrent() ; 383 396 if (! context->hasServer ) 384 397 {
Note: See TracChangeset
for help on using the changeset viewer.