Ignition Msgs

API Reference

8.2.0

#include <user_cmd.pb.h>

Public Types

typedef UserCmd_Type Type
 

Public Member Functions

 UserCmd ()
 
 UserCmd (const UserCmd &from)
 
virtual ~UserCmd ()
 
::ignition::msgs::Lightadd_light ()
 
::ignition::msgs::Modeladd_model ()
 
int ByteSize () const
 
void Clear ()
 
void clear_description ()
 
void clear_entity_name ()
 
void clear_header ()
 
void clear_id ()
 
void clear_light ()
 
void clear_model ()
 
void clear_type ()
 
void clear_world_control ()
 
void clear_wrench ()
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const UserCmd &from)
 
const ::std::stringdescription () const
 
const ::std::stringentity_name () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_header () const
 
bool has_world_control () const
 
bool has_wrench () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint32 id () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *output) const
 
bool IsInitialized () const
 
const ::ignition::msgs::Lightlight (int index) const
 
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > & light () const
 
int light_size () const
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const UserCmd &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
const ::ignition::msgs::Modelmodel (int index) const
 
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > & model () const
 
int model_size () const
 
::std::stringmutable_description ()
 
::std::stringmutable_entity_name ()
 
::ignition::msgs::Headermutable_header ()
 
::ignition::msgs::Lightmutable_light (int index)
 
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > * mutable_light ()
 
::ignition::msgs::Modelmutable_model (int index)
 
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > * mutable_model ()
 
::ignition::msgs::WorldControlmutable_world_control ()
 
::ignition::msgs::Wrenchmutable_wrench ()
 
UserCmdNew () const
 
UserCmdNew (::google::protobuf::Arena *arena) const
 
UserCmdoperator= (const UserCmd &from)
 
::std::stringrelease_description ()
 
::std::stringrelease_entity_name ()
 
::ignition::msgs::Headerrelease_header ()
 
::ignition::msgs::WorldControlrelease_world_control ()
 
::ignition::msgs::Wrenchrelease_wrench ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_description (::std::string *description)
 
void set_allocated_entity_name (::std::string *entity_name)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_world_control (::ignition::msgs::WorldControl *world_control)
 
void set_allocated_wrench (::ignition::msgs::Wrench *wrench)
 
void set_description (const ::std::string &value)
 
void set_description (const char *value)
 
void set_description (const char *value, size_t size)
 
void set_entity_name (const ::std::string &value)
 
void set_entity_name (const char *value)
 
void set_entity_name (const char *value, size_t size)
 
void set_id (::google::protobuf::uint32 value)
 
void set_type (::ignition::msgs::UserCmd_Type value)
 
void Swap (UserCmd *other)
 
::ignition::msgs::UserCmd_Type type () const
 
const ::ignition::msgs::WorldControlworld_control () const
 
const ::ignition::msgs::Wrenchwrench () const
 

Static Public Member Functions

static const UserCmddefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::EnumDescriptor * Type_descriptor ()
 
static bool Type_IsValid (int value)
 
static const ::std::stringType_Name (Type value)
 
static bool Type_Parse (const ::std::string &name, Type *value)
 

Static Public Attributes

static const int kDescriptionFieldNumber = 3
 
static const int kEntityNameFieldNumber = 7
 
static const int kHeaderFieldNumber = 1
 
static const int kIdFieldNumber = 2
 
static const int kLightFieldNumber = 6
 
static const int kModelFieldNumber = 5
 
static const int kTypeFieldNumber = 4
 
static const int kWorldControlFieldNumber = 8
 
static const int kWrenchFieldNumber = 9
 
static const Type MOVING
 
static const Type SCALING
 
static const int Type_ARRAYSIZE
 
static const Type Type_MAX
 
static const Type Type_MIN
 
static const Type WORLD_CONTROL
 
static const Type WRENCH
 

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fuser_5fcmd_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2fuser_5fcmd_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2fuser_5fcmd_2eproto ()
 

Member Typedef Documentation

◆ Type

typedef UserCmd_Type Type

Constructor & Destructor Documentation

◆ UserCmd() [1/2]

UserCmd ( )

◆ ~UserCmd()

virtual ~UserCmd ( )
virtual

◆ UserCmd() [2/2]

UserCmd ( const UserCmd from)

Member Function Documentation

◆ add_light()

ignition::msgs::Light * add_light ( )
inline

◆ add_model()

ignition::msgs::Model * add_model ( )
inline

◆ ByteSize()

int ByteSize ( ) const

◆ Clear()

void Clear ( )

◆ clear_description()

void clear_description ( )
inline

◆ clear_entity_name()

void clear_entity_name ( )
inline

◆ clear_header()

void clear_header ( )
inline

◆ clear_id()

void clear_id ( )
inline

◆ clear_light()

void clear_light ( )
inline

◆ clear_model()

void clear_model ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ clear_world_control()

void clear_world_control ( )
inline

◆ clear_wrench()

void clear_wrench ( )
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const UserCmd from)

◆ default_instance()

static const UserCmd& default_instance ( )
static

◆ description()

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

◆ descriptor()

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

◆ entity_name()

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inline

◆ GetMetadata()

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

◆ has_header()

bool has_header ( ) const
inline

◆ has_world_control()

bool has_world_control ( ) const
inline

◆ has_wrench()

bool has_wrench ( ) const
inline

◆ header()

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

◆ id()

google::protobuf::uint32 id ( ) const
inline

◆ InternalSerializeWithCachedSizesToArray()

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

◆ IsInitialized()

bool IsInitialized ( ) const

◆ light() [1/2]

const ::ignition::msgs::Light & light ( int  index) const
inline

◆ light() [2/2]

const ::google::protobuf::RepeatedPtrField<::ignition::msgs::Light > & light ( ) const
inline

◆ light_size()

int light_size ( ) const
inline

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

void MergeFrom ( const UserCmd from)

◆ MergePartialFromCodedStream()

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

◆ model() [1/2]

const ::ignition::msgs::Model & model ( int  index) const
inline

◆ model() [2/2]

const ::google::protobuf::RepeatedPtrField<::ignition::msgs::Model > & model ( ) const
inline

◆ model_size()

int model_size ( ) const
inline

◆ mutable_description()

std::string * mutable_description ( )
inline

◆ mutable_entity_name()

std::string * mutable_entity_name ( )
inline

◆ mutable_header()

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

◆ mutable_light() [1/2]

ignition::msgs::Light * mutable_light ( int  index)
inline

◆ mutable_light() [2/2]

google::protobuf::RepeatedPtrField<::ignition::msgs::Light > * mutable_light ( )
inline

◆ mutable_model() [1/2]

ignition::msgs::Model * mutable_model ( int  index)
inline

◆ mutable_model() [2/2]

google::protobuf::RepeatedPtrField<::ignition::msgs::Model > * mutable_model ( )
inline

◆ mutable_world_control()

ignition::msgs::WorldControl * mutable_world_control ( )
inline

◆ mutable_wrench()

ignition::msgs::Wrench * mutable_wrench ( )
inline

◆ New() [1/2]

UserCmd* New ( ) const
inline

References UserCmd::New().

Referenced by UserCmd::New().

◆ New() [2/2]

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

◆ operator=()

UserCmd& operator= ( const UserCmd from)
inline

◆ release_description()

std::string * release_description ( )
inline

◆ release_entity_name()

std::string * release_entity_name ( )
inline

◆ release_header()

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

◆ release_world_control()

ignition::msgs::WorldControl * release_world_control ( )
inline

◆ release_wrench()

ignition::msgs::Wrench * release_wrench ( )
inline

◆ SerializeWithCachedSizes()

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

◆ SerializeWithCachedSizesToArray()

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

◆ set_allocated_description()

void set_allocated_description ( ::std::string description)
inline

◆ set_allocated_entity_name()

void set_allocated_entity_name ( ::std::string entity_name)
inline

◆ set_allocated_header()

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

◆ set_allocated_world_control()

void set_allocated_world_control ( ::ignition::msgs::WorldControl world_control)
inline

◆ set_allocated_wrench()

void set_allocated_wrench ( ::ignition::msgs::Wrench wrench)
inline

◆ set_description() [1/3]

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

◆ set_description() [2/3]

void set_description ( const char *  value)
inline

◆ set_description() [3/3]

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

◆ set_entity_name() [1/3]

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

◆ set_entity_name() [2/3]

void set_entity_name ( const char *  value)
inline

◆ set_entity_name() [3/3]

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

◆ set_id()

void set_id ( ::google::protobuf::uint32  value)
inline

◆ set_type()

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

◆ Swap()

void Swap ( UserCmd other)

◆ type()

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

◆ Type_descriptor()

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

◆ Type_IsValid()

static bool Type_IsValid ( int  value)
inlinestatic

◆ Type_Name()

static const ::std::string& Type_Name ( Type  value)
inlinestatic

◆ Type_Parse()

static bool Type_Parse ( const ::std::string name,
Type value 
)
inlinestatic

◆ world_control()

const ::ignition::msgs::WorldControl & world_control ( ) const
inline

◆ wrench()

const ::ignition::msgs::Wrench & wrench ( ) const
inline

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2fuser_5fcmd_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fuser_5fcmd_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2fuser_5fcmd_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2fuser_5fcmd_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2fuser_5fcmd_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2fuser_5fcmd_2eproto ( )
friend

Member Data Documentation

◆ kDescriptionFieldNumber

const int kDescriptionFieldNumber = 3
static

◆ kEntityNameFieldNumber

const int kEntityNameFieldNumber = 7
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIdFieldNumber

const int kIdFieldNumber = 2
static

◆ kLightFieldNumber

const int kLightFieldNumber = 6
static

◆ kModelFieldNumber

const int kModelFieldNumber = 5
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 4
static

◆ kWorldControlFieldNumber

const int kWorldControlFieldNumber = 8
static

◆ kWrenchFieldNumber

const int kWrenchFieldNumber = 9
static

◆ MOVING

const Type MOVING
static
Initial value:

◆ SCALING

const Type SCALING
static
Initial value:

◆ Type_ARRAYSIZE

const int Type_ARRAYSIZE
static
Initial value:

◆ Type_MAX

const Type Type_MAX
static
Initial value:

◆ Type_MIN

const Type Type_MIN
static
Initial value:

◆ WORLD_CONTROL

const Type WORLD_CONTROL
static
Initial value:

◆ WRENCH

const Type WRENCH
static
Initial value:

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