SEUseInhaler.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/SEConsciousRespirationCommand.h"
6class SESubstance;
7
9{
10 friend class PBPatientAction;//friend the serialization class
12 SEUseInhaler(Logger* logger);
13public:
14 virtual ~SEUseInhaler();
15
16 static constexpr char const* Name = "Use Inhaler";
17 std::string GetName() const override { return Name; }
18
19 void Clear() override;
20 virtual void Copy(const SEUseInhaler& src);
21
22 bool IsValid() const override;
23 bool IsActive() const override;
24};
Definition: Logger.h:71
Definition: PBPatientActions.h:52
Definition: SEConsciousRespirationCommand.h:8
virtual bool IsActive() const
Definition: SEConsciousRespirationCommand.cpp:27
virtual bool IsValid() const
Definition: SEConsciousRespirationCommand.cpp:22
virtual void Clear()
Definition: SEConsciousRespirationCommand.cpp:17
Definition: SEConsciousRespiration.h:13
static constexpr char const * Name
Definition: SEConsciousRespiration.h:20
void Copy(const SEConsciousRespiration &src, bool=false)
Definition: SEConsciousRespiration.cpp:31
Definition: SESubstance.h:15
Definition: SEUseInhaler.h:9
std::string GetName() const override
Definition: SEUseInhaler.h:17

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.