A contiguous byte buffer used as the unit of interprocess communication.
This is the plain replacement for zmq::message_t: Job implementations build a Message on the sending side (e.g. from a struct or an array of doubles) and read it out via the typed data<T>() accessors on the receiving side.
Public Member Functions | |
| Message ()=default | |
| template<typename ForwardIt > | |
| Message (ForwardIt first, ForwardIt last) | |
| Create a message by copying the bytes of the elements in the range [first, last), like the equivalent zmq::message_t constructor. | |
| Message (std::size_t size) | |
| void * | data () |
| template<typename T > | |
| T * | data () |
| const void * | data () const |
| template<typename T > | |
| const T * | data () const |
| std::size_t | size () const |
| Size of the message in bytes. | |
Private Attributes | |
| std::vector< char > | buf_ |
#include </github/home/ROOT-CI/src/roofit/multiprocess/res/RooFit/MultiProcess/Message.h>
|
default |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
private |