Dawn Framework 1.0
Universal data acquisition framework for embedded systems
Public Attributes | List of all members
dawn::SObjectId::UObjectId Union Reference

32-bit encoded object identifier (union with bit field). More...

#include <objectid.hxx>

Public Attributes

struct { 
 
   uint32_t   cls: 9 
 Object class field (bits 21-29, max 511). More...
 
   uint32_t   dtype: 4 
 Data type field (bits 16-19, see EObjectDataType). More...
 
   uint32_t   ext: 1 
 Extension flag (bit 20). More...
 
   uint32_t   flags: 2 
 Type-specific flags (bits 14-15, max 3). More...
 
   uint32_t   priv: 14 
 Instance/private data field (bits 0-13, max 16383). More...
 
   uint32_t   type: 2 
 Object type field (bits 30-31, see EObjectIdType). More...
 
s 
 Bit-field structure for named member access.
 
ObjectId v
 Raw 32-bit ObjectID value (for comparison, hashing, storage).
 

Detailed Description

32-bit encoded object identifier (union with bit field).

Uniquely identifies a single Dawn object using bit-packed representation.

Definition at line 217 of file objectid.hxx.

Member Data Documentation

◆ cls

uint32_t dawn::SObjectId::UObjectId::cls

Object class field (bits 21-29, max 511).

Type-specific class identifier determining concrete object type.

Definition at line 265 of file objectid.hxx.

◆ dtype

uint32_t dawn::SObjectId::UObjectId::dtype

Data type field (bits 16-19, see EObjectDataType).

Specifies data format: DTYPE_INT16, DTYPE_FLOAT, DTYPE_CHAR, etc.

Definition at line 249 of file objectid.hxx.

◆ ext

uint32_t dawn::SObjectId::UObjectId::ext

Extension flag (bit 20).

Reserved for future 64-bit ObjectID extension.

Definition at line 257 of file objectid.hxx.

◆ flags

uint32_t dawn::SObjectId::UObjectId::flags

Type-specific flags (bits 14-15, max 3).

Interpretation depends on object type and class.

Definition at line 241 of file objectid.hxx.

◆ priv

uint32_t dawn::SObjectId::UObjectId::priv

Instance/private data field (bits 0-13, max 16383).

Typically instance number within a type+class combination.

Definition at line 233 of file objectid.hxx.

◆ type

uint32_t dawn::SObjectId::UObjectId::type

Object type field (bits 30-31, see EObjectIdType).

Determines handler responsibility (IO, PROG, PROTO, or ANY).

Definition at line 273 of file objectid.hxx.


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