copmment block for fw class ids

This commit is contained in:
Robin Müller 2021-05-18 11:36:36 +02:00
parent 94062c67d3
commit 6db2efc20d
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -1,72 +1,77 @@
#ifndef FSFW_RETURNVALUES_FWCLASSIDS_H_
#define FSFW_RETURNVALUES_FWCLASSIDS_H_
#include <cstdint>
// The comment block at the end is used by the returnvalue exporter.
// It is recommended to add it as well for mission returnvalues
namespace CLASS_ID {
enum {
OPERATING_SYSTEM_ABSTRACTION = 1, //OS
OBJECT_MANAGER_IF, //OM
DEVICE_HANDLER_BASE, //DHB
RMAP_CHANNEL, //RMP
POWER_SWITCH_IF, //PS
HAS_MEMORY_IF, //PP
DEVICE_STATE_MACHINE_BASE, //DSMB
DATA_SET_CLASS, //DPS
POOL_RAW_ACCESS_CLASS, //DPR
CONTROLLER_BASE, //CTR
SUBSYSTEM_BASE, //SB
MODE_STORE_IF, //MS
SUBSYSTEM, //SS
HAS_MODES_IF, //HM
COMMAND_MESSAGE, //CM
CCSDS_TIME_HELPER_CLASS, //TIM
ARRAY_LIST, //AL
ASSEMBLY_BASE, //AB
MEMORY_HELPER, //MH
SERIALIZE_IF, //SE
FIXED_MAP, //FM
FIXED_MULTIMAP, //FMM
HAS_HEALTH_IF, //HHI
FIFO_CLASS, //FF
MESSAGE_PROXY, //MQP
TRIPLE_REDUNDACY_CHECK, //TRC
TC_PACKET_CHECK, //TCC
PACKET_DISTRIBUTION, //TCD
ACCEPTS_TELECOMMANDS_IF, //PUS
DEVICE_SERVICE_BASE, //DSB
COMMAND_SERVICE_BASE, //CSB
TM_STORE_BACKEND_IF, //TMB
TM_STORE_FRONTEND_IF, //TMF
STORAGE_AND_RETRIEVAL_SERVICE, //SR
MATCH_TREE_CLASS, //MT
EVENT_MANAGER_IF, //EV
HANDLES_FAILURES_IF, //FDI
DEVICE_HANDLER_IF, //DHI
STORAGE_MANAGER_IF, //SM
THERMAL_COMPONENT_IF, //TC
INTERNAL_ERROR_CODES, //IEC
TRAP, //TRP
CCSDS_HANDLER_IF, //CCS
PARAMETER_WRAPPER, //PAW
HAS_PARAMETERS_IF, //HPA
ASCII_CONVERTER, //ASC
POWER_SWITCHER, //POS
LIMITS_IF, //LIM
COMMANDS_ACTIONS_IF, //CF
HAS_ACTIONS_IF, //HF
DEVICE_COMMUNICATION_IF, //DC
BSP, //BSP
TIME_STAMPER_IF, //TSI 53
SGP4PROPAGATOR_CLASS, //SGP4 54
MUTEX_IF, //MUX 55
MESSAGE_QUEUE_IF,//MQI 56
SEMAPHORE_IF, //SPH 57
LOCAL_POOL_OWNER_IF, //LPIF 58
POOL_VARIABLE_IF, //PVA 59
HOUSEKEEPING_MANAGER, //HKM 60
DLE_ENCODER, //DLEE 61
PUS_SERVICE_9, //PUS9 62
FILE_SYSTEM, //FILS 63
FW_CLASS_ID_COUNT //is actually count + 1 !
enum: uint8_t {
OPERATING_SYSTEM_ABSTRACTION = 1, //OS
OBJECT_MANAGER_IF, //OM
DEVICE_HANDLER_BASE, //DHB
RMAP_CHANNEL, //RMP
POWER_SWITCH_IF, //PS
HAS_MEMORY_IF, //PP
DEVICE_STATE_MACHINE_BASE, //DSMB
DATA_SET_CLASS, //DPS
POOL_RAW_ACCESS_CLASS, //DPR
CONTROLLER_BASE, //CTR
SUBSYSTEM_BASE, //SB
MODE_STORE_IF, //MS
SUBSYSTEM, //SS
HAS_MODES_IF, //HM
COMMAND_MESSAGE, //CM
CCSDS_TIME_HELPER_CLASS, //TIM
ARRAY_LIST, //AL
ASSEMBLY_BASE, //AB
MEMORY_HELPER, //MH
SERIALIZE_IF, //SE
FIXED_MAP, //FM
FIXED_MULTIMAP, //FMM
HAS_HEALTH_IF, //HHI
FIFO_CLASS, //FF
MESSAGE_PROXY, //MQP
TRIPLE_REDUNDACY_CHECK, //TRC
TC_PACKET_CHECK, //TCC
PACKET_DISTRIBUTION, //TCD
ACCEPTS_TELECOMMANDS_IF, //PUS
DEVICE_SERVICE_BASE, //DSB
COMMAND_SERVICE_BASE, //CSB
TM_STORE_BACKEND_IF, //TMB
TM_STORE_FRONTEND_IF, //TMF
STORAGE_AND_RETRIEVAL_SERVICE, //SR
MATCH_TREE_CLASS, //MT
EVENT_MANAGER_IF, //EV
HANDLES_FAILURES_IF, //FDI
DEVICE_HANDLER_IF, //DHI
STORAGE_MANAGER_IF, //SM
THERMAL_COMPONENT_IF, //TC
INTERNAL_ERROR_CODES, //IEC
TRAP, //TRP
CCSDS_HANDLER_IF, //CCS
PARAMETER_WRAPPER, //PAW
HAS_PARAMETERS_IF, //HPA
ASCII_CONVERTER, //ASC
POWER_SWITCHER, //POS
LIMITS_IF, //LIM
COMMANDS_ACTIONS_IF, //CF
HAS_ACTIONS_IF, //HF
DEVICE_COMMUNICATION_IF, //DC
BSP, //BSP
TIME_STAMPER_IF, //TSI
SGP4PROPAGATOR_CLASS, //SGP4
MUTEX_IF, //MUX
MESSAGE_QUEUE_IF,//MQI
SEMAPHORE_IF, //SPH
LOCAL_POOL_OWNER_IF, //LPIF
POOL_VARIABLE_IF, //PVA
HOUSEKEEPING_MANAGER, //HKM
DLE_ENCODER, //DLEE
PUS_SERVICE_3, //PUS3
PUS_SERVICE_9, //PUS9
FILE_SYSTEM, //FILS
FW_CLASS_ID_COUNT //is actually count + 1 !
};
}