Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CustomType2< B > Struct Template Reference

Public Types

enum  { MinBitLen = A::MinBitLen + B::MinBitLen }
 
enum  { MaxBitLen = A::MaxBitLen + B::MaxBitLen }
 
typedef uavcan::FloatSpec< 16, uavcan::CastModeSaturateA
 

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

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

Detailed Description

template<typename B>
struct CustomType2< B >

Definition at line 380 of file array.cpp.

Member Typedef Documentation

◆ A

template<typename B >
typedef uavcan::FloatSpec<16, uavcan::CastModeSaturate> CustomType2< B >::A

Definition at line 382 of file array.cpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename B >
anonymous enum
Enumerator
MinBitLen 

Definition at line 384 of file array.cpp.

◆ anonymous enum

template<typename B >
anonymous enum
Enumerator
MaxBitLen 

Definition at line 385 of file array.cpp.

Constructor & Destructor Documentation

◆ CustomType2()

template<typename B >
CustomType2< B >::CustomType2 ( )
inline

Definition at line 390 of file array.cpp.

Member Function Documentation

◆ decode()

template<typename B >
static int CustomType2< B >::decode ( CustomType2< B > &  obj,
uavcan::ScalarCodec codec,
uavcan::TailArrayOptimizationMode  tao_mode = uavcan::TailArrayOptEnabled 
)
inlinestatic

Definition at line 418 of file array.cpp.

◆ encode()

template<typename B >
static int CustomType2< B >::encode ( const CustomType2< B > &  obj,
uavcan::ScalarCodec codec,
uavcan::TailArrayOptimizationMode  tao_mode = uavcan::TailArrayOptEnabled 
)
inlinestatic

Definition at line 401 of file array.cpp.

◆ operator==()

template<typename B >
bool CustomType2< B >::operator== ( const CustomType2< B > &  rhs) const
inline

Definition at line 395 of file array.cpp.

Member Data Documentation

◆ a

template<typename B >
uavcan::StorageType<A>::Type CustomType2< B >::a

Definition at line 387 of file array.cpp.

◆ b

template<typename B >
uavcan::StorageType<B>::Type CustomType2< B >::b

Definition at line 388 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