JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
jaiabot::protobuf::Motor Class Referencefinal

#include <jaiabot/messages/motor.pb.h>

Inheritance diagram for jaiabot::protobuf::Motor:
Collaboration diagram for jaiabot::protobuf::Motor:

Public Types

enum  : int { kThermistorFieldNumber = 2 , kRpmFieldNumber = 1 , kMotorHarnessTypeFieldNumber = 3 }
 
typedef Motor_Thermistor Thermistor
 

Public Member Functions

 Motor ()
 
 ~Motor () override
 
PROTOBUF_CONSTEXPR Motor (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Motor (const Motor &from)
 
 Motor (Motor &&from) noexcept
 
Motoroperator= (const Motor &from)
 
Motoroperator= (Motor &&from) noexcept
 
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields () const
 
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Motor *other)
 
void UnsafeArenaSwap (Motor *other)
 
MotorNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
void CopyFrom (const Motor &from)
 
void MergeFrom (const Motor &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_thermistor () const
 
void clear_thermistor ()
 
const ::jaiabot::protobuf::Motor_Thermistorthermistor () const
 
PROTOBUF_NODISCARD::jaiabot::protobuf::Motor_Thermistor * release_thermistor ()
 
::jaiabot::protobuf::Motor_Thermistormutable_thermistor ()
 
void set_allocated_thermistor (::jaiabot::protobuf::Motor_Thermistor *thermistor)
 
void unsafe_arena_set_allocated_thermistor (::jaiabot::protobuf::Motor_Thermistor *thermistor)
 
::jaiabot::protobuf::Motor_Thermistorunsafe_arena_release_thermistor ()
 
bool has_rpm () const
 
void clear_rpm ()
 
double rpm () const
 
void set_rpm (double value)
 
bool has_motor_harness_type () const
 
void clear_motor_harness_type ()
 
::jaiabot::protobuf::MotorHarnessType motor_harness_type () const
 
void set_motor_harness_type (::jaiabot::protobuf::MotorHarnessType 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 Motordefault_instance ()
 
static const Motorinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 Motor (::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_jaiabot_2fmessages_2fmotor_2eproto
 
void swap (Motor &a, Motor &b)
 

Detailed Description

Definition at line 302 of file motor.pb.h.

Member Typedef Documentation

◆ Thermistor

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kThermistorFieldNumber 
kRpmFieldNumber 
kMotorHarnessTypeFieldNumber 

Definition at line 431 of file motor.pb.h.

Constructor & Destructor Documentation

◆ Motor() [1/5]

jaiabot::protobuf::Motor::Motor ( )
inline

Definition at line 305 of file motor.pb.h.

◆ ~Motor()

jaiabot::protobuf::Motor::~Motor ( )
override

◆ Motor() [2/5]

PROTOBUF_CONSTEXPR jaiabot::protobuf::Motor::Motor ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicit

◆ Motor() [3/5]

jaiabot::protobuf::Motor::Motor ( const Motor from)

◆ Motor() [4/5]

jaiabot::protobuf::Motor::Motor ( Motor &&  from)
inlinenoexcept

Definition at line 310 of file motor.pb.h.

◆ Motor() [5/5]

jaiabot::protobuf::Motor::Motor ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char * jaiabot::protobuf::Motor::_InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t * jaiabot::protobuf::Motor::_InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

size_t jaiabot::protobuf::Motor::ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void jaiabot::protobuf::Motor::Clear ( )
final

◆ clear_motor_harness_type()

void jaiabot::protobuf::Motor::clear_motor_harness_type ( )
inline

Definition at line 722 of file motor.pb.h.

◆ clear_rpm()

void jaiabot::protobuf::Motor::clear_rpm ( )
inline

Definition at line 604 of file motor.pb.h.

◆ clear_thermistor()

void jaiabot::protobuf::Motor::clear_thermistor ( )
inline

Definition at line 633 of file motor.pb.h.

◆ CopyFrom()

void jaiabot::protobuf::Motor::CopyFrom ( const Motor from)

◆ default_instance()

static const Motor & jaiabot::protobuf::Motor::default_instance ( )
inlinestatic

Definition at line 349 of file motor.pb.h.

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * jaiabot::protobuf::Motor::descriptor ( )
inlinestatic

Definition at line 340 of file motor.pb.h.

◆ GetCachedSize()

int jaiabot::protobuf::Motor::GetCachedSize ( ) const
inlinefinal

Definition at line 402 of file motor.pb.h.

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * jaiabot::protobuf::Motor::GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor * jaiabot::protobuf::Motor::GetDescriptor ( )
inlinestatic

Definition at line 343 of file motor.pb.h.

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata jaiabot::protobuf::Motor::GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection * jaiabot::protobuf::Motor::GetReflection ( )
inlinestatic

Definition at line 346 of file motor.pb.h.

◆ has_motor_harness_type()

bool jaiabot::protobuf::Motor::has_motor_harness_type ( ) const
inline

Definition at line 719 of file motor.pb.h.

◆ has_rpm()

bool jaiabot::protobuf::Motor::has_rpm ( ) const
inline

Definition at line 601 of file motor.pb.h.

◆ has_thermistor()

bool jaiabot::protobuf::Motor::has_thermistor ( ) const
inline

Definition at line 630 of file motor.pb.h.

◆ internal_default_instance()

static const Motor * jaiabot::protobuf::Motor::internal_default_instance ( )
inlinestatic

Definition at line 352 of file motor.pb.h.

◆ IsInitialized()

bool jaiabot::protobuf::Motor::IsInitialized ( ) const
final

◆ MergeFrom()

void jaiabot::protobuf::Motor::MergeFrom ( const Motor from)
inline

Definition at line 389 of file motor.pb.h.

◆ motor_harness_type()

jaiabot::protobuf::MotorHarnessType jaiabot::protobuf::Motor::motor_harness_type ( ) const
inline

Definition at line 729 of file motor.pb.h.

◆ mutable_thermistor()

jaiabot::protobuf::Motor_Thermistor * jaiabot::protobuf::Motor::mutable_thermistor ( )
inline

Definition at line 689 of file motor.pb.h.

◆ mutable_unknown_fields()

inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * jaiabot::protobuf::Motor::mutable_unknown_fields ( )
inline

Definition at line 336 of file motor.pb.h.

◆ New()

Motor * jaiabot::protobuf::Motor::New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

Definition at line 383 of file motor.pb.h.

◆ operator=() [1/2]

Motor & jaiabot::protobuf::Motor::operator= ( const Motor from)
inline

Definition at line 315 of file motor.pb.h.

◆ operator=() [2/2]

Motor & jaiabot::protobuf::Motor::operator= ( Motor &&  from)
inlinenoexcept

Definition at line 319 of file motor.pb.h.

◆ release_thermistor()

jaiabot::protobuf::Motor_Thermistor * jaiabot::protobuf::Motor::release_thermistor ( )
inline

Definition at line 659 of file motor.pb.h.

◆ rpm()

double jaiabot::protobuf::Motor::rpm ( ) const
inline

Definition at line 611 of file motor.pb.h.

◆ set_allocated_thermistor()

void jaiabot::protobuf::Motor::set_allocated_thermistor ( ::jaiabot::protobuf::Motor_Thermistor thermistor)
inline

Definition at line 694 of file motor.pb.h.

◆ set_motor_harness_type()

void jaiabot::protobuf::Motor::set_motor_harness_type ( ::jaiabot::protobuf::MotorHarnessType  value)
inline

Definition at line 738 of file motor.pb.h.

◆ set_rpm()

void jaiabot::protobuf::Motor::set_rpm ( double  value)
inline

Definition at line 619 of file motor.pb.h.

◆ Swap()

void jaiabot::protobuf::Motor::Swap ( Motor other)
inline

Definition at line 362 of file motor.pb.h.

◆ thermistor()

const ::jaiabot::protobuf::Motor_Thermistor & jaiabot::protobuf::Motor::thermistor ( ) const
inline

Definition at line 642 of file motor.pb.h.

◆ unknown_fields()

const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & jaiabot::protobuf::Motor::unknown_fields ( ) const
inline

Definition at line 333 of file motor.pb.h.

◆ unsafe_arena_release_thermistor()

jaiabot::protobuf::Motor_Thermistor * jaiabot::protobuf::Motor::unsafe_arena_release_thermistor ( )
inline

Definition at line 674 of file motor.pb.h.

◆ unsafe_arena_set_allocated_thermistor()

void jaiabot::protobuf::Motor::unsafe_arena_set_allocated_thermistor ( ::jaiabot::protobuf::Motor_Thermistor thermistor)
inline

Definition at line 646 of file motor.pb.h.

◆ UnsafeArenaSwap()

void jaiabot::protobuf::Motor::UnsafeArenaSwap ( Motor other)
inline

Definition at line 375 of file motor.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 484 of file motor.pb.h.

◆ ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata

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

Definition at line 411 of file motor.pb.h.

◆ ::TableStruct_jaiabot_2fmessages_2fmotor_2eproto

Definition at line 495 of file motor.pb.h.

◆ swap

void swap ( Motor a,
Motor b 
)
friend

Definition at line 359 of file motor.pb.h.

Member Data Documentation

◆ _class_data_

const ClassData jaiabot::protobuf::Motor::_class_data_
static

Definition at line 420 of file motor.pb.h.

◆ _impl_

Impl_ jaiabot::protobuf::Motor::_impl_

Definition at line 494 of file motor.pb.h.

◆ kIndexInFileMessages

constexpr int jaiabot::protobuf::Motor::kIndexInFileMessages
staticconstexpr
Initial value:
=
1

Definition at line 356 of file motor.pb.h.


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