MedicalDevice.cpp 671 Bytes
Newer Older
fmg005's avatar
fmg005 committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "MedicalDevice.h"


// Constructor
MedicalDevice::MedicalDevice() : 
	m_rate_Hz(50.0), MAX_RATE_Hz(50.0) // Initialize member variables
{

};


// Use rate provided in config file; Default is 1 from Constructor initialization
// Engine object will be utilized here to query data
void MedicalDevice::update(std::unique_ptr<PhysiologyEngine>& engine) {

};

// Extract the rate from the configuration file
// str: path to configuration file
// Pure virtual function to be implemented in derived classes
fmg005's avatar
fmg005 committed
21
22
void
MedicalDevice::LoadConfig(std::unique_ptr<PhysiologyEngine>&, const std::shared_ptr<Config>& cf){
fmg005's avatar
fmg005 committed
23
24
25
26
27
28
29
30
31

};


// Destructor
MedicalDevice::~MedicalDevice()
{

};