Gazebo Msgs

API Reference

9.5.1

#include <packet.pb.h>

Public Types

enum  ContentCase {
  kCmdVel2D = 3, kImage = 4, kStringMsgV = 5, kWebRequest = 6,
  kPose = 7, kDoublev = 8, kPoseV = 9, kTime = 10,
  kClock = 11, kWorldStats = 12, CONTENT_NOT_SET = 0
}
 

Public Member Functions

 Packet ()
 
 Packet (const Packet &from)
 
virtual ~Packet ()
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_clock ()
 
void clear_cmd_vel2d ()
 
void clear_content ()
 
void clear_doublev ()
 
void clear_image ()
 
void clear_pose ()
 
void clear_pose_v ()
 
void clear_string_msg_v ()
 
void clear_time ()
 
void clear_topic ()
 
void clear_type ()
 
void clear_web_request ()
 
void clear_world_stats ()
 
const ::gz::msgs::Clockclock () const
 
const ::gz::msgs::CmdVel2Dcmd_vel2d () const
 
ContentCase content_case () const
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Packet &from)
 
const ::gz::msgs::Double_Vdoublev () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_clock () const
 
bool has_cmd_vel2d () const
 
bool has_doublev () const
 
bool has_image () const
 
bool has_pose () const
 
bool has_pose_v () const
 
bool has_string_msg_v () const
 
bool has_time () const
 
bool has_web_request () const
 
bool has_world_stats () const
 
const ::gz::msgs::Imageimage () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const Packet &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::gz::msgs::Clockmutable_clock ()
 
::gz::msgs::CmdVel2Dmutable_cmd_vel2d ()
 
::gz::msgs::Double_Vmutable_doublev ()
 
::gz::msgs::Imagemutable_image ()
 
::gz::msgs::Posemutable_pose ()
 
::gz::msgs::Pose_Vmutable_pose_v ()
 
::gz::msgs::StringMsg_Vmutable_string_msg_v ()
 
::gz::msgs::Timemutable_time ()
 
::std::stringmutable_topic ()
 
::std::stringmutable_type ()
 
::gz::msgs::WebRequestmutable_web_request ()
 
::gz::msgs::WorldStatisticsmutable_world_stats ()
 
PacketNew () const final
 
PacketNew (::google::protobuf::Arena *arena) const final
 
Packetoperator= (const Packet &from)
 
const ::gz::msgs::Posepose () const
 
const ::gz::msgs::Pose_Vpose_v () const
 
::gz::msgs::Clockrelease_clock ()
 
::gz::msgs::CmdVel2Drelease_cmd_vel2d ()
 
::gz::msgs::Double_Vrelease_doublev ()
 
::gz::msgs::Imagerelease_image ()
 
::gz::msgs::Poserelease_pose ()
 
::gz::msgs::Pose_Vrelease_pose_v ()
 
::gz::msgs::StringMsg_Vrelease_string_msg_v ()
 
::gz::msgs::Timerelease_time ()
 
::std::stringrelease_topic ()
 
::std::stringrelease_type ()
 
::gz::msgs::WebRequestrelease_web_request ()
 
::gz::msgs::WorldStatisticsrelease_world_stats ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_clock (::gz::msgs::Clock *clock)
 
void set_allocated_cmd_vel2d (::gz::msgs::CmdVel2D *cmd_vel2d)
 
void set_allocated_doublev (::gz::msgs::Double_V *doublev)
 
void set_allocated_image (::gz::msgs::Image *image)
 
void set_allocated_pose (::gz::msgs::Pose *pose)
 
void set_allocated_pose_v (::gz::msgs::Pose_V *pose_v)
 
void set_allocated_string_msg_v (::gz::msgs::StringMsg_V *string_msg_v)
 
void set_allocated_time (::gz::msgs::Time *time)
 
void set_allocated_topic (::std::string *topic)
 
void set_allocated_type (::std::string *type)
 
void set_allocated_web_request (::gz::msgs::WebRequest *web_request)
 
void set_allocated_world_stats (::gz::msgs::WorldStatistics *world_stats)
 
void set_topic (const ::std::string &value)
 
void set_topic (const char *value)
 
void set_topic (const char *value, size_t size)
 
void set_type (const ::std::string &value)
 
void set_type (const char *value)
 
void set_type (const char *value, size_t size)
 
const ::gz::msgs::StringMsg_Vstring_msg_v () const
 
void Swap (Packet *other)
 
const ::gz::msgs::Timetime () const
 
const ::std::stringtopic () const
 
const ::std::stringtype () const
 
const ::gz::msgs::WebRequestweb_request () const
 
const ::gz::msgs::WorldStatisticsworld_stats () const
 

Static Public Member Functions

static const Packetdefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Packetinternal_default_instance ()
 

Static Public Attributes

static const int kClockFieldNumber = 11
 
static const int kCmdVel2DFieldNumber = 3
 
static const int kDoublevFieldNumber = 8
 
static const int kImageFieldNumber = 4
 
static constexpr int kIndexInFileMessages
 
static const int kPoseFieldNumber = 7
 
static const int kPoseVFieldNumber = 9
 
static const int kStringMsgVFieldNumber = 5
 
static const int kTimeFieldNumber = 10
 
static const int kTopicFieldNumber = 1
 
static const int kTypeFieldNumber = 2
 
static const int kWebRequestFieldNumber = 6
 
static const int kWorldStatsFieldNumber = 12
 

Member Enumeration Documentation

◆ ContentCase

Enumerator
kCmdVel2D 
kImage 
kStringMsgV 
kWebRequest 
kPose 
kDoublev 
kPoseV 
kTime 
kClock 
kWorldStats 
CONTENT_NOT_SET 

Constructor & Destructor Documentation

◆ Packet() [1/2]

Packet ( )

◆ ~Packet()

virtual ~Packet ( )
virtual

◆ Packet() [2/2]

Packet ( const Packet from)

Member Function Documentation

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_clock()

void clear_clock ( )

◆ clear_cmd_vel2d()

void clear_cmd_vel2d ( )

◆ clear_content()

◆ clear_doublev()

void clear_doublev ( )

◆ clear_image()

void clear_image ( )

◆ clear_pose()

void clear_pose ( )

◆ clear_pose_v()

void clear_pose_v ( )

◆ clear_string_msg_v()

void clear_string_msg_v ( )

◆ clear_time()

void clear_time ( )

◆ clear_topic()

void clear_topic ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ clear_web_request()

void clear_web_request ( )

◆ clear_world_stats()

void clear_world_stats ( )

◆ clock()

const ::gz::msgs::Clock & clock ( ) const
inline

◆ cmd_vel2d()

const ::gz::msgs::CmdVel2D & cmd_vel2d ( ) const
inline

◆ content_case()

◆ CopyFrom() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const Packet from)

◆ default_instance()

static const Packet& default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ doublev()

const ::gz::msgs::Double_V & doublev ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const
final

◆ has_clock()

bool has_clock ( ) const
inline

◆ has_cmd_vel2d()

bool has_cmd_vel2d ( ) const
inline

◆ has_doublev()

bool has_doublev ( ) const
inline

◆ has_image()

bool has_image ( ) const
inline

◆ has_pose()

bool has_pose ( ) const
inline

◆ has_pose_v()

bool has_pose_v ( ) const
inline

◆ has_string_msg_v()

bool has_string_msg_v ( ) const
inline

◆ has_time()

bool has_time ( ) const
inline

◆ has_web_request()

bool has_web_request ( ) const
inline

◆ has_world_stats()

bool has_world_stats ( ) const
inline

◆ image()

const ::gz::msgs::Image & image ( ) const
inline

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const Packet* internal_default_instance ( )
inlinestatic

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const Packet from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_clock()

gz::msgs::Clock * mutable_clock ( )
inline

◆ mutable_cmd_vel2d()

gz::msgs::CmdVel2D * mutable_cmd_vel2d ( )
inline

◆ mutable_doublev()

gz::msgs::Double_V * mutable_doublev ( )
inline

◆ mutable_image()

gz::msgs::Image * mutable_image ( )
inline

◆ mutable_pose()

gz::msgs::Pose * mutable_pose ( )
inline

◆ mutable_pose_v()

gz::msgs::Pose_V * mutable_pose_v ( )
inline

◆ mutable_string_msg_v()

gz::msgs::StringMsg_V * mutable_string_msg_v ( )
inline

◆ mutable_time()

gz::msgs::Time * mutable_time ( )
inline

◆ mutable_topic()

std::string * mutable_topic ( )
inline

◆ mutable_type()

std::string * mutable_type ( )
inline

◆ mutable_web_request()

gz::msgs::WebRequest * mutable_web_request ( )
inline

◆ mutable_world_stats()

gz::msgs::WorldStatistics * mutable_world_stats ( )
inline

◆ New() [1/2]

Packet* New ( ) const
inlinefinal

◆ New() [2/2]

Packet* New ( ::google::protobuf::Arena *  arena) const
inlinefinal

◆ operator=()

Packet& operator= ( const Packet from)
inline

◆ pose()

const ::gz::msgs::Pose & pose ( ) const
inline

◆ pose_v()

const ::gz::msgs::Pose_V & pose_v ( ) const
inline

◆ release_clock()

gz::msgs::Clock * release_clock ( )
inline

References Packet::has_clock().

◆ release_cmd_vel2d()

gz::msgs::CmdVel2D * release_cmd_vel2d ( )
inline

◆ release_doublev()

gz::msgs::Double_V * release_doublev ( )
inline

References Packet::has_doublev().

◆ release_image()

gz::msgs::Image * release_image ( )
inline

References Packet::has_image().

◆ release_pose()

gz::msgs::Pose * release_pose ( )
inline

References Packet::has_pose().

◆ release_pose_v()

gz::msgs::Pose_V * release_pose_v ( )
inline

References Packet::has_pose_v().

◆ release_string_msg_v()

gz::msgs::StringMsg_V * release_string_msg_v ( )
inline

◆ release_time()

gz::msgs::Time * release_time ( )
inline

References Packet::has_time().

◆ release_topic()

std::string * release_topic ( )
inline

◆ release_type()

std::string * release_type ( )
inline

◆ release_web_request()

gz::msgs::WebRequest * release_web_request ( )
inline

◆ release_world_stats()

gz::msgs::WorldStatistics * release_world_stats ( )
inline

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_clock()

void set_allocated_clock ( ::gz::msgs::Clock clock)

◆ set_allocated_cmd_vel2d()

void set_allocated_cmd_vel2d ( ::gz::msgs::CmdVel2D cmd_vel2d)

◆ set_allocated_doublev()

void set_allocated_doublev ( ::gz::msgs::Double_V doublev)

◆ set_allocated_image()

void set_allocated_image ( ::gz::msgs::Image image)

◆ set_allocated_pose()

void set_allocated_pose ( ::gz::msgs::Pose pose)

◆ set_allocated_pose_v()

void set_allocated_pose_v ( ::gz::msgs::Pose_V pose_v)

◆ set_allocated_string_msg_v()

void set_allocated_string_msg_v ( ::gz::msgs::StringMsg_V string_msg_v)

◆ set_allocated_time()

void set_allocated_time ( ::gz::msgs::Time time)

◆ set_allocated_topic()

void set_allocated_topic ( ::std::string topic)
inline

References Packet::topic().

◆ set_allocated_type()

void set_allocated_type ( ::std::string type)
inline

References Packet::type().

◆ set_allocated_web_request()

void set_allocated_web_request ( ::gz::msgs::WebRequest web_request)

◆ set_allocated_world_stats()

void set_allocated_world_stats ( ::gz::msgs::WorldStatistics world_stats)

◆ set_topic() [1/3]

void set_topic ( const ::std::string value)
inline

◆ set_topic() [2/3]

void set_topic ( const char *  value)
inline

◆ set_topic() [3/3]

void set_topic ( const char *  value,
size_t  size 
)
inline

◆ set_type() [1/3]

void set_type ( const ::std::string value)
inline

◆ set_type() [2/3]

void set_type ( const char *  value)
inline

◆ set_type() [3/3]

void set_type ( const char *  value,
size_t  size 
)
inline

◆ string_msg_v()

const ::gz::msgs::StringMsg_V & string_msg_v ( ) const
inline

◆ Swap()

void Swap ( Packet other)

◆ time()

const ::gz::msgs::Time & time ( ) const
inline

◆ topic()

const ::std::string & topic ( ) const
inline

◆ type()

const ::std::string & type ( ) const
inline

◆ web_request()

const ::gz::msgs::WebRequest & web_request ( ) const
inline

◆ world_stats()

Member Data Documentation

◆ kClockFieldNumber

const int kClockFieldNumber = 11
static

◆ kCmdVel2DFieldNumber

const int kCmdVel2DFieldNumber = 3
static

◆ kDoublevFieldNumber

const int kDoublevFieldNumber = 8
static

◆ kImageFieldNumber

const int kImageFieldNumber = 4
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kPoseFieldNumber

const int kPoseFieldNumber = 7
static

◆ kPoseVFieldNumber

const int kPoseVFieldNumber = 9
static

◆ kStringMsgVFieldNumber

const int kStringMsgVFieldNumber = 5
static

◆ kTimeFieldNumber

const int kTimeFieldNumber = 10
static

◆ kTopicFieldNumber

const int kTopicFieldNumber = 1
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 2
static

◆ kWebRequestFieldNumber

const int kWebRequestFieldNumber = 6
static

◆ kWorldStatsFieldNumber

const int kWorldStatsFieldNumber = 12
static

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