fsfw/unittests/mocks/PusDistributorMock.cpp
Robin Mueller 52f8c5038b
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers
2022-08-22 16:21:41 +02:00

13 lines
410 B
C++

#include "PusDistributorMock.h"
PusDistributorMock::PusDistributorMock() : SystemObject(objects::NO_OBJECT, false) {}
PusDistributorMock::PusDistributorMock(object_id_t registeredId)
: SystemObject(registeredId, true) {}
ReturnValue_t PusDistributorMock::registerService(const AcceptsTelecommandsIF& service) {
registerCallCount++;
registeredServies.push_back(&service);
return returnvalue::OK;
}