st-anything/lib/ST_Anything/Sensor.cpp

46 lines
1.0 KiB
C++
Raw Normal View History

2023-03-11 14:11:03 +00:00
//******************************************************************************************
// 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.
}
}