fsfw/unittests/mocks/cfdp/RemoteConfigTableMock.h

21 lines
523 B
C
Raw Permalink Normal View History

#ifndef FSFW_TESTS_CFDP_REMOTCONFIGTABLEMOCK_H
#define FSFW_TESTS_CFDP_REMOTCONFIGTABLEMOCK_H
2022-08-17 17:09:39 +02:00
#include <map>
#include "fsfw/cfdp/handler/RemoteConfigTableIF.h"
namespace cfdp {
2022-08-09 21:03:56 +02:00
class RemoteConfigTableMock : public RemoteConfigTableIF {
public:
2022-08-17 17:09:39 +02:00
void addRemoteConfig(const RemoteEntityCfg& cfg);
bool getRemoteCfg(const cfdp::EntityId& remoteId, cfdp::RemoteEntityCfg** cfg) override;
std::map<EntityId, RemoteEntityCfg> remoteCfgTable;
};
2022-08-09 21:03:56 +02:00
} // namespace cfdp
#endif // FSFW_TESTS_CFDP_REMOTCONFIGTABLEMOCK_H