27 lines
680 B
C++
27 lines
680 B
C++
#ifndef FSFW_IPC_MESSAGEQUEUESENDERIF_H_
|
|
#define FSFW_IPC_MESSAGEQUEUESENDERIF_H_
|
|
|
|
#include "../ipc/MessageQueueIF.h"
|
|
#include "../ipc/MessageQueueMessageIF.h"
|
|
#include "../objectmanager/ObjectManagerIF.h"
|
|
|
|
class MessageQueueSenderIF {
|
|
public:
|
|
|
|
virtual ~MessageQueueSenderIF() {}
|
|
|
|
/**
|
|
* Allows sending messages without actually "owning" a message queue.
|
|
* Not sure whether this is actually a good idea.
|
|
*/
|
|
static ReturnValue_t sendMessage(MessageQueueId_t sendTo,
|
|
MessageQueueMessage* message,
|
|
MessageQueueId_t sentFrom = MessageQueueIF::NO_QUEUE,
|
|
bool ignoreFault = false);
|
|
private:
|
|
MessageQueueSenderIF() {}
|
|
};
|
|
|
|
|
|
#endif /* FSFW_IPC_MESSAGEQUEUESENDERIF_H_ */
|