SEConsciousRespirationCommand.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/patient/actions/SEPatientAction.h"
6
8{
9 friend class PBPatientAction;//friend the serialization class
10public:
11
14
15 static constexpr char const* ActionType = "Conscious Respiration Command";
16 virtual std::string GetActionType() const { return ActionType; }
17
18 virtual std::string GetName() const = 0;
19
20 virtual void Clear(); //clear memory
21
22 virtual bool IsValid() const;
23 virtual bool IsActive() const;
24
25 virtual std::string GetComment() const;
26 virtual void SetComment(const std::string& comment);
27 virtual bool HasComment() const;
28 virtual void InvalidateComment();
29
30protected:
31
32 std::string m_Comment;
33};
Definition: Logger.h:23
Definition: Logger.h:71
Definition: PBPatientActions.h:52
Definition: SEConsciousRespirationCommand.h:8
virtual std::string GetName() const =0
virtual std::string GetActionType() const
Definition: SEConsciousRespirationCommand.h:16
std::string m_Comment
Definition: SEConsciousRespirationCommand.h:32

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.