forked from DanielOgorchock/ST_Anything
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSensor.cpp
More file actions
46 lines (36 loc) · 1.06 KB
/
Sensor.cpp
File metadata and controls
46 lines (36 loc) · 1.06 KB
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
43
44
45
46
//******************************************************************************************
// File: Sensor.cpp
// Authors: Dan G Ogorchock & Daniel J Ogorchock (Father and Son)
//
// Summary: st::Sensor is a generic class which inherits from st::Device. This is the
// parent class for the st::PollingSensor and st::InterruptSensor classes.
// In general, this file should not need to be modified.
//
// Change History:
//
// Date Who What
// ---- --- ----
// 2015-01-03 Dan & Daniel Original Creation
//
//
//******************************************************************************************
#include "Sensor.h"
#include "Constants.h"
namespace st
{
//private
//public
//constructor
Sensor::Sensor(const __FlashStringHelper *name):
Device(name)
{
}
//destructor
Sensor::~Sensor()
{
}
void Sensor::beSmart(const String &str)
{
//Each derived class should implement this if they are interfacing with SmartThings over the internet.
}
}