Goby3 3.1.5a
2024.05.23
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 1302 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 1461 of file io.pb.h.

Constructor & Destructor Documentation

◆ TCPServerEvent() [1/5]

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

Definition at line 1305 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 1310 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 3054 of file io.pb.h.

◆ clear_index()

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

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

◆ clear_local_endpoint()

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

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

◆ clear_number_of_clients()

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

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

◆ clear_remote_endpoint()

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

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

◆ descriptor()

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

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

◆ event()

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

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

◆ Event_descriptor()

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

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

◆ Event_IsValid()

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

Definition at line 1434 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 1448 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 1454 of file io.pb.h.

◆ GetCachedSize()

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

Definition at line 1402 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 1343 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 1346 of file io.pb.h.

◆ has_event()

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

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

◆ has_index()

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

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

◆ has_local_endpoint()

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

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

◆ has_number_of_clients()

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

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

◆ has_remote_endpoint()

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

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

◆ index()

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

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

◆ internal_default_instance()

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

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

◆ MergeFrom()

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

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

◆ mutable_local_endpoint()

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

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

◆ mutable_remote_endpoint()

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

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

◆ mutable_unknown_fields()

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

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

◆ New()

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

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

◆ number_of_clients()

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

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

◆ operator=() [1/2]

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

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

◆ operator=() [2/2]

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

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

◆ release_local_endpoint()

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

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

◆ release_remote_endpoint()

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

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

◆ remote_endpoint()

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

Definition at line 3183 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 3145 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 3235 of file io.pb.h.

◆ set_event()

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

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

◆ set_index()

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

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

◆ Swap()

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

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

◆ unknown_fields()

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

Definition at line 1333 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 3125 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 3215 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 3097 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 3187 of file io.pb.h.

◆ UnsafeArenaSwap()

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

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

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

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

◆ ::TableStruct_goby_2fmiddleware_2fprotobuf_2fio_2eproto

◆ swap

void swap ( TCPServerEvent a,
TCPServerEvent b 
)
friend

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

Member Data Documentation

◆ _class_data_

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

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

◆ _impl_

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

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

◆ Event_ARRAYSIZE

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

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

◆ EVENT_BIND

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

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

◆ EVENT_CONNECT

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

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

◆ EVENT_DISCONNECT

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

Definition at line 1432 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:135

Definition at line 1439 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:134

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

◆ kIndexInFileMessages

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

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


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