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

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

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

Public Types

typedef TCPServerEvent_Event Event
 
- Public Types inherited from google::protobuf::Message
typedef google::protobuf::Reflection Reflection
 

Public Member Functions

 TCPServerEvent ()
 
virtual ~TCPServerEvent ()
 
 TCPServerEvent (const TCPServerEvent &from)
 
TCPServerEventoperator= (const TCPServerEvent &from)
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (TCPServerEvent *other)
 
TCPServerEventNew () const final
 
TCPServerEventNew (::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 TCPServerEvent &from)
 
void MergeFrom (const TCPServerEvent &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_local_endpoint () const
 
void clear_local_endpoint ()
 
const ::goby::middleware::protobuf::TCPEndPointlocal_endpoint () const
 
::goby::middleware::protobuf::TCPEndPointrelease_local_endpoint ()
 
::goby::middleware::protobuf::TCPEndPointmutable_local_endpoint ()
 
void set_allocated_local_endpoint (::goby::middleware::protobuf::TCPEndPoint *local_endpoint)
 
bool has_remote_endpoint () const
 
void clear_remote_endpoint ()
 
const ::goby::middleware::protobuf::TCPEndPointremote_endpoint () const
 
::goby::middleware::protobuf::TCPEndPointrelease_remote_endpoint ()
 
::goby::middleware::protobuf::TCPEndPointmutable_remote_endpoint ()
 
void set_allocated_remote_endpoint (::goby::middleware::protobuf::TCPEndPoint *remote_endpoint)
 
bool has_event () const
 
void clear_event ()
 
::goby::middleware::protobuf::TCPServerEvent_Event event () const
 
void set_event (::goby::middleware::protobuf::TCPServerEvent_Event value)
 
bool has_number_of_clients () const
 
void clear_number_of_clients ()
 
::google::protobuf::int32 number_of_clients () const
 
void set_number_of_clients (::google::protobuf::int32 value)
 
bool has_index () const
 
void clear_index ()
 
::google::protobuf::int32 index () const
 
void set_index (::google::protobuf::int32 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 TCPServerEventdefault_instance ()
 
static void InitAsDefaultInstance ()
 
static const TCPServerEventinternal_default_instance ()
 
static bool Event_IsValid (int value)
 
static const ::google::protobuf::EnumDescriptor * Event_descriptor ()
 
static const ::std::string & Event_Name (Event value)
 
static bool Event_Parse (const ::std::string &name, Event *value)
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const Event EVENT_BIND
 
static const Event EVENT_CONNECT
 
static const Event EVENT_DISCONNECT
 
static const Event Event_MIN
 
static const Event Event_MAX
 
static const int Event_ARRAYSIZE
 
static const int kLocalEndpointFieldNumber = 3
 
static const int kRemoteEndpointFieldNumber = 4
 
static const int kEventFieldNumber = 2
 
static const int kNumberOfClientsFieldNumber = 5
 
static const int kIndexFieldNumber = 1
 

Friends

struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct
 
void swap (TCPServerEvent &a, TCPServerEvent &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 995 of file io.pb.h.

Member Typedef Documentation

◆ Event

Constructor & Destructor Documentation

◆ TCPServerEvent() [1/2]

goby::middleware::protobuf::TCPServerEvent::TCPServerEvent ( )

◆ ~TCPServerEvent()

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

◆ TCPServerEvent() [2/2]

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

Member Function Documentation

◆ ByteSizeLong()

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

Reimplemented from google::protobuf::Message.

◆ Clear()

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

Reimplemented from google::protobuf::Message.

◆ clear_event()

void goby::middleware::protobuf::TCPServerEvent::clear_event ( )
inline

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

◆ clear_index()

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

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

◆ clear_local_endpoint()

void goby::middleware::protobuf::TCPServerEvent::clear_local_endpoint ( )
inline

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

◆ clear_number_of_clients()

void goby::middleware::protobuf::TCPServerEvent::clear_number_of_clients ( )
inline

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

◆ clear_remote_endpoint()

void goby::middleware::protobuf::TCPServerEvent::clear_remote_endpoint ( )
inline

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

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

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

◆ default_instance()

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

◆ descriptor()

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

◆ event()

goby::middleware::protobuf::TCPServerEvent_Event goby::middleware::protobuf::TCPServerEvent::event ( ) const
inline

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

◆ Event_descriptor()

static const ::google::protobuf::EnumDescriptor* goby::middleware::protobuf::TCPServerEvent::Event_descriptor ( )
inlinestatic

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

◆ Event_IsValid()

static bool goby::middleware::protobuf::TCPServerEvent::Event_IsValid ( int  value)
inlinestatic

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

◆ Event_Name()

static const ::std::string& goby::middleware::protobuf::TCPServerEvent::Event_Name ( Event  value)
inlinestatic

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

◆ Event_Parse()

static bool goby::middleware::protobuf::TCPServerEvent::Event_Parse ( const ::std::string &  name,
Event value 
)
inlinestatic

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

◆ GetCachedSize()

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

Implements google::protobuf::MessageLite.

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

◆ GetMetadata()

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

◆ has_event()

bool goby::middleware::protobuf::TCPServerEvent::has_event ( ) const
inline

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

◆ has_index()

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

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

◆ has_local_endpoint()

bool goby::middleware::protobuf::TCPServerEvent::has_local_endpoint ( ) const
inline

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

◆ has_number_of_clients()

bool goby::middleware::protobuf::TCPServerEvent::has_number_of_clients ( ) const
inline

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

◆ has_remote_endpoint()

bool goby::middleware::protobuf::TCPServerEvent::has_remote_endpoint ( ) const
inline

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

◆ index()

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

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

◆ InitAsDefaultInstance()

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

◆ internal_default_instance()

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

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

◆ InternalSerializeWithCachedSizesToArray()

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

◆ IsInitialized()

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

Reimplemented from google::protobuf::Message.

◆ local_endpoint()

const ::goby::middleware::protobuf::TCPEndPoint & goby::middleware::protobuf::TCPServerEvent::local_endpoint ( ) const
inline

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

◆ MergeFrom() [1/2]

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

◆ MergeFrom() [2/2]

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

◆ MergePartialFromCodedStream()

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

◆ mutable_local_endpoint()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::TCPServerEvent::mutable_local_endpoint ( )
inline

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

◆ mutable_remote_endpoint()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::TCPServerEvent::mutable_remote_endpoint ( )
inline

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

◆ mutable_unknown_fields()

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

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

◆ New() [1/2]

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

Implements google::protobuf::Message.

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

◆ New() [2/2]

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

Reimplemented from google::protobuf::Message.

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

◆ number_of_clients()

google::protobuf::int32 goby::middleware::protobuf::TCPServerEvent::number_of_clients ( ) const
inline

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

◆ operator=()

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

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

◆ release_local_endpoint()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::TCPServerEvent::release_local_endpoint ( )
inline

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

◆ release_remote_endpoint()

goby::middleware::protobuf::TCPEndPoint * goby::middleware::protobuf::TCPServerEvent::release_remote_endpoint ( )
inline

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

◆ remote_endpoint()

const ::goby::middleware::protobuf::TCPEndPoint & goby::middleware::protobuf::TCPServerEvent::remote_endpoint ( ) const
inline

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

◆ SerializeWithCachedSizes()

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

◆ set_allocated_local_endpoint()

void goby::middleware::protobuf::TCPServerEvent::set_allocated_local_endpoint ( ::goby::middleware::protobuf::TCPEndPoint local_endpoint)
inline

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

◆ set_allocated_remote_endpoint()

void goby::middleware::protobuf::TCPServerEvent::set_allocated_remote_endpoint ( ::goby::middleware::protobuf::TCPEndPoint remote_endpoint)
inline

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

◆ set_event()

void goby::middleware::protobuf::TCPServerEvent::set_event ( ::goby::middleware::protobuf::TCPServerEvent_Event  value)
inline

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

◆ set_index()

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

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

◆ set_number_of_clients()

void goby::middleware::protobuf::TCPServerEvent::set_number_of_clients ( ::google::protobuf::int32  value)
inline

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

◆ Swap()

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

◆ unknown_fields()

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

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

Friends And Related Function Documentation

◆ ::protobuf_goby_2fmiddleware_2fprotobuf_2fio_2eproto::TableStruct

◆ swap

void swap ( TCPServerEvent a,
TCPServerEvent b 
)
friend

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

Member Data Documentation

◆ Event_ARRAYSIZE

const int goby::middleware::protobuf::TCPServerEvent::Event_ARRAYSIZE
static
Initial value:

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

◆ EVENT_BIND

const Event goby::middleware::protobuf::TCPServerEvent::EVENT_BIND
static
Initial value:

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

◆ EVENT_CONNECT

const Event goby::middleware::protobuf::TCPServerEvent::EVENT_CONNECT
static
Initial value:

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

◆ EVENT_DISCONNECT

const Event goby::middleware::protobuf::TCPServerEvent::EVENT_DISCONNECT
static
Initial value:

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

◆ Event_MAX

const Event goby::middleware::protobuf::TCPServerEvent::Event_MAX
static
Initial value:

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

◆ Event_MIN

const Event goby::middleware::protobuf::TCPServerEvent::Event_MIN
static
Initial value:

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

◆ kEventFieldNumber

const int goby::middleware::protobuf::TCPServerEvent::kEventFieldNumber = 2
static

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

◆ kIndexFieldNumber

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

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

◆ kIndexInFileMessages

constexpr int goby::middleware::protobuf::TCPServerEvent::kIndexInFileMessages
staticconstexpr
Initial value:
=
5

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

◆ kLocalEndpointFieldNumber

const int goby::middleware::protobuf::TCPServerEvent::kLocalEndpointFieldNumber = 3
static

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

◆ kNumberOfClientsFieldNumber

const int goby::middleware::protobuf::TCPServerEvent::kNumberOfClientsFieldNumber = 5
static

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

◆ kRemoteEndpointFieldNumber

const int goby::middleware::protobuf::TCPServerEvent::kRemoteEndpointFieldNumber = 4
static

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


The documentation for this class was generated from the following file:
goby::middleware::protobuf::TCPServerEvent_Event_EVENT_BIND
@ TCPServerEvent_Event_EVENT_BIND
Definition: io.pb.h:128
goby::middleware::protobuf::TCPServerEvent_Event_Event_ARRAYSIZE
const int TCPServerEvent_Event_Event_ARRAYSIZE
Definition: io.pb.h:135
goby::middleware::protobuf::TCPServerEvent_Event_Event_MIN
const TCPServerEvent_Event TCPServerEvent_Event_Event_MIN
Definition: io.pb.h:133
goby::middleware::protobuf::TCPServerEvent_Event_EVENT_CONNECT
@ TCPServerEvent_Event_EVENT_CONNECT
Definition: io.pb.h:129
goby::middleware::protobuf::TCPServerEvent_Event_Event_MAX
const TCPServerEvent_Event TCPServerEvent_Event_Event_MAX
Definition: io.pb.h:134
goby::middleware::protobuf::TCPServerEvent_Event_EVENT_DISCONNECT
@ TCPServerEvent_Event_EVENT_DISCONNECT
Definition: io.pb.h:130