23 lines
606 B
C
23 lines
606 B
C
|
#ifndef MISSION_TMTC_TMSTORETASKBASE_H_
|
||
|
#define MISSION_TMTC_TMSTORETASKBASE_H_
|
||
|
|
||
|
#include <mission/tmtc/PersistentTmStoreWithTmQueue.h>
|
||
|
#include <mission/tmtc/VirtualChannel.h>
|
||
|
|
||
|
class TmStoreTaskBase : public SystemObject {
|
||
|
public:
|
||
|
TmStoreTaskBase(object_id_t objectId, StorageManagerIF& ipcStore, VirtualChannel& channel);
|
||
|
/**
|
||
|
* Handling for one store. Returns if anything was done.
|
||
|
* @param store
|
||
|
* @return
|
||
|
*/
|
||
|
bool handleOneStore(PersistentTmStoreWithTmQueue& store);
|
||
|
|
||
|
private:
|
||
|
StorageManagerIF& ipcStore;
|
||
|
VirtualChannel& channel;
|
||
|
};
|
||
|
|
||
|
#endif /* MISSION_TMTC_TMSTORETASKBASE_H_ */
|