TMTC Stack Refactoring #106

Merged
muellerr merged 123 commits from mueller/tmtc-stack-refactoring into develop 2022-08-16 17:30:17 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit d815f422c3 - Show all commits

View File

@ -7,7 +7,7 @@
object_id_t VerificationReporter::DEFAULT_RECEIVER = objects::PUS_SERVICE_1_VERIFICATION; object_id_t VerificationReporter::DEFAULT_RECEIVER = objects::PUS_SERVICE_1_VERIFICATION;
object_id_t VerificationReporter::DEFAULT_REPORTER = objects::TC_VERIFICATOR; object_id_t VerificationReporter::DEFAULT_REPORTER = objects::TC_VERIFICATOR;
VerificationReporter::VerificationReporter(AcceptsVerifyMessageIF* receiver, object_id_t objectId) VerificationReporter::VerificationReporter(object_id_t objectId, AcceptsVerifyMessageIF* receiver)
: SystemObject(objectId) { : SystemObject(objectId) {
if (receiver != nullptr) { if (receiver != nullptr) {
acknowledgeQueue = receiver->getVerificationQueue(); acknowledgeQueue = receiver->getVerificationQueue();

View File

@ -27,8 +27,8 @@ class VerificationReporter : public SystemObject, public VerificationReporterIF
friend void Factory::setStaticFrameworkObjectIds(); friend void Factory::setStaticFrameworkObjectIds();
public: public:
explicit VerificationReporter(AcceptsVerifyMessageIF* receiver, explicit VerificationReporter(object_id_t objectId = DEFAULT_REPORTER,
object_id_t objectId = DEFAULT_REPORTER); AcceptsVerifyMessageIF* receiver = nullptr);
~VerificationReporter() override; ~VerificationReporter() override;
void setReceiver(AcceptsVerifyMessageIF& receiver); void setReceiver(AcceptsVerifyMessageIF& receiver);