SEPatientAction.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/engine/SEAction.h"
6
7class CDM_DECL SEPatientAction : public SEAction
8{
9 friend class PBPatientAction;//friend the serialization class
10public:
11
12 SEPatientAction(Logger* logger=nullptr);
13 virtual ~SEPatientAction();
14
15 static constexpr char const* ActionType = "Patient";
16 std::string GetActionType() const override { return ActionType; }
17
18 void Clear() override { SEAction::Clear(); }
19 bool IsValid() const override { return SEAction::IsValid(); }
20
21 void Activate() override { SEAction::Activate(); }
22 bool IsActive() const override { return SEAction::IsActive(); }
23 void Deactivate() override { SEAction::Deactivate(); }
24};
Definition: Logger.h:71
Definition: PBPatientActions.h:52
Definition: SEAction.h:14
virtual void Activate()
Definition: SEAction.h:39
virtual bool IsValid() const
Definition: SEAction.h:35
virtual bool IsActive() const
Definition: SEAction.h:40
static constexpr char const * ActionType
Definition: SEAction.h:25
virtual void Clear()
Definition: SEAction.cpp:21
virtual void Deactivate()
Definition: SEAction.h:41
Definition: SEPatientAction.h:8
void Deactivate() override
Definition: SEPatientAction.h:23
std::string GetActionType() const override
Definition: SEPatientAction.h:16
void Clear() override
Definition: SEPatientAction.h:18
void Activate() override
Definition: SEPatientAction.h:21
bool IsValid() const override
Definition: SEPatientAction.h:19
bool IsActive() const override
Definition: SEPatientAction.h:22

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.