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
3
ModuleHandler::Module::Module
(
void
) {}
4
5
ModuleHandler::Module::~Module
(
void
) {}
6
7
void
ModuleHandler::Module::Reset
(
void
) { this->
state
= 0; }
8
9
int
ModuleHandler::Module::State
(
void
) {
return
this->
state
; }
10
11
int
ModuleHandler::Module::Type
() {
return
type; }
ModuleHandler::Module::Type
int Type()
Get the message type associated with the module.
Definition
template_module.cpp:11
ModuleHandler::Module::~Module
~Module(void)
Destroy the Module object.
Definition
template_module.cpp:5
ModuleHandler::Module::Reset
void Reset(void)
Resets the module to default state.
Definition
template_module.cpp:7
ModuleHandler::Module::Module
Module(void)
Construct a new Module object.
Definition
template_module.cpp:3
ModuleHandler::Module::State
int State(void)
Get the current state of the module.
Definition
template_module.cpp:9
template_module.hpp
state
UserConfigState state
Definition
user_config.cc:11
embedded
esp32
lib
module_handler
src
template_module.cpp
Generated by
1.9.8