3 #ifndef __ipcmsg_man_hpp
4 #define __ipcmsg_man_hpp
12 #include <dcf/types.hpp>
34 typedef std::vector<dcf::IPCMsgMan::Message>
Messages;
88 int get_or_create_sem()
const;
100 static key_t m_sem_key;
error_t
Definition: types.hpp:11
dcf::error_t lock() const
mantype_t
Definition: types.hpp:24
int get_or_create_queue() const
std::vector< dcf::IPCMsgMan::Message > Messages
Definition: ipcmsg_man.hpp:34
bool operator==(const Message &msg) const
long mtype
Definition: ipcmsg_man.hpp:74
dcf::error_t addMessage(const IPCMsgMan::Message &rec_data) const
dcf::error_t rmMessage(const IPCMsgMan::Message &rec_data, size_t &del_recs_num, bool rm_all=true) const
dcf::error_t rmQueue() const
Definition: ipcmsg_man.hpp:23
int unit_id
Definition: ipcmsg_man.hpp:27
IPCMsgMan::Message data
Definition: ipcmsg_man.hpp:75
dcf::error_t getMessagesNum(size_t &recs_num) const
Definition: ipcmsg_man.hpp:18
Definition: ipcmsg_man.hpp:72
dcf::mantype_t type
Definition: ipcmsg_man.hpp:25
pid_t pid
Definition: ipcmsg_man.hpp:26
dcf::error_t getMessages(IPCMsgMan::Messages &recs) const
dcf::error_t unlock() const