st-anything/lib/ST_Anything/Executor.h
Gašper Dobrovoljc ec125f27db
IP Configuration
2023-03-11 15:11:03 +01:00

54 lines
1.2 KiB
C++

//******************************************************************************************
// File: Executor.h
// Authors: Dan G Ogorchock & Daniel J Ogorchock (Father and Son)
//
// Summary: st::Executor is a generic class which inherits from st::Device. This is the
// parent class for the st::EX_Switch class.
// In general, this file should not need to be modified.
//
// Change History:
//
// Date Who What
// ---- --- ----
// 2015-01-03 Dan & Daniel Original Creation
// 2019-02-09 Dan Ogorchock Added update() function
//
//
//******************************************************************************************
#ifndef ST_EXECUTOR_H
#define ST_EXECUTOR_H
#include "Device.h"
namespace st
{
class Executor: public Device
{
private:
//Inherits private members from parent st::Device class
public:
//constructor
Executor(const __FlashStringHelper *name);
//destructor
virtual ~Executor();
//initialization routine
virtual void init();
//update function
virtual void update();
//debug flag to determine if debug print statements are executed (set value in your sketch)
static bool debug;
};
}
#endif