SOFA API  56988ca1
Open source framework for multi-physics simuation
sofa::core::objectmodel::BaseContext::GetObjectsCallBackT< T, Container > Class Template Reference

#include <BaseContext.h>

Helper functor allowing to insert an object into a container. More...

Inheritance diagram for sofa::core::objectmodel::BaseContext::GetObjectsCallBackT< T, Container >:

Detailed Description

template<class T, class Container>
class sofa::core::objectmodel::BaseContext::GetObjectsCallBackT< T, Container >

Helper functor allowing to insert an object into a container.

Public Attributes

Container * dest
 

Public Member Functions

 GetObjectsCallBackT (Container *d)
 
void operator() (void *ptr) override
 
- Public Member Functions inherited from sofa::core::objectmodel::BaseContext::GetObjectsCallBack
virtual ~GetObjectsCallBack ()=default
 

Attribute details

◆ dest

template<class T , class Container >
Container* sofa::core::objectmodel::BaseContext::GetObjectsCallBackT< T, Container >::dest

Constructor details

◆ GetObjectsCallBackT()

template<class T , class Container >
sofa::core::objectmodel::BaseContext::GetObjectsCallBackT< T, Container >::GetObjectsCallBackT ( Container *  d)
inline

Function details

◆ operator()()

template<class T , class Container >
void sofa::core::objectmodel::BaseContext::GetObjectsCallBackT< T, Container >::operator() ( void *  ptr)
inlineoverridevirtual