#include <SEForcedPause.h>

Inherits SEConsciousRespirationCommand.

Public Member Functions

virtual ~SEForcedPause ()
 
std::string GetName () const override
 
void Clear () override
 
void Copy (const SEForcedPause &src)
 
bool IsValid () const override
 
bool IsActive () const override
 
virtual bool HasPeriod () const
 
virtual SEScalarTimeGetPeriod ()
 
virtual double GetPeriod (const TimeUnit &unit) const
 
- Public Member Functions inherited from SEConsciousRespirationCommand
 SEConsciousRespirationCommand (Logger *logger)
 
virtual ~SEConsciousRespirationCommand ()
 
virtual std::string GetActionType () const
 
virtual std::string GetName () const =0
 
virtual void Clear ()
 
virtual bool IsValid () const
 
virtual bool IsActive () const
 
virtual std::string GetComment () const
 
virtual void SetComment (const std::string &comment)
 
virtual bool HasComment () const
 
virtual void InvalidateComment ()
 
- 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
 

Static Public Attributes

static constexpr char const * Name = "Forced Pause"
 
- Static Public Attributes inherited from SEConsciousRespirationCommand
static constexpr char const * ActionType = "Conscious Respiration Command"
 

Protected Attributes

SEScalarTimem_Period
 
- Protected Attributes inherited from SEConsciousRespirationCommand
std::string m_Comment
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Private Member Functions

 SEForcedPause (Logger *logger)
 

Friends

class PBPatientAction
 
class SEConsciousRespiration
 

Constructor & Destructor Documentation

◆ SEForcedPause()

SEForcedPause::SEForcedPause ( Logger logger)
private

◆ ~SEForcedPause()

SEForcedPause::~SEForcedPause ( )
virtual

Member Function Documentation

◆ Clear()

void SEForcedPause::Clear ( )
overridevirtual

Reimplemented from SEConsciousRespirationCommand.

◆ Copy()

void SEForcedPause::Copy ( const SEForcedPause src)

◆ GetName()

std::string SEForcedPause::GetName ( ) const
inlineoverridevirtual

◆ GetPeriod() [1/2]

SEScalarTime & SEForcedPause::GetPeriod ( )
virtual

◆ GetPeriod() [2/2]

double SEForcedPause::GetPeriod ( const TimeUnit unit) const
virtual

◆ HasPeriod()

bool SEForcedPause::HasPeriod ( ) const
virtual

◆ IsActive()

bool SEForcedPause::IsActive ( ) const
overridevirtual

Reimplemented from SEConsciousRespirationCommand.

◆ IsValid()

bool SEForcedPause::IsValid ( ) const
overridevirtual

Reimplemented from SEConsciousRespirationCommand.

Friends And Related Function Documentation

◆ PBPatientAction

friend class PBPatientAction
friend

◆ SEConsciousRespiration

friend class SEConsciousRespiration
friend

Member Data Documentation

◆ m_Period

SEScalarTime* SEForcedPause::m_Period
protected

◆ Name

constexpr char const* SEForcedPause::Name = "Forced Pause"
staticconstexpr

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.