-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStims.hpp
34 lines (28 loc) · 829 Bytes
/
Stims.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
// Stims.hpp
// FinalProject
//
// Created by Mithilan Sivanesan on 2016-11-15.
// Copyright © 2016 Mithilan Sivanesan. All rights reserved.
//
#ifndef Stims_hpp
#define Stims_hpp
#include "Stimulation.h"
namespace termproject{
enum location{abs,front,back,traps};
class Stims:public Stimulation{
location Location;
unsigned intensity;
unsigned frequency;
unsigned duration;
void setLocation(const location);
void setIntensity(const unsigned );
public:
Stims(std::string, location l, unsigned i,unsigned f, unsigned d);
Stims(std::ifstream&);
Stims* clone()const{return new Stims(*this);};
std::ostream& display(std::ostream&)const;
location strLocEnum(std::string);
};
}
#endif /* Stims_hpp */