CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
For objects that have pointers to either a node or a cell.
Definition at line 40 of file HoldsGeomObject.hpp.
#include <HoldsGeomObject.hpp>
Public Member Functions | |
HoldsGeomObject (_GeomObject *object=nullptr, CepsBool owned=false) | |
Constructor with ID. More... | |
HoldsGeomObject (const HoldsGeomObject &)=default | |
Copy constructor. More... | |
HoldsGeomObject (HoldsGeomObject &&) noexcept=default | |
Copy constructor. More... | |
virtual | ~HoldsGeomObject () |
Destructor. More... | |
HoldsGeomObject & | operator= (const HoldsGeomObject &)=default |
Assignment operator. More... | |
HoldsGeomObject & | operator= (HoldsGeomObject &&) noexcept=default |
Assignment operator. More... | |
_GeomObject * | getGeomObject () const |
Get the geom object. More... | |
_GeomObject * | getProperties () const |
Get the properties (in fact it's just the geom object) More... | |
virtual void | setGeomObject (_GeomObject *object, CepsBool owned) |
Set the geom object. More... | |
void | reset () |
Set the geom object pointer to nullptr. More... | |
Protected Attributes | |
CepsBool | m_owned |
Is the geom object owned by current CPU. More... | |
_GeomObject * | m_gObject |
Ptr to the object. More... | |
|
explicit |
Constructor with ID.
|
default |
Copy constructor.
|
defaultnoexcept |
Copy constructor.
|
virtual |
Destructor.
_GeomObject* ceps::HoldsGeomObject< _GeomObject >::getGeomObject | ( | ) | const |
Get the geom object.
_GeomObject* ceps::HoldsGeomObject< _GeomObject >::getProperties | ( | ) | const |
Get the properties (in fact it's just the geom object)
|
default |
Assignment operator.
|
defaultnoexcept |
Assignment operator.
void ceps::HoldsGeomObject< _GeomObject >::reset | ( | ) |
Set the geom object pointer to nullptr.
|
virtual |
|
protected |
Ptr to the object.
Definition at line 84 of file HoldsGeomObject.hpp.
|
protected |
Is the geom object owned by current CPU.
Definition at line 83 of file HoldsGeomObject.hpp.