flip verif reporter ctor arguments
This commit is contained in:
parent
9e064fe800
commit
8fd8a37f59
@ -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();
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user