Message class for Producer/Consumer communication.
More...
#include <gu_prodcons.hpp>
Message class for Producer/Consumer communication.
gu::prodcons::Message::Message |
( |
Producer * |
prod_ = 0 , |
|
|
const MessageData * |
data_ = 0 , |
|
|
int |
val_ = -1 |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
prod_ | Producer associated to the message |
data_ | Message data |
val_ | Integer value associated to the message |
const MessageData* gu::prodcons::Message::get_data |
( |
| ) |
const |
|
inline |
Get data associated to the message.
- Returns
- Data associated to the message
Producer& gu::prodcons::Message::get_producer |
( |
| ) |
const |
|
inline |
Get producer associated to the message.
- Returns
- Producer associated to the message
int gu::prodcons::Message::get_val |
( |
| ) |
const |
|
inline |
Get int value associated to the message.
- Returns
- Int value associated to the message
The documentation for this class was generated from the following file:
- /wrkdirs/usr/ports/databases/galera/work/galera-25.3.5-src/galerautils/src/gu_prodcons.hpp