Dawn Framework 1.0
Universal data acquisition framework for embedded systems
Static Public Member Functions | List of all members
dawn::CIOCommon::IOObjectIdHelperNoTS< CLASS_ID, DEFAULT_DTYPE > Class Template Reference

Template helper for creating ObjectIDs for I/O types without timestamp support. More...

#include <common.hxx>

Static Public Member Functions

static SObjectId::ObjectId create (SObjectId::EObjectDataType dtype, uint16_t inst)
 Create ObjectID with custom data type and no timestamp.
 
static SObjectId::ObjectId create (uint16_t inst)
 Create ObjectID with fixed data type and no timestamp.
 

Detailed Description

template<uint16_t CLASS_ID, uint8_t DEFAULT_DTYPE>
class dawn::CIOCommon::IOObjectIdHelperNoTS< CLASS_ID, DEFAULT_DTYPE >

Template helper for creating ObjectIDs for I/O types without timestamp support.

Simplified helper for I/O types that don't support timestamps. Uses flags=0 (no timestamp flag).

Template Parameters
CLASS_IDThe I/O class identifier
DEFAULT_DTYPEDefault data type for this I/O

Definition at line 302 of file common.hxx.

Member Function Documentation

◆ create() [1/2]

template<uint16_t CLASS_ID, uint8_t DEFAULT_DTYPE>
static SObjectId::ObjectId dawn::CIOCommon::IOObjectIdHelperNoTS< CLASS_ID, DEFAULT_DTYPE >::create ( SObjectId::EObjectDataType  dtype,
uint16_t  inst 
)
inlinestatic

Create ObjectID with custom data type and no timestamp.

Parameters
dtypeData type for this instance.
instInstance number (0 to MAX_INSTANCE-1).
Returns
ObjectID for the I/O instance.

Definition at line 325 of file common.hxx.

References dawn::CIOCommon::IOObjectIdHelper< CLASS_ID, DEFAULT_DTYPE >::create().

Here is the call graph for this function:

◆ create() [2/2]

template<uint16_t CLASS_ID, uint8_t DEFAULT_DTYPE>
static SObjectId::ObjectId dawn::CIOCommon::IOObjectIdHelperNoTS< CLASS_ID, DEFAULT_DTYPE >::create ( uint16_t  inst)
inlinestatic

Create ObjectID with fixed data type and no timestamp.

Parameters
instInstance number (0 to MAX_INSTANCE-1).
Returns
ObjectID for the I/O instance.

Definition at line 312 of file common.hxx.

References dawn::CIOCommon::IOObjectIdHelper< CLASS_ID, DEFAULT_DTYPE >::create().

Here is the call graph for this function:

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