6#include "dawn/common/descobject.hxx"
8#include "dawn/debug.hxx"
46 (
reinterpret_cast<uint32_t *
>(&cfgobj.
items)) + offset);
74 return (
reinterpret_cast<uint32_t *
>(&cfgobj))[offset];
size_t getSizeBytes() const
Get total size in bytes for this object definition.
size_t getSize() const
Get number of configuration items for this object.
SObjectCfg::SObjectCfgItem * objectCfgItemId(SObjectCfg::ObjectCfgId id) const
Get configuration item with specified ConfigID.
uint8_t getObjectType() const
Get object type field.
SObjectCfg::SObjectCfgItem * objectCfgItemAtOffset(size_t offset) const
Get configuration item at specified offset.
uint32_t getAtOffset(size_t offset) const
Get 32-bit word at specified offset.
SObjectCfg::SObjectCfgItem * objectCfgItemNext(size_t &offset) const
Get config item at current offset and advance past it.
uint16_t getObjectCls() const
Get object class field.
SObjectId::ObjectId getObjectIdV() const
Get object identifier as raw 32-bit value.
uint8_t getObjectDtype() const
Get data type field.
SObjectCfg::SObjectCfgData * getCfg() const
Get underlying descriptor data structure.
SObjectId::UObjectId & getObjectId() const
Get object identifier as union structure.
uint32_t ObjectCfgId
ConfigID type - single 32-bit value.
static SObjectCfgItem * objectCfgFromCfgId(const SObjectCfgData &cfg, ObjectCfgId id)
Get item from configuration ID.
Out-of-tree user-extension hooks for Dawn.
Object configuration data container.
SObjectId::UObjectId objid
Object identifier (type, class, dtype, instance).
SObjectCfgItem items
First configuration item (array continues in memory).
uint32_t size
Number of configuration items for this object (0-32).
Single configuration item within object.
UObjectCfgId cfgid
Configuration ID header (type, class, id, size, rw, dtype).
uint32_t ObjectId
ObjectID type - single 32-bit value.
uint32_t size
Configuration data size in 32-bit words (bits 5-14, max 1023).
struct dawn::SObjectCfg::UObjectCfgId::@10 s
Bit-field structure for named member access.
32-bit encoded object identifier (union with bit field).
ObjectId v
Raw 32-bit ObjectID value (for comparison, hashing, storage).
uint32_t dtype
Data type field (bits 16-19, see EObjectDataType).
uint32_t type
Object type field (bits 30-31, see EObjectIdType).
uint32_t cls
Object class field (bits 21-29, max 511).
struct dawn::SObjectId::UObjectId::@14 s
Bit-field structure for named member access.