EmbeddedProto  2.0.0
EmbeddedProto is a C++ Protocol Buffer implementation specifically suitable for microcontrollers.
Public Member Functions | List of all members
EmbeddedProto::doublefixed Class Reference

#include <Fields.h>

Inheritance diagram for EmbeddedProto::doublefixed:
Inheritance graph
Collaboration diagram for EmbeddedProto::doublefixed:
Collaboration graph

Public Member Functions

 doublefixed ()
 doublefixed (const double &v)
 doublefixed (const double &&v)
 ~doublefixed () override=default
Error serialize_with_id (uint32_t field_number, WriteBufferInterface &buffer) const final
Error serialize (WriteBufferInterface &buffer) const final
Error deserialize (ReadBufferInterface &buffer) final
- Public Member Functions inherited from EmbeddedProto::FieldTemplate< double >
 FieldTemplate ()=default
 FieldTemplate (const double &v)
 FieldTemplate (const double &&v)
 ~FieldTemplate () override=default
void set (const double &v)
void set (const double &&v)
void operator= (const double &v)
void operator= (const double &&v)
const double & get () const
double & get ()
 operator double () const
bool operator== (const double &rhs)
bool operator== (const FieldTemplate< TYPE_RHS > &rhs)
bool operator!= (const double &rhs)
bool operator!= (const FieldTemplate< TYPE_RHS > &rhs)
bool operator> (const double &rhs)
bool operator> (const FieldTemplate< TYPE_RHS > &rhs)
bool operator< (const double &rhs)
bool operator< (const FieldTemplate< TYPE_RHS > &rhs)
bool operator>= (const double &rhs)
bool operator>= (const FieldTemplate< TYPE_RHS > &rhs)
bool operator<= (const double &rhs)
bool operator<= (const FieldTemplate< TYPE_RHS > &rhs)
void clear () override
 Reset the field to it's initial value. More...
- Public Member Functions inherited from EmbeddedProto::Field
 Field ()=default
virtual ~Field ()=default
uint32_t serialized_size () const
 Calculate the size of this message when serialized. More...

Additional Inherited Members

- Public Types inherited from EmbeddedProto::FieldTemplate< double >
typedef double FIELD_TYPE

Constructor & Destructor Documentation

◆ doublefixed() [1/3]

EmbeddedProto::doublefixed::doublefixed ( )

◆ doublefixed() [2/3]

EmbeddedProto::doublefixed::doublefixed ( const double &  v)

◆ doublefixed() [3/3]

EmbeddedProto::doublefixed::doublefixed ( const double &&  v)

◆ ~doublefixed()

EmbeddedProto::doublefixed::~doublefixed ( )

Member Function Documentation

◆ deserialize()

Error EmbeddedProto::doublefixed::deserialize ( ReadBufferInterface buffer)

Implements EmbeddedProto::Field.

◆ serialize()

Error EmbeddedProto::doublefixed::serialize ( WriteBufferInterface buffer) const

Implements EmbeddedProto::Field.

◆ serialize_with_id()

Error EmbeddedProto::doublefixed::serialize_with_id ( uint32_t  field_number,
WriteBufferInterface buffer 
) const

Implements EmbeddedProto::Field.

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