Robin Mueller
33babebb6f
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
53 lines
2.8 KiB
C++
53 lines
2.8 KiB
C++
#ifndef MISSION_PERSISTENTTMSTOREDEFS_H_
|
|
#define MISSION_PERSISTENTTMSTOREDEFS_H_
|
|
|
|
#include <mission/tmtc/PersistentTmStoreWithTmQueue.h>
|
|
|
|
#include "eive/eventSubsystemIds.h"
|
|
|
|
namespace persTmStore {
|
|
|
|
struct PersistentTmStores {
|
|
PersistentTmStoreWithTmQueue* okStore;
|
|
PersistentTmStoreWithTmQueue* notOkStore;
|
|
PersistentTmStoreWithTmQueue* miscStore;
|
|
PersistentTmStoreWithTmQueue* hkStore;
|
|
PersistentTmStoreWithTmQueue* cfdpStore;
|
|
};
|
|
|
|
static constexpr uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::PERSISTENT_TM_STORE;
|
|
|
|
//! [EXPORT] : [COMMENT]
|
|
//! P1: Result code of TM packet parser.
|
|
//! P2: Timestamp of possibly corrupt file as a unix timestamp.
|
|
static constexpr Event POSSIBLE_FILE_CORRUPTION = event::makeEvent(SUBSYSTEM_ID, 0, severity::LOW);
|
|
//! [EXPORT] : [COMMENT] File in store too large. P1: Detected file size
|
|
//! P2: Allowed file size
|
|
static constexpr Event FILE_TOO_LARGE = event::makeEvent(SUBSYSTEM_ID, 1, severity::LOW);
|
|
static constexpr Event BUSY_DUMPING_EVENT = event::makeEvent(SUBSYSTEM_ID, 2, severity::INFO);
|
|
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_OK_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 5, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_NOK_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 6, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_MISC_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 7, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_HK_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 8, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_CFDP_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 9, severity::INFO);
|
|
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_OK_CANCELLED = event::makeEvent(SUBSYSTEM_ID, 10, severity::LOW);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_NOK_CANCELLED = event::makeEvent(SUBSYSTEM_ID, 11, severity::LOW);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_MISC_CANCELLED = event::makeEvent(SUBSYSTEM_ID, 12, severity::LOW);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_HK_CANCELLED = event::makeEvent(SUBSYSTEM_ID, 13, severity::LOW);
|
|
//! [EXPORT] : [COMMENT] P1: Number of dumped packets. P2: Total dumped bytes.
|
|
static constexpr Event DUMP_CFDP_CANCELLED = event::makeEvent(SUBSYSTEM_ID, 14, severity::LOW);
|
|
}; // namespace persTmStore
|
|
|
|
#endif /* MISSION_PERSISTENTTMSTOREDEFS_H_ */
|