2021-02-14 11:03:53 +01:00
|
|
|
#ifndef TEST_TESTTASKS_LIBGPIODTEST_H_
|
|
|
|
#define TEST_TESTTASKS_LIBGPIODTEST_H_
|
2021-02-14 09:25:40 +01:00
|
|
|
|
|
|
|
#include "TestTask.h"
|
2021-02-14 12:35:08 +01:00
|
|
|
#include <bsp_q7s/gpio/GpioIF.h>
|
|
|
|
#include <bsp_q7s/gpio/cookies/GpioCookie.h>
|
2021-02-14 09:25:40 +01:00
|
|
|
#include <fsfw/objectmanager/SystemObject.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Test for the GPIO read implementation of the LinuxLibgpioIF.
|
|
|
|
* @author J. Meier
|
|
|
|
*/
|
2021-02-14 11:03:53 +01:00
|
|
|
class LibgpiodTest: public TestTask {
|
2021-02-14 09:25:40 +01:00
|
|
|
public:
|
2021-02-14 11:03:53 +01:00
|
|
|
LibgpiodTest(object_id_t objectId, object_id_t gpioIfobjectId, GpioCookie* gpioCookie);
|
|
|
|
virtual ~LibgpiodTest();
|
2021-02-14 09:25:40 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual ReturnValue_t performPeriodicAction() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
GpioIF* gpioInterface;
|
|
|
|
};
|
|
|
|
|
2021-02-14 11:03:53 +01:00
|
|
|
#endif /* TEST_TESTTASKS_LIBGPIODTEST_H_ */
|