SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::simulation::Task::Allocator Class Referenceabstract

#include <Task.h>

Task Allocator class interface used to allocate tasks. More...

Inheritance diagram for sofa::simulation::Task::Allocator:

Detailed Description

Task Allocator class interface used to allocate tasks.

Public Member Functions

virtual void * allocate (std::size_t sz)=0
 
virtual void free (void *ptr, std::size_t sz)=0
 

Function details

◆ allocate()

virtual void* sofa::simulation::Task::Allocator::allocate ( std::size_t  sz)
pure virtual

◆ free()

virtual void sofa::simulation::Task::Allocator::free ( void *  ptr,
std::size_t  sz 
)
pure virtual