Midnight Sun Firmware
Loading...
Searching...
No Matches
app.h
1
#pragma once
2
3
/************************************************************************************************
4
* @file app.h
5
*
6
* @brief Header file defining the Application for the server
7
*
8
* @date 2025-01-04
9
* @author Aryan Kashem
10
************************************************************************************************/
11
12
/* Standard library Headers */
13
#include <string>
14
15
/* Inter-component Headers */
16
#include "json_manager.h"
17
18
/* Intra-component Headers */
19
#include "can_listener.h"
20
#include "can_scheduler.h"
21
#include "gpio_manager.h"
22
29
#ifndef USE_NETWORK_TIME_PROTOCOL
31
#define USE_NETWORK_TIME_PROTOCOL 0U
32
#endif
33
34
extern
JSONManager
serverJSONManager
;
35
extern
GpioManager
serverGpioManager
;
36
extern
CanListener
serverCanListener
;
37
extern
CanScheduler
serverCanScheduler
;
CanListener
Class that handles message listening over a SocketCAN interface.
Definition:
can_listener.h:46
CanScheduler
Class that handles message scheduling over a SocketCAN interface.
Definition:
can_scheduler.h:44
GpioManager
Class that manages receiving and transmitting Gpio commands and JSON logging.
Definition:
gpio_manager.h:36
JSONManager
Class for managing JSON Files.
Definition:
json_manager.h:38
serverCanScheduler
CanScheduler serverCanScheduler
Definition:
main.cc:31
serverJSONManager
JSONManager serverJSONManager
Definition:
main.cc:28
serverGpioManager
GpioManager serverGpioManager
Definition:
main.cc:29
serverCanListener
CanListener serverCanListener
Definition:
main.cc:30
simulation
server
app
inc
app.h
Generated by
1.9.5