LCM
|
Represents a single event (message) in a log file. More...
#include <lcm/lcm-cpp.hpp>
Public Attributes | |
int64_t | eventnum |
int64_t | timestamp |
std::string | channel |
int32_t | datalen |
void * | data |
Represents a single event (message) in a log file.
This struct is the C++ counterpart for lcm_eventlog_event_t.
std::string lcm::LogEvent::channel |
The LCM channel on which the message was received.
void* lcm::LogEvent::data |
The message payload.
int32_t lcm::LogEvent::datalen |
The length of the message payload, in bytes
int64_t lcm::LogEvent::eventnum |
Monotically increasing counter identifying the event number. This field is managed by LCM, and there should be no need to ever set it manually.
int64_t lcm::LogEvent::timestamp |
Timestamp identifying when the event was received. Represented in microseconds since the UNIX epoch.