HiveMind
SettingsContainer.h
Go to the documentation of this file.
1 #ifndef __SETTINGSCONTAINER_H__
2 #define __SETTINGSCONTAINER_H__
3 
4 #include <cstdint>
5 #include <logger/ILogger.h>
6 #include <string>
7 
8 #define MAX_IP_LENGTH 16
9 
10 namespace SettingsContainer {
15  uint16_t getUUID();
16 
21  uint32_t getHostPort();
22 
29  uint8_t getHostIP(char* buf, uint8_t length);
30 
35 
39  uint16_t getBBZVMStepDelayMs();
40 
41 } // namespace SettingsContainer
42 
43 #endif //__SETTINGSCONTAINER_H__
LogLevel
LogLevel
The log level used for the logger.
Definition: ILogger.h:9
SettingsContainer::getBBZVMStepDelayMs
uint16_t getBBZVMStepDelayMs()
Get the delay between each steps of the vm.
Definition: SettingsContainer.cpp:53
SettingsContainer::getHostIP
uint8_t getHostIP(char *buf, uint8_t length)
Copies the host IP address into the given buffer.
Definition: SettingsContainer.cpp:26
SettingsContainer::getUUID
uint16_t getUUID()
Returns the UUID of the board.
Definition: SettingsContainer.cpp:12
SettingsContainer::getLogLevel
LogLevel getLogLevel()
Get the log level of the application.
Definition: SettingsContainer.cpp:33
SettingsContainer::getHostPort
uint32_t getHostPort()
Returns the TCP port on which the host has opened a port.
Definition: SettingsContainer.cpp:19
SettingsContainer
Definition: SettingsContainer.h:10
ILogger.h