type adaptive remote variable
This commit is contained in:
parent
57dfa30cf0
commit
1b9163d468
2 changed files with 82 additions and 1 deletions
|
@ -20,6 +20,12 @@ class RemoteVariable
|
|||
void subscribe();
|
||||
void requestValue();
|
||||
char* getValue();
|
||||
int getValueAsInt();
|
||||
long getValueAsLong();
|
||||
double getValueAsDouble();
|
||||
void setIntValue(int value);
|
||||
void setLongValue(long value);
|
||||
void setDoubleValue(double value);
|
||||
uint8_t registerCallback(std::function<void(char*)>);
|
||||
void unregisterCallback(uint8_t handler);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue