Ignition Msgs

API Reference

5.6.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
 
int ByteSize () const
 
void Clear ()
 
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_vector3d_value ()
 
const ::ignition::msgs::Colorcolor_value () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Any &from)
 
double double_value () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
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 ::ignition::msgs::Headerheader () const
 
::google::protobuf::int32 int_value () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *output) const
 
bool IsInitialized () const
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const Any &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
::ignition::msgs::Colormutable_color_value ()
 
::ignition::msgs::Headermutable_header ()
 
::ignition::msgs::Posemutable_pose3d_value ()
 
::ignition::msgs::Quaternionmutable_quaternion_value ()
 
::std::stringmutable_string_value ()
 
::ignition::msgs::Timemutable_time_value ()
 
::ignition::msgs::Vector3dmutable_vector3d_value ()
 
AnyNew () const
 
AnyNew (::google::protobuf::Arena *arena) const
 
Anyoperator= (const Any &from)
 
const ::ignition::msgs::Posepose3d_value () const
 
const ::ignition::msgs::Quaternionquaternion_value () const
 
::ignition::msgs::Colorrelease_color_value ()
 
::ignition::msgs::Headerrelease_header ()
 
::ignition::msgs::Poserelease_pose3d_value ()
 
::ignition::msgs::Quaternionrelease_quaternion_value ()
 
::std::stringrelease_string_value ()
 
::ignition::msgs::Timerelease_time_value ()
 
::ignition::msgs::Vector3drelease_vector3d_value ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_color_value (::ignition::msgs::Color *color_value)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_pose3d_value (::ignition::msgs::Pose *pose3d_value)
 
void set_allocated_quaternion_value (::ignition::msgs::Quaternion *quaternion_value)
 
void set_allocated_string_value (::std::string *string_value)
 
void set_allocated_time_value (::ignition::msgs::Time *time_value)
 
void set_allocated_vector3d_value (::ignition::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 (::ignition::msgs::Any_ValueType value)
 
const ::std::stringstring_value () const
 
void Swap (Any *other)
 
const ::ignition::msgs::Timetime_value () const
 
::ignition::msgs::Any_ValueType type () const
 
ValueCase value_case () const
 
const ::ignition::msgs::Vector3dvector3d_value () const
 

Static Public Member Functions

static const Anydefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
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 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
 

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fany_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2fany_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2fany_2eproto ()
 

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

◆ ByteSize()

int ByteSize ( ) const

◆ Clear()

void Clear ( )

◆ clear_bool_value()

void clear_bool_value ( )
inline

◆ clear_color_value()

void clear_color_value ( )
inline

◆ clear_double_value()

void clear_double_value ( )
inline

◆ clear_header()

void clear_header ( )
inline

◆ clear_int_value()

void clear_int_value ( )
inline

◆ clear_pose3d_value()

void clear_pose3d_value ( )
inline

◆ clear_quaternion_value()

void clear_quaternion_value ( )
inline

◆ clear_string_value()

void clear_string_value ( )
inline

◆ clear_time_value()

void clear_time_value ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ clear_vector3d_value()

void clear_vector3d_value ( )
inline

◆ color_value()

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

◆ CopyFrom() [1/2]

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

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

◆ GetMetadata()

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

◆ 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 ::ignition::msgs::Header & header ( ) const
inline

◆ int_value()

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

◆ InternalSerializeWithCachedSizesToArray()

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

◆ IsInitialized()

bool IsInitialized ( ) const

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

void MergeFrom ( const Any from)

◆ MergePartialFromCodedStream()

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

◆ mutable_color_value()

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

◆ mutable_header()

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

◆ mutable_pose3d_value()

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

◆ mutable_quaternion_value()

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

◆ mutable_string_value()

std::string * mutable_string_value ( )
inline

◆ mutable_time_value()

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

◆ mutable_vector3d_value()

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

◆ New() [1/2]

Any* New ( ) const
inline

References Any::New().

Referenced by Any::New().

◆ New() [2/2]

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

◆ operator=()

Any& operator= ( const Any from)
inline

◆ pose3d_value()

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

◆ quaternion_value()

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

◆ release_color_value()

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

◆ release_header()

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

◆ release_pose3d_value()

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

◆ release_quaternion_value()

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

◆ release_string_value()

std::string * release_string_value ( )
inline

◆ release_time_value()

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

◆ release_vector3d_value()

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

◆ SerializeWithCachedSizes()

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

◆ SerializeWithCachedSizesToArray()

::google::protobuf::uint8* SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 *  output) const
inline

◆ set_allocated_color_value()

void set_allocated_color_value ( ::ignition::msgs::Color color_value)
inline

◆ set_allocated_header()

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

◆ set_allocated_pose3d_value()

void set_allocated_pose3d_value ( ::ignition::msgs::Pose pose3d_value)
inline

◆ set_allocated_quaternion_value()

void set_allocated_quaternion_value ( ::ignition::msgs::Quaternion quaternion_value)
inline

◆ set_allocated_string_value()

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

◆ set_allocated_time_value()

void set_allocated_time_value ( ::ignition::msgs::Time time_value)
inline

◆ set_allocated_vector3d_value()

void set_allocated_vector3d_value ( ::ignition::msgs::Vector3d vector3d_value)
inline

◆ set_bool_value()

void set_bool_value ( bool  value)
inline

◆ set_double_value()

void set_double_value ( double  value)
inline

◆ set_int_value()

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

◆ set_string_value() [1/3]

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

◆ set_string_value() [2/3]

void set_string_value ( const char *  value)
inline

◆ set_string_value() [3/3]

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

◆ set_type()

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

◆ string_value()

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

◆ Swap()

void Swap ( Any other)

◆ time_value()

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

◆ type()

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

◆ value_case()

Any::ValueCase value_case ( ) const
inline

◆ 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 ::ignition::msgs::Vector3d & vector3d_value ( ) const
inline

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2fany_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fany_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2fany_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2fany_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2fany_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2fany_2eproto ( )
friend

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

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