CEPS  24.01
Cardiac ElectroPhysiology Simulator
CepsObject Class Reference

Detailed Description

Base class for other (big) CEPS classes. All classes can get a pointer to this base class and also contain a Profiler.

Definition at line 39 of file CepsObject.hpp.

#include <CepsObject.hpp>

Inheritance diagram for CepsObject:
[legend]

Public Member Functions

 CepsObject ()=default
 default constructor More...
 
 CepsObject (const CepsObject &)=default
 Copy constructor. More...
 
virtual ~CepsObject ()=default
 Destructor. More...
 
CepsObjectoperator= (const CepsObject &)=default
 Assignment operator. More...
 
CepsObjecttoBaseObject ()
 Returns a pointer to CepsObject class. More...
 
const CepsObjecttoBaseObject () const
 Returns a pointer to CepsObject class, const version. More...
 
ProfilergetProfiler () const
 Access to profiler. More...
 

Static Protected Attributes

static Profiler m_profiler
 The same profiler for each big object. More...
 

Constructor & Destructor Documentation

◆ CepsObject() [1/2]

CepsObject::CepsObject ( )
default

default constructor

◆ CepsObject() [2/2]

CepsObject::CepsObject ( const CepsObject )
default

Copy constructor.

◆ ~CepsObject()

virtual CepsObject::~CepsObject ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getProfiler()

Profiler * CepsObject::getProfiler ( ) const

Access to profiler.

Definition at line 46 of file CepsObject.cpp.

◆ operator=()

CepsObject& CepsObject::operator= ( const CepsObject )
default

Assignment operator.

◆ toBaseObject() [1/2]

CepsObject * CepsObject::toBaseObject ( )

Returns a pointer to CepsObject class.

Definition at line 34 of file CepsObject.cpp.

◆ toBaseObject() [2/2]

const CepsObject * CepsObject::toBaseObject ( ) const

Returns a pointer to CepsObject class, const version.

Definition at line 40 of file CepsObject.cpp.

Field Documentation

◆ m_profiler

Profiler CepsObject::m_profiler
inlinestaticprotected

The same profiler for each big object.

Definition at line 72 of file CepsObject.hpp.


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