SEEventHandler.h
1 /**************************************************************************************
2 Copyright 2015 Applied Research Associates, Inc.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the License
5 at:
6 http://www.apache.org/licenses/LICENSE-2.0
7 Unless required by applicable law or agreed to in writing, software distributed under
8 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
9 CONDITIONS OF ANY KIND, either express or implied. See the License for the
10 specific language governing permissions and limitations under the License.
11 **************************************************************************************/
12 
13 #pragma once
14 #include <biogears/exports.h>
15 
16 #include <biogears/schema/cdm/Patient.hxx>
17 #include <biogears/schema/cdm/Anesthesia.hxx>
18 #include <biogears/cdm/utils/Logger.h>
19 
21 
22 namespace biogears {
23 class BIOGEARS_API SEEventHandler {
24 public:
25  SEEventHandler() = default;
26  virtual ~SEEventHandler() = default;
27 
28  virtual void HandlePatientEvent(CDM::enumPatientEvent::value type, bool active, const SEScalarTime* time = nullptr) = 0;
29  virtual void HandleAnesthesiaMachineEvent(CDM::enumAnesthesiaMachineEvent::value type, bool active, const SEScalarTime* time = nullptr) = 0;
30 };
31 }
value
Underlying enum type.
Definition: Anesthesia.hxx:699
C++ namespace for the uri:/mil/tatrc/physiology/datamodel schema namespace.
Definition: BioGears.cxx:49
value
Underlying enum type.
Definition: Patient.hxx:1004
Definition: SEScalarTime.h:37
Definition: SEElectricalCircuit.h:18
Definition: SEEventHandler.h:23