made check sequence

This commit is contained in:
Robin Müller 2020-12-15 15:04:07 +01:00
parent 2c92fa64bc
commit a57af5852d

View File

@ -62,21 +62,6 @@ public:
virtual MessageQueueId_t getSequenceCommandQueue() const override; virtual MessageQueueId_t getSequenceCommandQueue() const override;
/**
* @brief Checks whether a sequence, identified by a mode.
* @param sequence
* @return
*/
ReturnValue_t checkSequence(Mode_t sequence);
/**
* @brief Checks whether a sequence, identified by a mode list iterator
* and a fallback sequence.
* @param iter
* @return
*/
ReturnValue_t checkSequence(HybridIterator<ModeListEntry> iter,
Mode_t fallbackSequence);
protected: protected:
struct EntryPointer { struct EntryPointer {
@ -166,6 +151,21 @@ protected:
void cantKeepMode(); void cantKeepMode();
/**
* @brief Checks whether a sequence, identified by a mode.
* @param sequence
* @return
*/
ReturnValue_t checkSequence(Mode_t sequence);
/**
* @brief Checks whether a sequence, identified by a mode list iterator
* and a fallback sequence.
* @param iter
* @return
*/
ReturnValue_t checkSequence(HybridIterator<ModeListEntry> iter,
Mode_t fallbackSequence);
}; };
#endif /* FSFW_SUBSYSTEM_SUBSYSTEM_H_ */ #endif /* FSFW_SUBSYSTEM_SUBSYSTEM_H_ */