2022-08-09 19:00:47 +02:00
|
|
|
#ifndef FSFW_TESTS_CFDP_REMOTCONFIGTABLEMOCK_H
|
|
|
|
#define FSFW_TESTS_CFDP_REMOTCONFIGTABLEMOCK_H
|
|
|
|
|
2022-08-17 17:09:39 +02:00
|
|
|
#include <map>
|
|
|
|
|
2022-08-09 19:00:47 +02:00
|
|
|
#include "fsfw/cfdp/handler/RemoteConfigTableIF.h"
|
|
|
|
|
|
|
|
namespace cfdp {
|
|
|
|
|
2022-08-09 21:03:56 +02:00
|
|
|
class RemoteConfigTableMock : public RemoteConfigTableIF {
|
2022-08-09 19:00:47 +02:00
|
|
|
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 19:00:47 +02:00
|
|
|
};
|
|
|
|
|
2022-08-09 21:03:56 +02:00
|
|
|
} // namespace cfdp
|
2022-08-09 19:00:47 +02:00
|
|
|
|
|
|
|
#endif // FSFW_TESTS_CFDP_REMOTCONFIGTABLEMOCK_H
|