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