SEElectroCardioGramInterpolatorWaveform.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 #include <biogears/schema/CommonDataModel.hxx>
16 #include <biogears/schema/biogears/BioGearsPhysiology.hxx>
17 
18 CDM_BIND_DECL(ElectroCardioGramInterpolationWaveformData)
19 
20 namespace biogears {
22 public:
25 
26  virtual void Clear(); // Deletes all members
27 
28  virtual bool Load(const CDM::ElectroCardioGramInterpolationWaveformData& in);
30 
31 protected:
32  virtual void Unload(CDM::ElectroCardioGramInterpolationWaveformData& data) const;
33 
34 public:
35  virtual bool HasLeadNumber() const;
36  virtual CDM::ElectroCardioGramWaveformLeadNumber GetLeadNumber() const;
37  virtual void SetLeadNumber(CDM::ElectroCardioGramWaveformLeadNumber n);
38  virtual void InvalidateLeadNumber();
39 
40  virtual CDM::enumHeartRhythm::value GetRhythm() const;
41  virtual void SetRhythm(CDM::enumHeartRhythm::value name);
42  virtual bool HasRhythm() const;
43  virtual void InvalidateRhythm();
44 
45  virtual bool HasData() const;
46  virtual SEFunctionElectricPotentialVsTime& GetData();
47  virtual const SEFunctionElectricPotentialVsTime* GetData() const;
48 
49  virtual bool HasTimeStep() const;
50  virtual SEScalarTime& GetTimeStep();
51  virtual double GetTimeStep(const TimeUnit& unit) const;
52 
53  virtual std::vector<unsigned int>& GetActiveIndicies() { return m_ActiveIndicies; }
54 
55 protected:
60  std::vector<unsigned int> m_ActiveIndicies;
61 };
62 }
std::vector< unsigned int > m_ActiveIndicies
Definition: SEElectroCardioGramInterpolatorWaveform.h:60
Definition: SEFunctionElectricPotentialVsTime.h:21
Class corresponding to the ElectroCardioGramInterpolationWaveformData schema type.
Definition: ElectroCardioGram.hxx:1804
SEFunctionElectricPotentialVsTime * m_Data
Definition: SEElectroCardioGramInterpolatorWaveform.h:59
SEScalarTime * m_TimeStep
Definition: SEElectroCardioGramInterpolatorWaveform.h:58
CDM::ElectroCardioGramWaveformLeadNumber m_LeadNumber
Definition: SEElectroCardioGramInterpolatorWaveform.h:56
value
Underlying enum type.
Definition: Physiology.hxx:5643
Definition: Logger.h:27
Definition: Logger.h:75
Definition: SEScalarTime.h:37
Definition: SEScalarTime.h:18
Class corresponding to the ElectroCardioGramWaveformLeadNumber schema type.
Definition: ElectroCardioGram.hxx:1702
CDM::enumHeartRhythm::value m_Rhythm
Definition: SEElectroCardioGramInterpolatorWaveform.h:57
virtual std::vector< unsigned int > & GetActiveIndicies()
Definition: SEElectroCardioGramInterpolatorWaveform.h:53
Definition: SEElectricalCircuit.h:18
Definition: SEElectroCardioGramInterpolatorWaveform.h:21