start groundwork for new TM downlink arch
This commit is contained in:
18
mission/tmtc/TmStoreRouter.h
Normal file
18
mission/tmtc/TmStoreRouter.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef MISSION_TMTC_PUSTMROUTER_H_
|
||||
#define MISSION_TMTC_PUSTMROUTER_H_
|
||||
|
||||
#include <fsfw/ipc/messageQueueDefinitions.h>
|
||||
#include <mission/tmtc/PusPacketFilter.h>
|
||||
|
||||
class PersistentTmStoreRouter {
|
||||
public:
|
||||
PersistentTmStoreRouter();
|
||||
|
||||
bool packetMatches(PusTmReader& reader, MessageQueueId_t& destination);
|
||||
void addRouting(PusPacketFilter filter, MessageQueueId_t destination);
|
||||
|
||||
private:
|
||||
std::vector<std::pair<PusPacketFilter, MessageQueueId_t>> routerMap;
|
||||
};
|
||||
|
||||
#endif /* MISSION_TMTC_PUSTMROUTER_H_ */
|
Reference in New Issue
Block a user