SEElectroCardioGramWaveform Class Reference

#include <SEElectroCardioGramWaveform.h>

Inherits Loggable.

Public Member Functions

 SEElectroCardioGramWaveform (Logger *logger)
 
virtual ~SEElectroCardioGramWaveform ()
 
virtual void Clear ()
 
virtual bool HasLeadNumber () const
 
virtual eElectroCardioGram_WaveformLead GetLeadNumber () const
 
virtual void SetLeadNumber (eElectroCardioGram_WaveformLead n)
 
virtual void InvalidateLeadNumber ()
 
virtual eElectroCardioGram_WaveformType GetType () const
 
virtual void SetType (eElectroCardioGram_WaveformType t)
 
virtual bool HasOriginalData () const
 
virtual SEArrayElectricPotentialGetOriginalData ()
 
virtual const SEArrayElectricPotentialGetOriginalData () const
 
virtual bool HasActiveCycle () const
 
virtual SEArrayElectricPotentialGetActiveCycle ()
 
virtual const SEArrayElectricPotentialGetActiveCycle () const
 
virtual void GenerateActiveCycle (const SEScalarFrequency &hr, const SEScalarTime &step, double amplitudeModifier)
 
virtual size_t GetActiveIndex ()
 
virtual void SetActiveIndex (size_t idx)
 
virtual void GetCycleValue (SEScalarElectricPotential &v, bool advance)
 
- 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 Attributes

eElectroCardioGram_WaveformLead m_LeadNumber
 
eElectroCardioGram_WaveformType m_Type
 
SEArrayElectricPotentialm_OriginalData
 
SEArrayElectricPotentialm_ActiveCycle
 
size_t m_ActiveIndex
 
bool m_Recycling
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBElectroCardioGram
 

Constructor & Destructor Documentation

◆ SEElectroCardioGramWaveform()

SEElectroCardioGramWaveform::SEElectroCardioGramWaveform ( Logger logger)

◆ ~SEElectroCardioGramWaveform()

SEElectroCardioGramWaveform::~SEElectroCardioGramWaveform ( )
virtual

Member Function Documentation

◆ Clear()

void SEElectroCardioGramWaveform::Clear ( )
virtual

◆ GenerateActiveCycle()

void SEElectroCardioGramWaveform::GenerateActiveCycle ( const SEScalarFrequency hr,
const SEScalarTime step,
double  amplitudeModifier 
)
virtual

◆ GetActiveCycle() [1/2]

SEArrayElectricPotential & SEElectroCardioGramWaveform::GetActiveCycle ( )
virtual

◆ GetActiveCycle() [2/2]

const SEArrayElectricPotential * SEElectroCardioGramWaveform::GetActiveCycle ( ) const
virtual

◆ GetActiveIndex()

virtual size_t SEElectroCardioGramWaveform::GetActiveIndex ( )
inlinevirtual

◆ GetCycleValue()

void SEElectroCardioGramWaveform::GetCycleValue ( SEScalarElectricPotential v,
bool  advance 
)
virtual

◆ GetLeadNumber()

eElectroCardioGram_WaveformLead SEElectroCardioGramWaveform::GetLeadNumber ( ) const
virtual

◆ GetOriginalData() [1/2]

SEArrayElectricPotential & SEElectroCardioGramWaveform::GetOriginalData ( )
virtual

◆ GetOriginalData() [2/2]

const SEArrayElectricPotential * SEElectroCardioGramWaveform::GetOriginalData ( ) const
virtual

◆ GetType()

eElectroCardioGram_WaveformType SEElectroCardioGramWaveform::GetType ( ) const
virtual

◆ HasActiveCycle()

bool SEElectroCardioGramWaveform::HasActiveCycle ( ) const
virtual

◆ HasLeadNumber()

bool SEElectroCardioGramWaveform::HasLeadNumber ( ) const
virtual

◆ HasOriginalData()

bool SEElectroCardioGramWaveform::HasOriginalData ( ) const
virtual

◆ InvalidateLeadNumber()

void SEElectroCardioGramWaveform::InvalidateLeadNumber ( )
virtual

◆ SetActiveIndex()

virtual void SEElectroCardioGramWaveform::SetActiveIndex ( size_t  idx)
inlinevirtual

◆ SetLeadNumber()

void SEElectroCardioGramWaveform::SetLeadNumber ( eElectroCardioGram_WaveformLead  n)
virtual

◆ SetType()

void SEElectroCardioGramWaveform::SetType ( eElectroCardioGram_WaveformType  t)
virtual

Friends And Related Function Documentation

◆ PBElectroCardioGram

friend class PBElectroCardioGram
friend

Member Data Documentation

◆ m_ActiveCycle

SEArrayElectricPotential* SEElectroCardioGramWaveform::m_ActiveCycle
protected

◆ m_ActiveIndex

size_t SEElectroCardioGramWaveform::m_ActiveIndex
protected

◆ m_LeadNumber

eElectroCardioGram_WaveformLead SEElectroCardioGramWaveform::m_LeadNumber
protected

◆ m_OriginalData

SEArrayElectricPotential* SEElectroCardioGramWaveform::m_OriginalData
protected

◆ m_Recycling

bool SEElectroCardioGramWaveform::m_Recycling
protected

◆ m_Type

eElectroCardioGram_WaveformType SEElectroCardioGramWaveform::m_Type
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.