MCProxy

proxy_msg Struct Reference
[Communication]

Generic message for the message_queue.

#include "message_format.hpp"

List of all members.

Public Types

enum  message_type {
  TEST_MSG, CLOCK_MSG, RECEIVER_MSG, ROUTING_MSG,
  CONFIG_MSG, EXIT_CMD, DEBUG_MSG
}

Public Member Functions

std::string msg_type_to_string ()

Public Attributes

boost::intrusive_ptr< struct
intrusive_message
msg
message_type type

Member Enumeration Documentation

Available message types.

Enumerator:
TEST_MSG 

Test message type to test the message queue and the intrusive pointer.

CLOCK_MSG 

Message type used from module Timer.

RECEIVER_MSG 

Message type used from module Receiver.

ROUTING_MSG 

Message type used from module Proxy Instance to introduce the module Routing.

CONFIG_MSG 

Message type used from module Proxy to set and delete interfaces of the proxy instances.

EXIT_CMD 

Message type to stop the proxy instances.

DEBUG_MSG 

Message type to collect debug information for the module Proxy.


Member Function Documentation

std::string proxy_msg::msg_type_to_string (  )  [inline]

References HC_LOG_TRACE.

Referenced by worker::add_msg().


Member Data Documentation

boost::intrusive_ptr<struct intrusive_message> proxy_msg::msg

Intrusive pointer to the message contain.

Referenced by proxy::start(), and timing::test_timing().

Message type of the Message.

Referenced by proxy::end(), and proxy::start().