Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CustomType Struct Reference

Public Types

enum  { MinBitLen = A::MinBitLen + B::MinBitLen + C::MinBitLen }
 
enum  { MaxBitLen = A::MaxBitLen + B::MaxBitLen + C::MaxBitLen }
 
typedef uavcan::IntegerSpec< 8, uavcan::SignednessSigned, uavcan::CastModeTruncateA
 
typedef uavcan::FloatSpec< 16, uavcan::CastModeSaturateB
 
typedef uavcan::Array< uavcan::IntegerSpec< 1, uavcan::SignednessUnsigned, uavcan::CastModeSaturate >, uavcan::ArrayModeDynamic, 5 > C
 

Public Member Functions

 CustomType ()
 
bool operator== (const CustomType &rhs) const
 

Static Public Member Functions

static int decode (CustomType &obj, uavcan::ScalarCodec &codec, uavcan::TailArrayOptimizationMode tao_mode=uavcan::TailArrayOptEnabled)
 
static int encode (const CustomType &obj, uavcan::ScalarCodec &codec, uavcan::TailArrayOptimizationMode tao_mode=uavcan::TailArrayOptEnabled)
 

Public Attributes

uavcan::StorageType< A >::Type a
 
uavcan::StorageType< B >::Type b
 
uavcan::StorageType< C >::Type c
 

Detailed Description

Definition at line 24 of file array.cpp.

Member Typedef Documentation

◆ A

Definition at line 26 of file array.cpp.

◆ B

Definition at line 27 of file array.cpp.

◆ C

Definition at line 30 of file array.cpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MinBitLen 

Definition at line 32 of file array.cpp.

◆ anonymous enum

anonymous enum
Enumerator
MaxBitLen 

Definition at line 33 of file array.cpp.

Constructor & Destructor Documentation

◆ CustomType()

CustomType::CustomType ( )
inline

Definition at line 39 of file array.cpp.

Member Function Documentation

◆ decode()

static int CustomType::decode ( CustomType obj,
uavcan::ScalarCodec codec,
uavcan::TailArrayOptimizationMode  tao_mode = uavcan::TailArrayOptEnabled 
)
inlinestatic

Definition at line 74 of file array.cpp.

◆ encode()

static int CustomType::encode ( const CustomType obj,
uavcan::ScalarCodec codec,
uavcan::TailArrayOptimizationMode  tao_mode = uavcan::TailArrayOptEnabled 
)
inlinestatic

Definition at line 52 of file array.cpp.

◆ operator==()

bool CustomType::operator== ( const CustomType rhs) const
inline

Definition at line 45 of file array.cpp.

Member Data Documentation

◆ a

uavcan::StorageType<A>::Type CustomType::a

Definition at line 35 of file array.cpp.

◆ b

uavcan::StorageType<B>::Type CustomType::b

Definition at line 36 of file array.cpp.

◆ c

uavcan::StorageType<C>::Type CustomType::c

Definition at line 37 of file array.cpp.


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


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04