pfodParser
3.61.0
The pfodParser library is handles commands sent from the Android pfodApp, pfodApp supports WiFi, BLE, Bluetooth and SMS connections
pfodControl.h
Go to the documentation of this file.
1
#ifndef pfodControl_h
2
#define pfodControl_h
3
/*
4
* (c)2014-2017 Forward Computing and Control Pty. Ltd.
5
* NSW Australia, www.forward.com.au
6
* This code is not warranted to be fit for any purpose. You may only use it at your own risk.
7
* This code may be freely used for both private and commercial use
8
* Provide this copyright is maintained.
9
*/
10
11
#include "
pfodDwgs.h
"
12
13
class
pfodControl
{
14
15
public
:
16
pfodControl
(
pfodDwgs
*_dwgsPtr);
17
18
// every subclass must define these two methods
19
virtual
void
draw
() = 0;
20
virtual
void
update
() = 0;
21
//========================================
22
23
void
setValue
(
int
newValue);
24
int
getValue
();
25
26
void
setLabel
(
const
__FlashStringHelper *_label);
27
28
protected
:
29
pfodDwgs
*
dwgsPtr
;
30
const
__FlashStringHelper *
label
;
31
int
value
;
32
};
33
#endif
//pfodControl_h
pfodControl
Definition:
pfodControl.h:13
pfodControl::setLabel
void setLabel(const __FlashStringHelper *_label)
pfodControl::label
const __FlashStringHelper * label
Definition:
pfodControl.h:30
pfodControl::dwgsPtr
pfodDwgs * dwgsPtr
Definition:
pfodControl.h:29
pfodControl::setValue
void setValue(int newValue)
pfodControl::value
int value
Definition:
pfodControl.h:31
pfodControl::pfodControl
pfodControl(pfodDwgs *_dwgsPtr)
pfodControl::update
virtual void update()=0
pfodControl::draw
virtual void draw()=0
pfodControl::getValue
int getValue()
pfodDwgs
Definition:
pfodDwgs.h:30
pfodDwgs.h
Arduino
pfodParser
src
pfodControl.h
Generated by
1.9.1