#include <SEElectroCardioGram.h>

Inherits SEEquipment.

Public Member Functions

 SEElectroCardioGram (Logger *logger)
 
virtual ~SEElectroCardioGram ()
 
void Clear () override
 
void Copy (const SEElectroCardioGram &src)
 
const SEScalarGetScalar (const std::string &name) override
 
bool SerializeToString (std::string &output, eSerializationFormat m) const
 
bool SerializeToFile (const std::string &filename) const
 
bool SerializeFromString (const std::string &src, eSerializationFormat m)
 
bool SerializeFromFile (const std::string &filename)
 
virtual bool HasLead1ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead1ElectricPotential ()
 
virtual double GetLead1ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead2ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead2ElectricPotential ()
 
virtual double GetLead2ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead3ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead3ElectricPotential ()
 
virtual double GetLead3ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead4ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead4ElectricPotential ()
 
virtual double GetLead4ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead5ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead5ElectricPotential ()
 
virtual double GetLead5ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead6ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead6ElectricPotential ()
 
virtual double GetLead6ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead7ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead7ElectricPotential ()
 
virtual double GetLead7ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead8ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead8ElectricPotential ()
 
virtual double GetLead8ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead9ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead9ElectricPotential ()
 
virtual double GetLead9ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead10ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead10ElectricPotential ()
 
virtual double GetLead10ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead11ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead11ElectricPotential ()
 
virtual double GetLead11ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasLead12ElectricPotential () const
 
virtual SEScalarElectricPotentialGetLead12ElectricPotential ()
 
virtual double GetLead12ElectricPotential (const ElectricPotentialUnit &unit) const
 
virtual bool HasWaveforms ()
 
virtual bool HasWaveform (eElectroCardioGram_WaveformLead, eElectroCardioGram_WaveformType)
 
virtual SEElectroCardioGramWaveformGetWaveform (eElectroCardioGram_WaveformLead, eElectroCardioGram_WaveformType)
 
virtual const SEElectroCardioGramWaveformGetWaveform (eElectroCardioGram_WaveformLead, eElectroCardioGram_WaveformType) const
 
virtual eElectroCardioGram_WaveformType GetActiveType ()
 
virtual void ClearCycles ()
 
virtual void PullCycleValues ()
 
virtual void StartNewCycle (eElectroCardioGram_WaveformType t, const SEScalarFrequency &hr, const SEScalarTime &dt, double amplitudeModifier)
 
- Public Member Functions inherited from SEEquipment
 SEEquipment (Logger *logger)
 
virtual ~SEEquipment ()
 
void Clear () override
 
- Public Member Functions inherited from SESystem
 SESystem (Logger *logger)
 
virtual ~SESystem ()
 
virtual void Clear ()
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
virtual void Debug (std::string const &msg) const
 
virtual void Debug (std::stringstream &msg) const
 
virtual void Debug (std::ostream &msg) const
 
virtual void Info (std::string const &msg) const
 
virtual void Info (std::stringstream &msg) const
 
virtual void Info (const std::stringstream &msg) const
 
virtual void Info (std::ostream &msg) const
 
virtual void Warning (std::string const &msg) const
 
virtual void Warning (std::stringstream &msg) const
 
virtual void Warning (std::ostream &msg) const
 
virtual void Error (std::string const &msg) const
 
virtual void Error (std::stringstream &msg) const
 
virtual void Error (std::ostream &msg) const
 
virtual void Fatal (std::string const &msg) const
 
virtual void Fatal (std::stringstream &msg) const
 
virtual void Fatal (std::ostream &msg) const
 

Protected Member Functions

virtual std::vector< SEElectroCardioGramWaveform * > & GetWaveforms ()
 

Protected Attributes

SEScalarElectricPotentialm_Lead1ElectricPotential
 
SEScalarElectricPotentialm_Lead2ElectricPotential
 
SEScalarElectricPotentialm_Lead3ElectricPotential
 
SEScalarElectricPotentialm_Lead4ElectricPotential
 
SEScalarElectricPotentialm_Lead5ElectricPotential
 
SEScalarElectricPotentialm_Lead6ElectricPotential
 
SEScalarElectricPotentialm_Lead7ElectricPotential
 
SEScalarElectricPotentialm_Lead8ElectricPotential
 
SEScalarElectricPotentialm_Lead9ElectricPotential
 
SEScalarElectricPotentialm_Lead10ElectricPotential
 
SEScalarElectricPotentialm_Lead11ElectricPotential
 
SEScalarElectricPotentialm_Lead12ElectricPotential
 
eElectroCardioGram_WaveformType m_ActiveType
 
std::vector< SEElectroCardioGramWaveform * > m_Waveforms
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBElectroCardioGram
 

Additional Inherited Members

- Static Public Member Functions inherited from SESystem
static const SEScalarGetScalar (const std::string &name, std::vector< SESystem * > *systems)
 

Constructor & Destructor Documentation

◆ SEElectroCardioGram()

SEElectroCardioGram::SEElectroCardioGram ( Logger logger)

◆ ~SEElectroCardioGram()

SEElectroCardioGram::~SEElectroCardioGram ( )
virtual

Member Function Documentation

◆ Clear()

void SEElectroCardioGram::Clear ( )
overridevirtual

Reimplemented from SESystem.

◆ ClearCycles()

void SEElectroCardioGram::ClearCycles ( )
virtual

◆ Copy()

void SEElectroCardioGram::Copy ( const SEElectroCardioGram src)

◆ GetActiveType()

virtual eElectroCardioGram_WaveformType SEElectroCardioGram::GetActiveType ( )
inlinevirtual

◆ GetLead10ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead10ElectricPotential ( )
virtual

◆ GetLead10ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead10ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead11ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead11ElectricPotential ( )
virtual

◆ GetLead11ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead11ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead12ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead12ElectricPotential ( )
virtual

◆ GetLead12ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead12ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead1ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead1ElectricPotential ( )
virtual

◆ GetLead1ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead1ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead2ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead2ElectricPotential ( )
virtual

◆ GetLead2ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead2ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead3ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead3ElectricPotential ( )
virtual

◆ GetLead3ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead3ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead4ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead4ElectricPotential ( )
virtual

◆ GetLead4ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead4ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead5ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead5ElectricPotential ( )
virtual

◆ GetLead5ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead5ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead6ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead6ElectricPotential ( )
virtual

◆ GetLead6ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead6ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead7ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead7ElectricPotential ( )
virtual

◆ GetLead7ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead7ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead8ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead8ElectricPotential ( )
virtual

◆ GetLead8ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead8ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetLead9ElectricPotential() [1/2]

SEScalarElectricPotential & SEElectroCardioGram::GetLead9ElectricPotential ( )
virtual

◆ GetLead9ElectricPotential() [2/2]

double SEElectroCardioGram::GetLead9ElectricPotential ( const ElectricPotentialUnit unit) const
virtual

◆ GetScalar()

const SEScalar * SEElectroCardioGram::GetScalar ( const std::string &  name)
overridevirtual

Implements SESystem.

◆ GetWaveform() [1/2]

SEElectroCardioGramWaveform & SEElectroCardioGram::GetWaveform ( eElectroCardioGram_WaveformLead  lead,
eElectroCardioGram_WaveformType  type 
)
virtual

◆ GetWaveform() [2/2]

const SEElectroCardioGramWaveform * SEElectroCardioGram::GetWaveform ( eElectroCardioGram_WaveformLead  lead,
eElectroCardioGram_WaveformType  type 
) const
virtual

◆ GetWaveforms()

std::vector< SEElectroCardioGramWaveform * > & SEElectroCardioGram::GetWaveforms ( )
protectedvirtual

◆ HasLead10ElectricPotential()

bool SEElectroCardioGram::HasLead10ElectricPotential ( ) const
virtual

◆ HasLead11ElectricPotential()

bool SEElectroCardioGram::HasLead11ElectricPotential ( ) const
virtual

◆ HasLead12ElectricPotential()

bool SEElectroCardioGram::HasLead12ElectricPotential ( ) const
virtual

◆ HasLead1ElectricPotential()

bool SEElectroCardioGram::HasLead1ElectricPotential ( ) const
virtual

◆ HasLead2ElectricPotential()

bool SEElectroCardioGram::HasLead2ElectricPotential ( ) const
virtual

◆ HasLead3ElectricPotential()

bool SEElectroCardioGram::HasLead3ElectricPotential ( ) const
virtual

◆ HasLead4ElectricPotential()

bool SEElectroCardioGram::HasLead4ElectricPotential ( ) const
virtual

◆ HasLead5ElectricPotential()

bool SEElectroCardioGram::HasLead5ElectricPotential ( ) const
virtual

◆ HasLead6ElectricPotential()

bool SEElectroCardioGram::HasLead6ElectricPotential ( ) const
virtual

◆ HasLead7ElectricPotential()

bool SEElectroCardioGram::HasLead7ElectricPotential ( ) const
virtual

◆ HasLead8ElectricPotential()

bool SEElectroCardioGram::HasLead8ElectricPotential ( ) const
virtual

◆ HasLead9ElectricPotential()

bool SEElectroCardioGram::HasLead9ElectricPotential ( ) const
virtual

◆ HasWaveform()

bool SEElectroCardioGram::HasWaveform ( eElectroCardioGram_WaveformLead  lead,
eElectroCardioGram_WaveformType  type 
)
virtual

◆ HasWaveforms()

bool SEElectroCardioGram::HasWaveforms ( )
virtual

◆ PullCycleValues()

void SEElectroCardioGram::PullCycleValues ( )
virtual

◆ SerializeFromFile()

bool SEElectroCardioGram::SerializeFromFile ( const std::string &  filename)

◆ SerializeFromString()

bool SEElectroCardioGram::SerializeFromString ( const std::string &  src,
eSerializationFormat  m 
)

◆ SerializeToFile()

bool SEElectroCardioGram::SerializeToFile ( const std::string &  filename) const

◆ SerializeToString()

bool SEElectroCardioGram::SerializeToString ( std::string &  output,
eSerializationFormat  m 
) const

◆ StartNewCycle()

void SEElectroCardioGram::StartNewCycle ( eElectroCardioGram_WaveformType  t,
const SEScalarFrequency hr,
const SEScalarTime dt,
double  amplitudeModifier 
)
virtual

Friends And Related Function Documentation

◆ PBElectroCardioGram

friend class PBElectroCardioGram
friend

Member Data Documentation

◆ m_ActiveType

eElectroCardioGram_WaveformType SEElectroCardioGram::m_ActiveType
protected

◆ m_Lead10ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead10ElectricPotential
protected

◆ m_Lead11ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead11ElectricPotential
protected

◆ m_Lead12ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead12ElectricPotential
protected

◆ m_Lead1ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead1ElectricPotential
protected

◆ m_Lead2ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead2ElectricPotential
protected

◆ m_Lead3ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead3ElectricPotential
protected

◆ m_Lead4ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead4ElectricPotential
protected

◆ m_Lead5ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead5ElectricPotential
protected

◆ m_Lead6ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead6ElectricPotential
protected

◆ m_Lead7ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead7ElectricPotential
protected

◆ m_Lead8ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead8ElectricPotential
protected

◆ m_Lead9ElectricPotential

SEScalarElectricPotential* SEElectroCardioGram::m_Lead9ElectricPotential
protected

◆ m_Waveforms

std::vector<SEElectroCardioGramWaveform*> SEElectroCardioGram::m_Waveforms
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.