chrono::ros::ipc::Message Struct Reference

Description

Complete IPC message with header and heap-allocated payload Payload is dynamically allocated to avoid stack overflow with large buffers.

#include <ChROSIPCMessage.h>

Collaboration diagram for chrono::ros::ipc::Message:

Public Member Functions

 Message (MessageType type, uint64_t time_ns, uint32_t seq, const void *data, size_t size)
 
 Message (Message &&)=default
 
Messageoperator= (Message &&)=default
 
 Message (const Message &)=delete
 
Messageoperator= (const Message &)=delete
 
template<typename T >
const T * GetPayload () const
 Get payload as typed pointer.
 
template<typename T >
T * GetPayload ()
 

Public Attributes

MessageHeader header
 
std::unique_ptr< uint8_t[]> payload
 

The documentation for this struct was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_ros/ipc/ChROSIPCMessage.h