class
#include <eckit/distributed/Message.h>
Message
Base classes
- class eckit::Stream
Public static functions
- static auto readyMessage() -> const Message&
- static auto shutdownMessage() -> const Message&
-
static void dump(std::
ostream&, const char*, size_t)
Constructors, destructors, conversion operators
Public functions
- void rewind() virtual
- auto shutdownRequested() const -> bool
- auto messageData() -> void*
- auto messageData() const -> const void*
- auto bufferSize() const -> size_t
- auto messageSize() const -> size_t
- void messageReceived(int, int)
- auto getBlob(size_t& size) -> const void*
- void reserve(size_t)
- auto tag() const -> int
- auto source() const -> int
- auto operator<<(char) -> Stream&
- auto operator<<(unsigned char) -> Stream&
- auto operator<<(bool) -> Stream&
- auto operator<<(int) -> Stream&
- auto operator<<(unsigned int) -> Stream&
- auto operator<<(short) -> Stream&
- auto operator<<(unsigned short) -> Stream&
- auto operator<<(long) -> Stream&
- auto operator<<(unsigned long) -> Stream&
- auto operator<<(long long) -> Stream&
- auto operator<<(unsigned long long) -> Stream&
- auto operator<<(float) -> Stream&
- auto operator<<(double) -> Stream&
-
auto operator<<(const std::
string&) -> Stream& - auto operator<<(const char*) -> Stream&
-
auto operator<<(const std::
exception&) -> Stream& - auto operator<<(const Buffer&) -> Stream&
- auto operator>>(char&) -> Stream&
- auto operator>>(unsigned char&) -> Stream&
- auto operator>>(int&) -> Stream&
- auto operator>>(unsigned int&) -> Stream&
- auto operator>>(bool&) -> Stream&
- auto operator>>(long&) -> Stream&
- auto operator>>(unsigned long&) -> Stream&
- auto operator>>(long long&) -> Stream&
- auto operator>>(unsigned long long&) -> Stream&
- auto operator>>(short&) -> Stream&
- auto operator>>(unsigned short&) -> Stream&
- auto operator>>(float&) -> Stream&
- auto operator>>(double&) -> Stream&
-
auto operator>>(std::
string&) -> Stream& - auto operator>>(Buffer&) -> Stream&
-
auto operator>>(std::
map<std:: string, std:: string>&) -> Stream& -
auto next(std::
string&) -> bool - auto next(bool&) -> bool
- auto next(int&) -> bool
- auto next() -> bool
- auto endObjectFound() -> bool
- void skipEndObject()
- void startObject()
- void endObject()
- void writeBlob(const void*, size_t)
- void readBlob(void*, size_t)
- void writeLargeBlob(const void*, size_t)
- void readLargeBlob(void*, size_t)
- void closeOutput() virtual
- void closeInput() virtual
- auto bytesWritten() -> long long
- void resetBytesWritten()
- void startRecord(unsigned long)
- void endRecord()
- auto nextRecord(unsigned long&, bool sync = false) -> bool
- void lock()
- void unlock()
Private functions
-
auto name() const -> std::
string virtual - auto write(const void*, long) -> long virtual
- auto read(void*, long) -> long virtual
-
void print(std::
ostream& out) const virtual
Friends
-
auto operator<<(std::
ostream& s, const Message& x) -> std:: ostream&
Function documentation
static void eckit:: distributed:: Message:: dump(std:: ostream&,
const char*,
size_t)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(char)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(unsigned char)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(bool)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(int)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(unsigned int)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(short)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(unsigned short)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(unsigned long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(long long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(unsigned long long)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(float)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(double)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(const std:: string&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(const char*)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(const std:: exception&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator<<(const Buffer&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(char&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(unsigned char&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(int&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(unsigned int&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(bool&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(unsigned long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(long long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(unsigned long long&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(short&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(unsigned short&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(float&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(double&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(std:: string&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(Buffer&)
#include <eckit/serialisation/Stream.h>
Stream& eckit:: distributed:: Message:: operator>>(std:: map<std:: string, std:: string>&)
#include <eckit/serialisation/Stream.h>
bool eckit:: distributed:: Message:: next(std:: string&)
#include <eckit/serialisation/Stream.h>
bool eckit:: distributed:: Message:: next(bool&)
#include <eckit/serialisation/Stream.h>
bool eckit:: distributed:: Message:: next(int&)
#include <eckit/serialisation/Stream.h>
bool eckit:: distributed:: Message:: next()
#include <eckit/serialisation/Stream.h>
bool eckit:: distributed:: Message:: endObjectFound()
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: skipEndObject()
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: startObject()
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: endObject()
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: writeBlob(const void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: readBlob(void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: writeLargeBlob(const void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: readLargeBlob(void*,
size_t)
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: closeOutput() virtual
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: closeInput() virtual
#include <eckit/serialisation/Stream.h>
long long eckit:: distributed:: Message:: bytesWritten()
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: resetBytesWritten()
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: startRecord(unsigned long)
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: endRecord()
#include <eckit/serialisation/Stream.h>
bool eckit:: distributed:: Message:: nextRecord(unsigned long&,
bool sync = false)
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: lock()
#include <eckit/serialisation/Stream.h>
void eckit:: distributed:: Message:: unlock()
#include <eckit/serialisation/Stream.h>