Apollo  6.0
Open source self driving car software
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
apollo::cyber::message::RawMessage Struct Reference

#include <raw_message.h>

Collaboration diagram for apollo::cyber::message::RawMessage:
Collaboration graph

Classes

class  Descriptor
 

Public Member Functions

 RawMessage ()
 
 RawMessage (const std::string &data)
 
 RawMessage (const std::string &data, uint64_t ts)
 
 RawMessage (const RawMessage &raw_msg)
 
RawMessageoperator= (const RawMessage &raw_msg)
 
 ~RawMessage ()
 
bool SerializeToArray (void *data, int size) const
 
bool SerializeToString (std::string *str) const
 
bool ParseFromArray (const void *data, int size)
 
bool ParseFromString (const std::string &str)
 
int ByteSize () const
 

Static Public Member Functions

static const Descriptordescriptor ()
 
static void GetDescriptorString (const std::string &type, std::string *desc_str)
 
static std::string TypeName ()
 

Public Attributes

std::string message
 
uint64_t timestamp
 

Constructor & Destructor Documentation

◆ RawMessage() [1/4]

apollo::cyber::message::RawMessage::RawMessage ( )
inline

◆ RawMessage() [2/4]

apollo::cyber::message::RawMessage::RawMessage ( const std::string &  data)
inlineexplicit

◆ RawMessage() [3/4]

apollo::cyber::message::RawMessage::RawMessage ( const std::string &  data,
uint64_t  ts 
)
inline

◆ RawMessage() [4/4]

apollo::cyber::message::RawMessage::RawMessage ( const RawMessage raw_msg)
inline

◆ ~RawMessage()

apollo::cyber::message::RawMessage::~RawMessage ( )
inline

Member Function Documentation

◆ ByteSize()

int apollo::cyber::message::RawMessage::ByteSize ( ) const
inline

◆ descriptor()

static const Descriptor* apollo::cyber::message::RawMessage::descriptor ( )
inlinestatic

◆ GetDescriptorString()

static void apollo::cyber::message::RawMessage::GetDescriptorString ( const std::string &  type,
std::string *  desc_str 
)
inlinestatic

◆ operator=()

RawMessage& apollo::cyber::message::RawMessage::operator= ( const RawMessage raw_msg)
inline

◆ ParseFromArray()

bool apollo::cyber::message::RawMessage::ParseFromArray ( const void *  data,
int  size 
)
inline

◆ ParseFromString()

bool apollo::cyber::message::RawMessage::ParseFromString ( const std::string &  str)
inline

◆ SerializeToArray()

bool apollo::cyber::message::RawMessage::SerializeToArray ( void *  data,
int  size 
) const
inline

◆ SerializeToString()

bool apollo::cyber::message::RawMessage::SerializeToString ( std::string *  str) const
inline

◆ TypeName()

static std::string apollo::cyber::message::RawMessage::TypeName ( )
inlinestatic

Member Data Documentation

◆ message

std::string apollo::cyber::message::RawMessage::message

◆ timestamp

uint64_t apollo::cyber::message::RawMessage::timestamp

The documentation for this struct was generated from the following file: