SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::simulation::ThreadSpecificTask Class Reference

#include <Task.h>

Inheritance diagram for sofa::simulation::ThreadSpecificTask:

Public Member Functions

 ThreadSpecificTask (std::atomic< int > *atomicCounter, std::mutex *mutex, CpuTask::Status *status)
 
 ~ThreadSpecificTask () override
 
MemoryAlloc run () final
 
- Public Member Functions inherited from sofa::simulation::CpuTask
virtual CpuTask::StatusgetStatus (void) const overridefinal
 
 CpuTask (CpuTask::Status *status, int scheduledThread=-1)
 
virtual ~CpuTask ()
 
- Public Member Functions inherited from sofa::simulation::Task
 Task (int scheduledThread)
 
virtual ~Task ()
 
int getScheduledThread () const
 

Additional Inherited Members

- Public Attributes inherited from sofa::simulation::Task
int m_id
 
- Protected Attributes inherited from sofa::simulation::Task
int m_scheduledThread
 
- Static Public Member Functions inherited from sofa::simulation::Task
static void * operator new (std::size_t sz)
 
static void operator delete (void *ptr)
 
static void operator delete (void *ptr, std::size_t sz)
 
static void * operator new[] (std::size_t sz)=delete
 
static Task::AllocatorgetAllocator ()
 
static void setAllocator (Task::Allocator *allocator)
 

Constructor details

sofa::simulation::ThreadSpecificTask::ThreadSpecificTask ( std::atomic< int > *  atomicCounter,
std::mutex *  mutex,
CpuTask::Status status 
)
sofa::simulation::ThreadSpecificTask::~ThreadSpecificTask ( )
override

Function details

Task::MemoryAlloc sofa::simulation::ThreadSpecificTask::run ( )
finalvirtual