COPASI API  4.40.278
CPointerContext< Data > Class Template Reference

#include <CPointerContext.h>

Inheritance diagram for CPointerContext< Data >:
[legend]

Public Types

typedef CContext< Data * > Base
 

Public Member Functions

 CPointerContext ()=delete
 
 CPointerContext (const bool &parallel)
 
 CPointerContext (const CPointerContext &src)=delete
 
void setMaster (Data *pMaster)
 
 ~CPointerContext ()
 
- Public Member Functions inherited from CContext< Data * >
Data * & active ()
 
const Data * & active () const
 
Data * * beginThread ()
 
const Data * * beginThread () const
 
 CContext (const bool &parallel=true)
 
 CContext (const CContext &src)
 
Data * * endThread ()
 
const Data * * endThread () const
 
int globalIndex (const Data * *data) const
 
void init ()
 
bool isMaster (const Data * *data) const
 
bool isThread (const Data * *data) const
 
int localIndex (const Data * *data) const
 
Data * & master ()
 
const Data * & master () const
 
CContextoperator= (const CContext &rhs)
 
bool operator== (const CContext &rhs) const
 
void release ()
 
const size_t & size () const
 
 ~CContext ()
 

Member Typedef Documentation

◆ Base

template<class Data >
typedef CContext< Data * > CPointerContext< Data >::Base

Constructor & Destructor Documentation

◆ CPointerContext() [1/3]

template<class Data >
CPointerContext< Data >::CPointerContext ( )
delete

◆ CPointerContext() [2/3]

template<class Data >
CPointerContext< Data >::CPointerContext ( const CPointerContext< Data > &  src)
delete

◆ CPointerContext() [3/3]

◆ ~CPointerContext()

template<class Data >
CPointerContext< Data >::~CPointerContext

Member Function Documentation

◆ setMaster()

template<class Data >
void CPointerContext< Data >::setMaster ( Data *  pMaster)

Set the pointer to container used for calculations

Parameters
CCopasiMethod* pMethod

Referenced by COptMethod::COptMethod(), COptPopulationMethod::initialize(), and COptMethod::signalMathContainerChanged().


The documentation for this class was generated from the following file: