Gazebo Msgs

API Reference

8.7.0

#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 ::ignition::msgs::Clockclock () const
 
const ::ignition::msgs::CmdVel2Dcmd_vel2d () const
 
ContentCase content_case () const
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Packet &from)
 
const ::ignition::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 ::ignition::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
 
::ignition::msgs::Clockmutable_clock ()
 
::ignition::msgs::CmdVel2Dmutable_cmd_vel2d ()
 
::ignition::msgs::Double_Vmutable_doublev ()
 
::ignition::msgs::Imagemutable_image ()
 
::ignition::msgs::Posemutable_pose ()
 
::ignition::msgs::Pose_Vmutable_pose_v ()
 
::ignition::msgs::StringMsg_Vmutable_string_msg_v ()
 
::ignition::msgs::Timemutable_time ()
 
::std::stringmutable_topic ()
 
::std::stringmutable_type ()
 
::ignition::msgs::WebRequestmutable_web_request ()
 
::ignition::msgs::WorldStatisticsmutable_world_stats ()
 
PacketNew () const final
 
PacketNew (::google::protobuf::Arena *arena) const final
 
Packetoperator= (const Packet &from)
 
const ::ignition::msgs::Posepose () const
 
const ::ignition::msgs::Pose_Vpose_v () const
 
::ignition::msgs::Clockrelease_clock ()
 
::ignition::msgs::CmdVel2Drelease_cmd_vel2d ()
 
::ignition::msgs::Double_Vrelease_doublev ()
 
::ignition::msgs::Imagerelease_image ()
 
::ignition::msgs::Poserelease_pose ()
 
::ignition::msgs::Pose_Vrelease_pose_v ()
 
::ignition::msgs::StringMsg_Vrelease_string_msg_v ()
 
::ignition::msgs::Timerelease_time ()
 
::std::stringrelease_topic ()
 
::std::stringrelease_type ()
 
::ignition::msgs::WebRequestrelease_web_request ()
 
::ignition::msgs::WorldStatisticsrelease_world_stats ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_clock (::ignition::msgs::Clock *clock)
 
void set_allocated_cmd_vel2d (::ignition::msgs::CmdVel2D *cmd_vel2d)
 
void set_allocated_doublev (::ignition::msgs::Double_V *doublev)
 
void set_allocated_image (::ignition::msgs::Image *image)
 
void set_allocated_pose (::ignition::msgs::Pose *pose)
 
void set_allocated_pose_v (::ignition::msgs::Pose_V *pose_v)
 
void set_allocated_string_msg_v (::ignition::msgs::StringMsg_V *string_msg_v)
 
void set_allocated_time (::ignition::msgs::Time *time)
 
void set_allocated_topic (::std::string *topic)
 
void set_allocated_type (::std::string *type)
 
void set_allocated_web_request (::ignition::msgs::WebRequest *web_request)
 
void set_allocated_world_stats (::ignition::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 ::ignition::msgs::StringMsg_Vstring_msg_v () const
 
void Swap (Packet *other)
 
const ::ignition::msgs::Timetime () const
 
const ::std::stringtopic () const
 
const ::std::stringtype () const
 
const ::ignition::msgs::WebRequestweb_request () const
 
const ::ignition::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()

◆ cmd_vel2d()

◆ 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()

◆ 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 ::ignition::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()

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

◆ mutable_cmd_vel2d()

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

◆ mutable_doublev()

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

◆ mutable_image()

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

◆ mutable_pose()

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

◆ mutable_pose_v()

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

◆ mutable_string_msg_v()

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

◆ mutable_time()

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

◆ mutable_topic()

std::string * mutable_topic ( )
inline

◆ mutable_type()

std::string * mutable_type ( )
inline

◆ mutable_web_request()

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

◆ mutable_world_stats()

ignition::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 ::ignition::msgs::Pose & pose ( ) const
inline

◆ pose_v()

◆ release_clock()

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

References Packet::has_clock().

◆ release_cmd_vel2d()

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

◆ release_doublev()

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

References Packet::has_doublev().

◆ release_image()

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

References Packet::has_image().

◆ release_pose()

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

References Packet::has_pose().

◆ release_pose_v()

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

References Packet::has_pose_v().

◆ release_string_msg_v()

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

◆ release_time()

ignition::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()

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

◆ release_world_stats()

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

◆ SerializeWithCachedSizes()

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

◆ set_allocated_clock()

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

◆ set_allocated_cmd_vel2d()

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

◆ set_allocated_doublev()

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

◆ set_allocated_image()

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

◆ set_allocated_pose()

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

◆ set_allocated_pose_v()

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

◆ set_allocated_string_msg_v()

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

◆ set_allocated_time()

void set_allocated_time ( ::ignition::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 ( ::ignition::msgs::WebRequest web_request)

◆ set_allocated_world_stats()

void set_allocated_world_stats ( ::ignition::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()

◆ Swap()

void Swap ( Packet other)

◆ time()

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

◆ topic()

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

◆ type()

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

◆ web_request()

◆ 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: