IPC Pass Arbitrary Args to MQ IF #58
@ -37,8 +37,8 @@ MessageQueueId_t MessageQueueBase::getId() const {
|
|||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
MqArgs* MessageQueueBase::getMqArgs() {
|
MqArgs& MessageQueueBase::getMqArgs() {
|
||||||
return &args;
|
return args;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MessageQueueBase::setDefaultDestination(MessageQueueId_t defaultDestination) {
|
void MessageQueueBase::setDefaultDestination(MessageQueueId_t defaultDestination) {
|
||||||
|
@ -12,7 +12,7 @@ public:
|
|||||||
// Default implementations for MessageQueueIF where possible
|
// Default implementations for MessageQueueIF where possible
|
||||||
virtual MessageQueueId_t getLastPartner() const override;
|
virtual MessageQueueId_t getLastPartner() const override;
|
||||||
virtual MessageQueueId_t getId() const override;
|
virtual MessageQueueId_t getId() const override;
|
||||||
virtual MqArgs* getMqArgs() override;
|
virtual MqArgs& getMqArgs() override;
|
||||||
virtual void setDefaultDestination(MessageQueueId_t defaultDestination) override;
|
virtual void setDefaultDestination(MessageQueueId_t defaultDestination) override;
|
||||||
virtual MessageQueueId_t getDefaultDestination() const override;
|
virtual MessageQueueId_t getDefaultDestination() const override;
|
||||||
virtual bool isDefaultDestinationSet() const override;
|
virtual bool isDefaultDestinationSet() const override;
|
||||||
|
@ -161,7 +161,7 @@ class MessageQueueIF {
|
|||||||
|
|
||||||
virtual bool isDefaultDestinationSet() const = 0;
|
virtual bool isDefaultDestinationSet() const = 0;
|
||||||
|
|
||||||
virtual MqArgs* getMqArgs() = 0;
|
virtual MqArgs& getMqArgs() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* FSFW_IPC_MESSAGEQUEUEIF_H_ */
|
#endif /* FSFW_IPC_MESSAGEQUEUEIF_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user