Gazebo Msgs

API Reference

9.5.0

#include <any.pb.h>

Public Types

enum  ValueCase {
  kDoubleValue = 3, kIntValue = 4, kStringValue = 5, kBoolValue = 6,
  kVector3DValue = 7, kColorValue = 8, kPose3DValue = 9, kQuaternionValue = 10,
  kTimeValue = 11, VALUE_NOT_SET = 0
}
 
typedef Any_ValueType ValueType
 

Public Member Functions

 Any ()
 
 Any (const Any &from)
 
virtual ~Any ()
 
bool bool_value () const
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_bool_value ()
 
void clear_color_value ()
 
void clear_double_value ()
 
void clear_header ()
 
void clear_int_value ()
 
void clear_pose3d_value ()
 
void clear_quaternion_value ()
 
void clear_string_value ()
 
void clear_time_value ()
 
void clear_type ()
 
void clear_value ()
 
void clear_vector3d_value ()
 
const ::gz::msgs::Colorcolor_value () const
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Any &from)
 
double double_value () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_color_value () const
 
bool has_header () const
 
bool has_pose3d_value () const
 
bool has_quaternion_value () const
 
bool has_time_value () const
 
bool has_vector3d_value () const
 
const ::gz::msgs::Headerheader () const
 
::google::protobuf::int32 int_value () 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 Any &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::gz::msgs::Colormutable_color_value ()
 
::gz::msgs::Headermutable_header ()
 
::gz::msgs::Posemutable_pose3d_value ()
 
::gz::msgs::Quaternionmutable_quaternion_value ()
 
::std::stringmutable_string_value ()
 
::gz::msgs::Timemutable_time_value ()
 
::gz::msgs::Vector3dmutable_vector3d_value ()
 
AnyNew () const final
 
AnyNew (::google::protobuf::Arena *arena) const final
 
Anyoperator= (const Any &from)
 
const ::gz::msgs::Posepose3d_value () const
 
const ::gz::msgs::Quaternionquaternion_value () const
 
::gz::msgs::Colorrelease_color_value ()
 
::gz::msgs::Headerrelease_header ()
 
::gz::msgs::Poserelease_pose3d_value ()
 
::gz::msgs::Quaternionrelease_quaternion_value ()
 
::std::stringrelease_string_value ()
 
::gz::msgs::Timerelease_time_value ()
 
::gz::msgs::Vector3drelease_vector3d_value ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_color_value (::gz::msgs::Color *color_value)
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_allocated_pose3d_value (::gz::msgs::Pose *pose3d_value)
 
void set_allocated_quaternion_value (::gz::msgs::Quaternion *quaternion_value)
 
void set_allocated_string_value (::std::string *string_value)
 
void set_allocated_time_value (::gz::msgs::Time *time_value)
 
void set_allocated_vector3d_value (::gz::msgs::Vector3d *vector3d_value)
 
void set_bool_value (bool value)
 
void set_double_value (double value)
 
void set_int_value (::google::protobuf::int32 value)
 
void set_string_value (const ::std::string &value)
 
void set_string_value (const char *value)
 
void set_string_value (const char *value, size_t size)
 
void set_type (::gz::msgs::Any_ValueType value)
 
const ::std::stringstring_value () const
 
void Swap (Any *other)
 
const ::gz::msgs::Timetime_value () const
 
::gz::msgs::Any_ValueType type () const
 
ValueCase value_case () const
 
const ::gz::msgs::Vector3dvector3d_value () const
 

Static Public Member Functions

static const Anydefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Anyinternal_default_instance ()
 
static const ::google::protobuf::EnumDescriptor * ValueType_descriptor ()
 
static bool ValueType_IsValid (int value)
 
static const ::std::stringValueType_Name (ValueType value)
 
static bool ValueType_Parse (const ::std::string &name, ValueType *value)
 

Static Public Attributes

static const ValueType BOOLEAN
 
static const ValueType COLOR
 
static const ValueType DOUBLE
 
static const ValueType INT32
 
static const int kBoolValueFieldNumber = 6
 
static const int kColorValueFieldNumber = 8
 
static const int kDoubleValueFieldNumber = 3
 
static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 
static const int kIntValueFieldNumber = 4
 
static const int kPose3DValueFieldNumber = 9
 
static const int kQuaternionValueFieldNumber = 10
 
static const int kStringValueFieldNumber = 5
 
static const int kTimeValueFieldNumber = 11
 
static const int kTypeFieldNumber = 2
 
static const int kVector3DValueFieldNumber = 7
 
static const ValueType NONE
 
static const ValueType POSE3D
 
static const ValueType QUATERNIOND
 
static const ValueType STRING
 
static const ValueType TIME
 
static const int ValueType_ARRAYSIZE
 
static const ValueType ValueType_MAX
 
static const ValueType ValueType_MIN
 
static const ValueType VECTOR3D
 

Member Typedef Documentation

◆ ValueType

Member Enumeration Documentation

◆ ValueCase

enum ValueCase
Enumerator
kDoubleValue 
kIntValue 
kStringValue 
kBoolValue 
kVector3DValue 
kColorValue 
kPose3DValue 
kQuaternionValue 
kTimeValue 
VALUE_NOT_SET 

Constructor & Destructor Documentation

◆ Any() [1/2]

Any ( )

◆ ~Any()

virtual ~Any ( )
virtual

◆ Any() [2/2]

Any ( const Any from)

Member Function Documentation

◆ bool_value()

bool bool_value ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_bool_value()

void clear_bool_value ( )
inline

◆ clear_color_value()

void clear_color_value ( )

◆ clear_double_value()

void clear_double_value ( )
inline

◆ clear_header()

void clear_header ( )

◆ clear_int_value()

void clear_int_value ( )
inline

◆ clear_pose3d_value()

void clear_pose3d_value ( )

◆ clear_quaternion_value()

void clear_quaternion_value ( )

◆ clear_string_value()

void clear_string_value ( )
inline

◆ clear_time_value()

void clear_time_value ( )

◆ clear_type()

void clear_type ( )
inline

◆ clear_value()

◆ clear_vector3d_value()

void clear_vector3d_value ( )

◆ color_value()

const ::gz::msgs::Color & color_value ( ) const
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Any from)

◆ default_instance()

static const Any& default_instance ( )
static

◆ descriptor()

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

◆ double_value()

double double_value ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

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

◆ has_color_value()

bool has_color_value ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_pose3d_value()

bool has_pose3d_value ( ) const
inline

◆ has_quaternion_value()

bool has_quaternion_value ( ) const
inline

◆ has_time_value()

bool has_time_value ( ) const
inline

◆ has_vector3d_value()

bool has_vector3d_value ( ) const
inline

◆ header()

const ::gz::msgs::Header & header ( ) const
inline

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ int_value()

google::protobuf::int32 int_value ( ) const
inline

◆ internal_default_instance()

static const Any* 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 Any from)

◆ MergePartialFromCodedStream()

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

◆ mutable_color_value()

gz::msgs::Color * mutable_color_value ( )
inline

◆ mutable_header()

gz::msgs::Header * mutable_header ( )
inline

◆ mutable_pose3d_value()

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

◆ mutable_quaternion_value()

gz::msgs::Quaternion * mutable_quaternion_value ( )
inline

◆ mutable_string_value()

std::string * mutable_string_value ( )
inline

References Any::clear_value().

◆ mutable_time_value()

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

◆ mutable_vector3d_value()

gz::msgs::Vector3d * mutable_vector3d_value ( )
inline

◆ New() [1/2]

Any* New ( ) const
inlinefinal

◆ New() [2/2]

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

◆ operator=()

Any& operator= ( const Any from)
inline

◆ pose3d_value()

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

◆ quaternion_value()

const ::gz::msgs::Quaternion & quaternion_value ( ) const
inline

◆ release_color_value()

gz::msgs::Color * release_color_value ( )
inline

◆ release_header()

gz::msgs::Header * release_header ( )
inline

◆ release_pose3d_value()

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

◆ release_quaternion_value()

gz::msgs::Quaternion * release_quaternion_value ( )
inline

◆ release_string_value()

std::string * release_string_value ( )
inline

◆ release_time_value()

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

References Any::has_time_value().

◆ release_vector3d_value()

gz::msgs::Vector3d * release_vector3d_value ( )
inline

◆ SerializeWithCachedSizes()

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

◆ set_allocated_color_value()

void set_allocated_color_value ( ::gz::msgs::Color color_value)

◆ set_allocated_header()

void set_allocated_header ( ::gz::msgs::Header header)
inline

References Any::header().

◆ set_allocated_pose3d_value()

void set_allocated_pose3d_value ( ::gz::msgs::Pose pose3d_value)

◆ set_allocated_quaternion_value()

void set_allocated_quaternion_value ( ::gz::msgs::Quaternion quaternion_value)

◆ set_allocated_string_value()

void set_allocated_string_value ( ::std::string string_value)
inline

◆ set_allocated_time_value()

void set_allocated_time_value ( ::gz::msgs::Time time_value)

◆ set_allocated_vector3d_value()

void set_allocated_vector3d_value ( ::gz::msgs::Vector3d vector3d_value)

◆ set_bool_value()

void set_bool_value ( bool  value)
inline

References Any::clear_value().

◆ set_double_value()

void set_double_value ( double  value)
inline

References Any::clear_value().

◆ set_int_value()

void set_int_value ( ::google::protobuf::int32  value)
inline

References Any::clear_value().

◆ set_string_value() [1/3]

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

References Any::clear_value().

◆ set_string_value() [2/3]

void set_string_value ( const char *  value)
inline

References Any::clear_value().

◆ set_string_value() [3/3]

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

References Any::clear_value().

◆ set_type()

void set_type ( ::gz::msgs::Any_ValueType  value)
inline

◆ string_value()

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

◆ Swap()

void Swap ( Any other)

◆ time_value()

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

◆ type()

gz::msgs::Any_ValueType type ( ) const
inline

◆ value_case()

◆ ValueType_descriptor()

static const ::google::protobuf::EnumDescriptor* ValueType_descriptor ( )
inlinestatic

◆ ValueType_IsValid()

static bool ValueType_IsValid ( int  value)
inlinestatic

◆ ValueType_Name()

static const ::std::string& ValueType_Name ( ValueType  value)
inlinestatic

◆ ValueType_Parse()

static bool ValueType_Parse ( const ::std::string name,
ValueType value 
)
inlinestatic

◆ vector3d_value()

const ::gz::msgs::Vector3d & vector3d_value ( ) const
inline

Member Data Documentation

◆ BOOLEAN

const ValueType BOOLEAN
static
Initial value:

◆ COLOR

const ValueType COLOR
static
Initial value:

◆ DOUBLE

const ValueType DOUBLE
static
Initial value:

◆ INT32

const ValueType INT32
static
Initial value:

◆ kBoolValueFieldNumber

const int kBoolValueFieldNumber = 6
static

◆ kColorValueFieldNumber

const int kColorValueFieldNumber = 8
static

◆ kDoubleValueFieldNumber

const int kDoubleValueFieldNumber = 3
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kIntValueFieldNumber

const int kIntValueFieldNumber = 4
static

◆ kPose3DValueFieldNumber

const int kPose3DValueFieldNumber = 9
static

◆ kQuaternionValueFieldNumber

const int kQuaternionValueFieldNumber = 10
static

◆ kStringValueFieldNumber

const int kStringValueFieldNumber = 5
static

◆ kTimeValueFieldNumber

const int kTimeValueFieldNumber = 11
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 2
static

◆ kVector3DValueFieldNumber

const int kVector3DValueFieldNumber = 7
static

◆ NONE

const ValueType NONE
static
Initial value:

◆ POSE3D

const ValueType POSE3D
static
Initial value:

◆ QUATERNIOND

const ValueType QUATERNIOND
static
Initial value:

◆ STRING

const ValueType STRING
static
Initial value:

◆ TIME

const ValueType TIME
static
Initial value:

◆ ValueType_ARRAYSIZE

const int ValueType_ARRAYSIZE
static

◆ ValueType_MAX

const ValueType ValueType_MAX
static
Initial value:

◆ ValueType_MIN

const ValueType ValueType_MIN
static
Initial value:

◆ VECTOR3D

const ValueType VECTOR3D
static
Initial value:

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