-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCollectorMyImpl1.h
43 lines (35 loc) · 899 Bytes
/
CollectorMyImpl1.h
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
35
36
37
38
39
40
41
42
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: CollectorMyImpl1.h
* Author: cancian
*
* Created on 14 de Agosto de 2018, 19:43
*/
#ifndef COLLECTORMYIMPL1_H
#define COLLECTORMYIMPL1_H
#include <string>
#include "Collector_if.h"
class CollectorMyImpl1 : public Collector_if {
public:
CollectorMyImpl1();
CollectorMyImpl1(const CollectorMyImpl1& orig);
~CollectorMyImpl1();
public:
void clear();
void addValue(double value);
double value(unsigned int num);
unsigned int numElements();
public:
std::string getName();
void setName(std::string name);
std::string getDataFilename();
void setDataFilename(std::string filename);
private:
std::string _name = "";
std::string _dataFilename = "";
};
#endif /* COLLECTORMYIMPL1_H */