Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
goby::middleware::protobuf::TCPServerEvent Class Referencefinal

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

Inheritance diagram for goby::middleware::protobuf::TCPServerEvent:

Public Types

enum  : int {
  kLocalEndpointFieldNumber = 3 , kRemoteEndpointFieldNumber = 4 , kEventFieldNumber = 2 , kNumberOfClientsFieldNumber = 5 ,
  kIndexFieldNumber = 1
}
 
typedef TCPServerEvent_Event Event
 

Public Member Functions

 TCPServerEvent ()
 
 ~TCPServerEvent () override
 
PROTOBUF_CONSTEXPR TCPServerEvent (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 TCPServerEvent (const TCPServerEvent &from)
 
 TCPServerEvent (TCPServerEvent &&from) noexcept
 
TCPServerEventoperator= (const TCPServerEvent &from)
 
TCPServerEventoperator= (TCPServerEvent &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (TCPServerEvent *other)
 
void UnsafeArenaSwap (TCPServerEvent *other)
 
TCPServerEventNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const TCPServerEvent &from)
 
void MergeFrom (const TCPServerEvent &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_local_endpoint () const
 
void clear_local_endpoint ()
 
const ::goby::middleware::protobuf::TCPEndPointlocal_endpoint () const
 
PROTOBUF_NODISCARD::goby::middleware::protobuf::TCPEndPoint * release_local_endpoint ()
 
::goby::middleware::protobuf::TCPEndPointmutable_local_endpoint ()
 
void set_allocated_local_endpoint (::goby::middleware::protobuf::TCPEndPoint *local_endpoint)
 
void unsafe_arena_set_allocated_local_endpoint (::goby::middleware::protobuf::TCPEndPoint *local_endpoint)
 
::goby::middleware::protobuf::TCPEndPointunsafe_arena_release_local_endpoint ()
 
bool has_remote_endpoint () const
 
void clear_remote_endpoint ()
 
const ::goby::middleware::protobuf::TCPEndPointremote_endpoint () const
 
PROTOBUF_NODISCARD::goby::middleware::protobuf::TCPEndPoint * release_remote_endpoint ()
 
::goby::middleware::protobuf::TCPEndPointmutable_remote_endpoint ()
 
void set_allocated_remote_endpoint (::goby::middleware::protobuf::TCPEndPoint *remote_endpoint)
 
void unsafe_arena_set_allocated_remote_endpoint (::goby::middleware::protobuf::TCPEndPoint *remote_endpoint)
 
::goby::middleware::protobuf::TCPEndPointunsafe_arena_release_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 ()
 
int32_t number_of_clients () const
 
void set_number_of_clients (int32_t value)
 
bool has_index () const
 
void clear_index ()
 
int32_t index () const
 
void set_index (int32_t value)
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const TCPServerEventdefault_instance ()
 
static const TCPServerEventinternal_default_instance ()
 
static bool Event_IsValid (int value)
 
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Event_descriptor ()
 
template<typename T >
static const std::string & Event_Name (T enum_t_value)
 
static bool Event_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Event *value)
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 
static constexpr Event EVENT_BIND
 
static constexpr Event EVENT_CONNECT
 
static constexpr Event EVENT_DISCONNECT
 
static constexpr Event Event_MIN
 
static constexpr Event Event_MAX
 
static constexpr int Event_ARRAYSIZE
 

Protected Member Functions

 TCPServerEvent (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Friends

class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
 
template<typename T >
class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
 
struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2fio_2eproto
 
void swap (TCPServerEvent &a, TCPServerEvent &b)
 

Detailed Description

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

Member Typedef Documentation

◆ Event

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kLocalEndpointFieldNumber 
kRemoteEndpointFieldNumber 
kEventFieldNumber 
kNumberOfClientsFieldNumber 
kIndexFieldNumber 

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

Constructor & Destructor Documentation

◆ TCPServerEvent() [1/5]

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

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

◆ ~TCPServerEvent()

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

◆ TCPServerEvent() [2/5]

PROTOBUF_CONSTEXPR goby::middleware::protobuf::TCPServerEvent::TCPServerEvent ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ TCPServerEvent() [3/5]

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

◆ TCPServerEvent() [4/5]

goby::middleware::protobuf::TCPServerEvent::TCPServerEvent ( TCPServerEvent &&  from)
inlinenoexcept

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

◆ TCPServerEvent() [5/5]

goby::middleware::protobuf::TCPServerEvent::TCPServerEvent ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char * goby::middleware::protobuf::TCPServerEvent::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t * goby::middleware::protobuf::TCPServerEvent::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

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

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void goby::middleware::protobuf::TCPServerEvent::Clear ( )
final

◆ clear_event()

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

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

◆ clear_index()

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

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

◆ clear_local_endpoint()

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

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

◆ clear_number_of_clients()

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

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

◆ clear_remote_endpoint()

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

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

◆ CopyFrom()

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

◆ default_instance()

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

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

◆ descriptor()

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

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

◆ event()

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

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

◆ Event_descriptor()

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

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

◆ Event_IsValid()

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

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

◆ Event_Name()

template<typename T >
static const std::string & goby::middleware::protobuf::TCPServerEvent::Event_Name ( enum_t_value)
inlinestatic

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

◆ Event_Parse()

static bool goby::middleware::protobuf::TCPServerEvent::Event_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
Event value 
)
inlinestatic

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

◆ GetCachedSize()

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

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

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * goby::middleware::protobuf::TCPServerEvent::GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * goby::middleware::protobuf::TCPServerEvent::GetDescriptor ( )
inlinestatic

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

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata goby::middleware::protobuf::TCPServerEvent::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection * goby::middleware::protobuf::TCPServerEvent::GetReflection ( )
inlinestatic

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

◆ has_event()

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

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

◆ has_index()

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

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

◆ has_local_endpoint()

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

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

◆ has_number_of_clients()

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

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

◆ has_remote_endpoint()

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

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

◆ index()

int32_t goby::middleware::protobuf::TCPServerEvent::index ( ) const
inline

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

◆ internal_default_instance()

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

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

◆ IsInitialized()

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

◆ local_endpoint()

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

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

◆ MergeFrom()

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

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

◆ mutable_local_endpoint()

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

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

◆ mutable_remote_endpoint()

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

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

◆ mutable_unknown_fields()

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

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

◆ New()

TCPServerEvent * goby::middleware::protobuf::TCPServerEvent::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

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

◆ number_of_clients()

int32_t goby::middleware::protobuf::TCPServerEvent::number_of_clients ( ) const
inline

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

TCPServerEvent & goby::middleware::protobuf::TCPServerEvent::operator= ( TCPServerEvent &&  from)
inlinenoexcept

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

◆ release_local_endpoint()

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

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

◆ release_remote_endpoint()

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

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

◆ remote_endpoint()

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

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

◆ set_allocated_local_endpoint()

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

Definition at line 3143 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 3233 of file io.pb.h.

◆ set_event()

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

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

◆ set_index()

void goby::middleware::protobuf::TCPServerEvent::set_index ( int32_t  value)
inline

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

◆ set_number_of_clients()

void goby::middleware::protobuf::TCPServerEvent::set_number_of_clients ( int32_t  value)
inline

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

◆ Swap()

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

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

◆ unknown_fields()

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

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

◆ unsafe_arena_release_local_endpoint()

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

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

◆ unsafe_arena_release_remote_endpoint()

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

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

◆ unsafe_arena_set_allocated_local_endpoint()

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

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

◆ unsafe_arena_set_allocated_remote_endpoint()

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

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

◆ UnsafeArenaSwap()

void goby::middleware::protobuf::TCPServerEvent::UnsafeArenaSwap ( TCPServerEvent other)
inline

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

Friends And Related Symbol Documentation

◆ ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper

template<typename T >
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper
friend

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

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata
friend

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

◆ ::TableStruct_goby_2fmiddleware_2fprotobuf_2fio_2eproto

◆ swap

void swap ( TCPServerEvent a,
TCPServerEvent b 
)
friend

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

Member Data Documentation

◆ _class_data_

const ClassData goby::middleware::protobuf::TCPServerEvent::_class_data_
static

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

◆ _impl_

Impl_ goby::middleware::protobuf::TCPServerEvent::_impl_

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

◆ Event_ARRAYSIZE

constexpr int goby::middleware::protobuf::TCPServerEvent::Event_ARRAYSIZE
staticconstexpr
Initial value:

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

◆ EVENT_BIND

constexpr Event goby::middleware::protobuf::TCPServerEvent::EVENT_BIND
staticconstexpr
Initial value:

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

◆ EVENT_CONNECT

constexpr Event goby::middleware::protobuf::TCPServerEvent::EVENT_CONNECT
staticconstexpr
Initial value:

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

◆ EVENT_DISCONNECT

constexpr Event goby::middleware::protobuf::TCPServerEvent::EVENT_DISCONNECT
staticconstexpr
Initial value:

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

◆ Event_MAX

constexpr Event goby::middleware::protobuf::TCPServerEvent::Event_MAX
staticconstexpr
Initial value:
=
constexpr TCPServerEvent_Event TCPServerEvent_Event_Event_MAX
Definition io.pb.h:133

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

◆ Event_MIN

constexpr Event goby::middleware::protobuf::TCPServerEvent::Event_MIN
staticconstexpr
Initial value:
=
constexpr TCPServerEvent_Event TCPServerEvent_Event_Event_MIN
Definition io.pb.h:132

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

◆ kIndexInFileMessages

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

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


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