Robin Mueller
4257e1d918
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
42 lines
2.0 KiB
C++
42 lines
2.0 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: Start time as UNIX seconds. P2: End time as UNIX seconds.
|
|
static constexpr Event DUMP_OK_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 3, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Start time as UNIX seconds. P2: End time as UNIX seconds.
|
|
static constexpr Event DUMP_NOK_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 4, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Start time as UNIX seconds. P2: End time as UNIX seconds.
|
|
static constexpr Event DUMP_MISC_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 5, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Start time as UNIX seconds. P2: End time as UNIX seconds.
|
|
static constexpr Event DUMP_HK_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 6, severity::INFO);
|
|
//! [EXPORT] : [COMMENT] P1: Start time as UNIX seconds. P2: End time as UNIX seconds.
|
|
static constexpr Event DUMP_CFDP_STORE_DONE = event::makeEvent(SUBSYSTEM_ID, 7, severity::INFO);
|
|
}; // namespace persTmStore
|
|
|
|
#endif /* MISSION_PERSISTENTTMSTOREDEFS_H_ */
|