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

#include <CallContext.h>

Public Member Functions

ProcessorType get_proc_type ()
 
void set_proc_type (ProcessorType _p)
 
unsigned get_pid ()
 
void set_pid (unsigned)
 
 Processor ()
 

Static Public Member Functions

static Processorget_current ()
 

Constructor details

sofa::core::Processor::Processor ( )
inline

Function details

Processor * sofa::core::Processor::get_current ( )
static
unsigned sofa::core::Processor::get_pid ( )
inline
ProcessorType sofa::core::Processor::get_proc_type ( )
inline
void sofa::core::Processor::set_pid ( unsigned  )
inline
void sofa::core::Processor::set_proc_type ( ProcessorType  _p)
inline

Enum details

Enumerator
GRAPH_KAAPI 
CPU 
GPU_CUDA 
DEFAULT 
VISITOR_SYNC