ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
template_module.cpp
Go to the documentation of this file.
1#include "template_module.hpp"
2
4
6
7void ModuleHandler::Module::Reset(void) { this->state = 0; }
8
9int ModuleHandler::Module::State(void) { return this->state; }
10
11int ModuleHandler::Module::Type() { return type; }
int Type()
Get the message type associated with the module.
~Module(void)
Destroy the Module object.
void Reset(void)
Resets the module to default state.
Module(void)
Construct a new Module object.
int State(void)
Get the current state of the module.
UserConfigState state