Goby3  3.1.4
2024.02.22
goby::middleware::protobuf::SerialCommand Class Reference

#include <goby/middleware/protobuf/io.pb.h>

Inheritance diagram for goby::middleware::protobuf::SerialCommand:
google::protobuf::Message google::protobuf::MessageLite

Public Types

typedef SerialCommand_Command Command
 
- Public Types inherited from google::protobuf::Message
typedef google::protobuf::Reflection Reflection
 

Public Member Functions

 SerialCommand ()
 
virtual ~SerialCommand ()
 
 SerialCommand (const SerialCommand &from)
 
SerialCommandoperator= (const SerialCommand &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (SerialCommand *other)
 
SerialCommandNew () const final
 
SerialCommandNew (::google::protobuf::Arena *arena) const final
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const SerialCommand &from)
 
void MergeFrom (const SerialCommand &from)
 
void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_index () const
 
void clear_index ()
 
::google::protobuf::int32 index () const
 
void set_index (::google::protobuf::int32 value)
 
bool has_command () const
 
void clear_command ()
 
::goby::middleware::protobuf::SerialCommand_Command command () const
 
void set_command (::goby::middleware::protobuf::SerialCommand_Command value)
 
- Public Member Functions inherited from google::protobuf::Message
 Message ()
 
virtual ~Message ()
 
virtual void CopyFrom (const Message &from)
 
virtual void MergeFrom (const Message &from)
 
void CheckInitialized () const
 
void FindInitializationErrors (std::vector< string > *errors) const
 
string InitializationErrorString () const
 
virtual void DiscardUnknownFields ()
 
virtual size_t SpaceUsedLong () const
 
int SpaceUsed () const
 
string DebugString () const
 
string ShortDebugString () const
 
string Utf8DebugString () const
 
void PrintDebugString () const
 
bool ParseFromFileDescriptor (int file_descriptor)
 
bool ParsePartialFromFileDescriptor (int file_descriptor)
 
bool ParseFromIstream (std::istream *input)
 
bool ParsePartialFromIstream (std::istream *input)
 
bool SerializeToFileDescriptor (int file_descriptor) const
 
bool SerializePartialToFileDescriptor (int file_descriptor) const
 
bool SerializeToOstream (std::ostream *output) const
 
bool SerializePartialToOstream (std::ostream *output) const
 
virtual string GetTypeName () const
 
virtual void CheckTypeAndMergeFrom (const MessageLite &other)
 
virtual bool MergePartialFromCodedStream (io::CodedInputStream *input)
 
virtual void SerializeWithCachedSizes (io::CodedOutputStream *output) const
 
const Descriptor * GetDescriptor () const
 
virtual const ReflectionGetReflection () const final
 
- Public Member Functions inherited from google::protobuf::MessageLite
 MessageLite ()
 
virtual ~MessageLite ()
 
virtual ::google::protobuf::ArenaGetArena () const
 
virtual void * GetMaybeArenaPointer () const
 
bool ParseFromCodedStream (io::CodedInputStream *input)
 
bool ParsePartialFromCodedStream (io::CodedInputStream *input)
 
bool ParseFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParsePartialFromZeroCopyStream (io::ZeroCopyInputStream *input)
 
bool ParseFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParsePartialFromBoundedZeroCopyStream (io::ZeroCopyInputStream *input, int size)
 
bool ParseFromString (const string &data)
 
bool ParsePartialFromString (const string &data)
 
bool ParseFromArray (const void *data, int size)
 
bool ParsePartialFromArray (const void *data, int size)
 
bool MergeFromCodedStream (io::CodedInputStream *input)
 
bool SerializeToCodedStream (io::CodedOutputStream *output) const
 
bool SerializePartialToCodedStream (io::CodedOutputStream *output) const
 
bool SerializeToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializePartialToZeroCopyStream (io::ZeroCopyOutputStream *output) const
 
bool SerializeToString (string *output) const
 
bool SerializePartialToString (string *output) const
 
bool SerializeToArray (void *data, int size) const
 
bool SerializePartialToArray (void *data, int size) const
 
string SerializeAsString () const
 
string SerializePartialAsString () const
 
bool AppendToString (string *output) const
 
bool AppendPartialToString (string *output) const
 
int ByteSize () const
 
virtual uint8 * SerializeWithCachedSizesToArray (uint8 *target) const
 
virtual uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, uint8 *target) const
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const SerialCommanddefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const SerialCommandinternal_default_instance ()
 
static bool Command_IsValid (int value)
 
static const ::google::protobuf::EnumDescriptor * Command_descriptor ()
 
static const ::std::string & Command_Name (Command value)
 
static bool Command_Parse (const ::std::string &name, Command *value)
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const Command SEND_BREAK
 
static const Command RTS_HIGH
 
static const Command RTS_LOW
 
static const Command DTR_HIGH
 
static const Command DTR_LOW
 
static const Command Command_MIN
 
static const Command Command_MAX
 
static const int Command_ARRAYSIZE
 
static const int kIndexFieldNumber = 1
 
static const int kCommandFieldNumber = 2
 

Friends

struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct
 
void swap (SerialCommand &a, SerialCommand &b)
 

Additional Inherited Members

- Static Protected Member Functions inherited from google::protobuf::MessageLite
template<typename T >
::google::protobuf::internal::RepeatedPtrFieldBase * CastToBase (::google::protobuf::RepeatedPtrField< T > *repeated)
 
template<typename T >
static const ::google::protobuf::internal::RepeatedPtrFieldBase & CastToBase (const ::google::protobuf::RepeatedPtrField< T > &repeated)
 
template<typename T >
static T * CreateMaybeMessage (Arena *arena)
 

Detailed Description

Definition at line 705 of file io.pb.h.

Member Typedef Documentation

◆ Command

Constructor & Destructor Documentation

◆ SerialCommand() [1/2]

goby::middleware::protobuf::SerialCommand::SerialCommand ( )

◆ ~SerialCommand()

virtual goby::middleware::protobuf::SerialCommand::~SerialCommand ( )
virtual

◆ SerialCommand() [2/2]

goby::middleware::protobuf::SerialCommand::SerialCommand ( const SerialCommand from)

Member Function Documentation

◆ ByteSizeLong()

size_t goby::middleware::protobuf::SerialCommand::ByteSizeLong ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ Clear()

void goby::middleware::protobuf::SerialCommand::Clear ( )
finalvirtual

Reimplemented from google::protobuf::Message.

◆ clear_command()

void goby::middleware::protobuf::SerialCommand::clear_command ( )
inline

Definition at line 2211 of file io.pb.h.

◆ clear_index()

void goby::middleware::protobuf::SerialCommand::clear_index ( )
inline

Definition at line 2187 of file io.pb.h.

◆ command()

goby::middleware::protobuf::SerialCommand_Command goby::middleware::protobuf::SerialCommand::command ( ) const
inline

Definition at line 2215 of file io.pb.h.

◆ Command_descriptor()

static const ::google::protobuf::EnumDescriptor* goby::middleware::protobuf::SerialCommand::Command_descriptor ( )
inlinestatic

Definition at line 818 of file io.pb.h.

◆ Command_IsValid()

static bool goby::middleware::protobuf::SerialCommand::Command_IsValid ( int  value)
inlinestatic

Definition at line 808 of file io.pb.h.

◆ Command_Name()

static const ::std::string& goby::middleware::protobuf::SerialCommand::Command_Name ( Command  value)
inlinestatic

Definition at line 821 of file io.pb.h.

◆ Command_Parse()

static bool goby::middleware::protobuf::SerialCommand::Command_Parse ( const ::std::string &  name,
Command value 
)
inlinestatic

Definition at line 824 of file io.pb.h.

◆ CopyFrom() [1/2]

void goby::middleware::protobuf::SerialCommand::CopyFrom ( const ::google::protobuf::Message from)
final

◆ CopyFrom() [2/2]

void goby::middleware::protobuf::SerialCommand::CopyFrom ( const SerialCommand from)

◆ default_instance()

static const SerialCommand& goby::middleware::protobuf::SerialCommand::default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* goby::middleware::protobuf::SerialCommand::descriptor ( )
static

◆ GetCachedSize()

int goby::middleware::protobuf::SerialCommand::GetCachedSize ( ) const
inlinefinalvirtual

Implements google::protobuf::MessageLite.

Definition at line 777 of file io.pb.h.

◆ GetMetadata()

::google::protobuf::Metadata goby::middleware::protobuf::SerialCommand::GetMetadata ( ) const
finalvirtual

◆ has_command()

bool goby::middleware::protobuf::SerialCommand::has_command ( ) const
inline

Definition at line 2202 of file io.pb.h.

◆ has_index()

bool goby::middleware::protobuf::SerialCommand::has_index ( ) const
inline

Definition at line 2178 of file io.pb.h.

◆ index()

google::protobuf::int32 goby::middleware::protobuf::SerialCommand::index ( ) const
inline

Definition at line 2191 of file io.pb.h.

◆ InitAsDefaultInstance()

static void goby::middleware::protobuf::SerialCommand::InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const SerialCommand* goby::middleware::protobuf::SerialCommand::internal_default_instance ( )
inlinestatic

Definition at line 742 of file io.pb.h.

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* goby::middleware::protobuf::SerialCommand::InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool goby::middleware::protobuf::SerialCommand::IsInitialized ( ) const
finalvirtual

Reimplemented from google::protobuf::Message.

◆ MergeFrom() [1/2]

void goby::middleware::protobuf::SerialCommand::MergeFrom ( const ::google::protobuf::Message from)
final

◆ MergeFrom() [2/2]

void goby::middleware::protobuf::SerialCommand::MergeFrom ( const SerialCommand from)

◆ MergePartialFromCodedStream()

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

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet* goby::middleware::protobuf::SerialCommand::mutable_unknown_fields ( )
inline

Definition at line 734 of file io.pb.h.

◆ New() [1/2]

SerialCommand* goby::middleware::protobuf::SerialCommand::New ( ) const
inlinefinalvirtual

Implements google::protobuf::Message.

Definition at line 756 of file io.pb.h.

◆ New() [2/2]

SerialCommand* goby::middleware::protobuf::SerialCommand::New ( ::google::protobuf::Arena arena) const
inlinefinalvirtual

Reimplemented from google::protobuf::Message.

Definition at line 760 of file io.pb.h.

◆ operator=()

SerialCommand& goby::middleware::protobuf::SerialCommand::operator= ( const SerialCommand from)
inline

Definition at line 712 of file io.pb.h.

◆ SerializeWithCachedSizes()

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

◆ set_command()

void goby::middleware::protobuf::SerialCommand::set_command ( ::goby::middleware::protobuf::SerialCommand_Command  value)
inline

Definition at line 2219 of file io.pb.h.

◆ set_index()

void goby::middleware::protobuf::SerialCommand::set_index ( ::google::protobuf::int32  value)
inline

Definition at line 2195 of file io.pb.h.

◆ Swap()

void goby::middleware::protobuf::SerialCommand::Swap ( SerialCommand other)

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet& goby::middleware::protobuf::SerialCommand::unknown_fields ( ) const
inline

Definition at line 731 of file io.pb.h.

Friends And Related Function Documentation

◆ ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct

◆ swap

void swap ( SerialCommand a,
SerialCommand b 
)
friend

Definition at line 750 of file io.pb.h.

Member Data Documentation

◆ Command_ARRAYSIZE

const int goby::middleware::protobuf::SerialCommand::Command_ARRAYSIZE
static
Initial value:

Definition at line 815 of file io.pb.h.

◆ Command_MAX

const Command goby::middleware::protobuf::SerialCommand::Command_MAX
static
Initial value:

Definition at line 813 of file io.pb.h.

◆ Command_MIN

const Command goby::middleware::protobuf::SerialCommand::Command_MIN
static
Initial value:

Definition at line 811 of file io.pb.h.

◆ DTR_HIGH

const Command goby::middleware::protobuf::SerialCommand::DTR_HIGH
static
Initial value:

Definition at line 804 of file io.pb.h.

◆ DTR_LOW

const Command goby::middleware::protobuf::SerialCommand::DTR_LOW
static
Initial value:

Definition at line 806 of file io.pb.h.

◆ kCommandFieldNumber

const int goby::middleware::protobuf::SerialCommand::kCommandFieldNumber = 2
static

Definition at line 841 of file io.pb.h.

◆ kIndexFieldNumber

const int goby::middleware::protobuf::SerialCommand::kIndexFieldNumber = 1
static

Definition at line 834 of file io.pb.h.

◆ kIndexInFileMessages

constexpr int goby::middleware::protobuf::SerialCommand::kIndexInFileMessages
staticconstexpr
Initial value:
=
3

Definition at line 746 of file io.pb.h.

◆ RTS_HIGH

const Command goby::middleware::protobuf::SerialCommand::RTS_HIGH
static
Initial value:

Definition at line 800 of file io.pb.h.

◆ RTS_LOW

const Command goby::middleware::protobuf::SerialCommand::RTS_LOW
static
Initial value:

Definition at line 802 of file io.pb.h.

◆ SEND_BREAK

const Command goby::middleware::protobuf::SerialCommand::SEND_BREAK
static
Initial value:

Definition at line 798 of file io.pb.h.


The documentation for this class was generated from the following file:
goby::middleware::protobuf::SerialCommand_Command_Command_ARRAYSIZE
const int SerialCommand_Command_Command_ARRAYSIZE
Definition: io.pb.h:115
goby::middleware::protobuf::SerialCommand_Command_DTR_LOW
@ SerialCommand_Command_DTR_LOW
Definition: io.pb.h:110
goby::middleware::protobuf::SerialCommand_Command_RTS_HIGH
@ SerialCommand_Command_RTS_HIGH
Definition: io.pb.h:107
goby::middleware::protobuf::SerialCommand_Command_Command_MIN
const SerialCommand_Command SerialCommand_Command_Command_MIN
Definition: io.pb.h:113
goby::middleware::protobuf::SerialCommand_Command_Command_MAX
const SerialCommand_Command SerialCommand_Command_Command_MAX
Definition: io.pb.h:114
goby::middleware::protobuf::SerialCommand_Command_SEND_BREAK
@ SerialCommand_Command_SEND_BREAK
Definition: io.pb.h:106
goby::middleware::protobuf::SerialCommand_Command_RTS_LOW
@ SerialCommand_Command_RTS_LOW
Definition: io.pb.h:108
goby::middleware::protobuf::SerialCommand_Command_DTR_HIGH
@ SerialCommand_Command_DTR_HIGH
Definition: io.pb.h:109