2022-07-26 18:46:28 +02:00
|
|
|
#include "PusDistributorMock.h"
|
|
|
|
|
|
|
|
PusDistributorMock::PusDistributorMock() : SystemObject(objects::NO_OBJECT, false) {}
|
|
|
|
|
|
|
|
PusDistributorMock::PusDistributorMock(object_id_t registeredId)
|
|
|
|
: SystemObject(registeredId, true) {}
|
|
|
|
|
|
|
|
ReturnValue_t PusDistributorMock::registerService(AcceptsTelecommandsIF *service) {
|
|
|
|
registerCallCount++;
|
|
|
|
lastServiceArg = service;
|
2022-08-16 01:08:26 +02:00
|
|
|
return returnvalue::OK;
|
2022-07-26 18:46:28 +02:00
|
|
|
}
|