Ignition Msgs

API Reference

7.1.0

#include <image.pb.h>

Public Member Functions

 Image ()
 
 Image (const Image &from)
 
virtual ~Image ()
 
int ByteSize () const
 
void Clear ()
 
void clear_data ()
 
void clear_header ()
 
void clear_height ()
 
void clear_pixel_format_type ()
 
void clear_step ()
 
void clear_width ()
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Image &from)
 
const ::std::stringdata () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint32 height () 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 Image &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
::std::stringmutable_data ()
 
::ignition::msgs::Headermutable_header ()
 
ImageNew () const
 
ImageNew (::google::protobuf::Arena *arena) const
 
Imageoperator= (const Image &from)
 
::ignition::msgs::PixelFormatType pixel_format_type () const
 
::std::stringrelease_data ()
 
::ignition::msgs::Headerrelease_header ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_data (::std::string *data)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_data (const ::std::string &value)
 
void set_data (const char *value)
 
void set_data (const void *value, size_t size)
 
void set_height (::google::protobuf::uint32 value)
 
void set_pixel_format_type (::ignition::msgs::PixelFormatType value)
 
void set_step (::google::protobuf::uint32 value)
 
void set_width (::google::protobuf::uint32 value)
 
::google::protobuf::uint32 step () const
 
void Swap (Image *other)
 
::google::protobuf::uint32 width () const
 

Static Public Member Functions

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

Static Public Attributes

static const int kDataFieldNumber = 5
 
static const int kHeaderFieldNumber = 1
 
static const int kHeightFieldNumber = 3
 
static const int kPixelFormatTypeFieldNumber = 6
 
static const int kStepFieldNumber = 4
 
static const int kWidthFieldNumber = 2
 

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fimage_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2fimage_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2fimage_2eproto ()
 

Constructor & Destructor Documentation

◆ Image() [1/2]

Image ( )

◆ ~Image()

virtual ~Image ( )
virtual

◆ Image() [2/2]

Image ( const Image from)

Member Function Documentation

◆ ByteSize()

int ByteSize ( ) const

◆ Clear()

void Clear ( )

◆ clear_data()

void clear_data ( )
inline

◆ clear_header()

void clear_header ( )
inline

◆ clear_height()

void clear_height ( )
inline

◆ clear_pixel_format_type()

void clear_pixel_format_type ( )
inline

◆ clear_step()

void clear_step ( )
inline

◆ clear_width()

void clear_width ( )
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Image from)

◆ data()

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

◆ default_instance()

static const Image& default_instance ( )
static

Referenced by Packet::image().

◆ descriptor()

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

◆ GetCachedSize()

int GetCachedSize ( ) const
inline

◆ GetMetadata()

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

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ height()

google::protobuf::uint32 height ( ) 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 Image from)

◆ MergePartialFromCodedStream()

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

◆ mutable_data()

std::string * mutable_data ( )
inline

◆ mutable_header()

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

◆ New() [1/2]

Image* New ( ) const
inline

References Image::New().

Referenced by Image::New().

◆ New() [2/2]

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

◆ operator=()

Image& operator= ( const Image from)
inline

◆ pixel_format_type()

ignition::msgs::PixelFormatType pixel_format_type ( ) const
inline

◆ release_data()

std::string * release_data ( )
inline

◆ release_header()

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

◆ SerializeWithCachedSizes()

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

◆ SerializeWithCachedSizesToArray()

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

◆ set_allocated_data()

void set_allocated_data ( ::std::string data)
inline

◆ set_allocated_header()

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

◆ set_data() [1/3]

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

◆ set_data() [2/3]

void set_data ( const char *  value)
inline

◆ set_data() [3/3]

void set_data ( const void *  value,
size_t  size 
)
inline

◆ set_height()

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

◆ set_pixel_format_type()

void set_pixel_format_type ( ::ignition::msgs::PixelFormatType  value)
inline

◆ set_step()

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

◆ set_width()

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

◆ step()

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

◆ Swap()

void Swap ( Image other)

◆ width()

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

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2fimage_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fimage_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2fimage_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2fimage_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2fimage_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2fimage_2eproto ( )
friend

Member Data Documentation

◆ kDataFieldNumber

const int kDataFieldNumber = 5
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kHeightFieldNumber

const int kHeightFieldNumber = 3
static

◆ kPixelFormatTypeFieldNumber

const int kPixelFormatTypeFieldNumber = 6
static

◆ kStepFieldNumber

const int kStepFieldNumber = 4
static

◆ kWidthFieldNumber

const int kWidthFieldNumber = 2
static

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