#ifndef MISSION_TMTC_TMSTOREBACKEND_H_ #define MISSION_TMTC_TMSTOREBACKEND_H_ #include #include #include #include #include struct PacketFilter { std::optional apid; std::optional service; std::optional> serviceSubservice; }; class TmStore : public SystemObject { public: TmStore(object_id_t objectId, SdCardMountedIF& sdcMan); ReturnValue_t passPacket(PusTmReader& reader); private: /** * To get the queue where commands shall be sent. * @return Id of command queue. */ MessageQueueId_t getCommandQueue(); SdCardMountedIF& sdcMan; std::vector apidToStore; std::vector servicesToStore; std::vector> serviceSubserviceCombinationToStore; }; #endif /* MISSION_TMTC_TMSTOREBACKEND_H_ */