SEAnesthesiaMachineAction.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 #pragma once
13 #include <biogears/cdm/scenario/SEAction.h>
14 #include <biogears/schema/cdm/AnesthesiaActions.hxx>
15 
16 namespace biogears {
17 class BIOGEARS_API SEAnesthesiaMachineAction : public SEAction {
18 public:
20  virtual ~SEAnesthesiaMachineAction();
21 
22  virtual void Clear();
23 
24  virtual bool IsValid() const;
25 
26  virtual bool Load(const CDM::AnesthesiaMachineActionData& in);
27  virtual CDM::AnesthesiaMachineActionData* Unload() const;
28 
29 protected:
30  virtual void Unload(CDM::AnesthesiaMachineActionData& data) const;
31 
32 public:
33  virtual void ToString(std::ostream& str) const = 0;
34 };
35 }
Definition: SEAction.h:22
Class corresponding to the AnesthesiaMachineActionData schema type.
Definition: AnesthesiaActions.hxx:697
Definition: SEAnesthesiaMachineAction.h:17
Definition: SEElectricalCircuit.h:18