Public Member Functions

hamcast::ipc::message_view Class Reference

Base class of all message views. More...

#include <message.hpp>

Inheritance diagram for hamcast::ipc::message_view:
hamcast::ipc::async_recv_view hamcast::ipc::async_send_view hamcast::ipc::cumulative_ack_view hamcast::ipc::retransmit_view hamcast::ipc::sync_request_view hamcast::ipc::sync_response_view

List of all members.

Public Member Functions

boost::uint32_t content_size () const
const char * content () const
size_t size () const
message::ptr message_ptr () const

Detailed Description

Base class of all message views.


Member Function Documentation

const char* hamcast::ipc::message_view::content (  )  const

Get the content of this message.

Returns:
A pointer to the internal C-buffer.
boost::uint32_t hamcast::ipc::message_view::content_size (  )  const

Get the size of content().

Returns:
The size of content() in bytes.
message::ptr hamcast::ipc::message_view::message_ptr (  )  const

Get a (smart) pointer to the viewed message.

Returns:
The assigned hamcast::ipc::message::ptr.
size_t hamcast::ipc::message_view::size (  )  const

Get the full size of this message (content + header).

Returns:
content_size() + hamcast::ipc::message::header_size.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator