fsfw/unittests/mocks/PusDistributorMock.h

19 lines
588 B
C
Raw Normal View History

2022-07-26 18:46:28 +02:00
#ifndef FSFW_TESTS_PUSDISTRIBUTORMOCK_H
#define FSFW_TESTS_PUSDISTRIBUTORMOCK_H
#include "fsfw/objectmanager/SystemObject.h"
2022-07-29 12:03:14 +02:00
#include "fsfw/tcdistribution/PusDistributorIF.h"
2022-07-26 18:46:28 +02:00
2022-08-01 14:23:52 +02:00
#include <vector>
2022-07-29 12:03:14 +02:00
class PusDistributorMock : public SystemObject, public PusDistributorIF {
2022-07-26 18:46:28 +02:00
public:
PusDistributorMock();
explicit PusDistributorMock(object_id_t registeredId);
unsigned int registerCallCount = 0;
2022-08-01 14:23:52 +02:00
std::vector<const AcceptsTelecommandsIF*> registeredServies;
ReturnValue_t registerService(const AcceptsTelecommandsIF& service) override;
2022-07-26 18:46:28 +02:00
};
#endif // FSFW_TESTS_PUSDISTRIBUTORMOCK_H