6#include "dawn/common/bindable.hxx"
8#include "dawn/debug.hxx"
9#include "dawn/io/common.hxx"
15 ioMap.insert_or_assign(
id, io);
29 setIOMapItem(
id,
static_cast<CIOCommon *
>(obj));
43 auto it = ioMap.find(
id);
44 if (it == ioMap.end())
59 DAWNERR(
"unknown object type = 0x%" PRIx32
"\n",
id);
CObject * getObject(SObjectId::ObjectId id)
Get an object by ID.
CIOCommon * getIO(SObjectId::ObjectId id)
Get an I/O object by ID.
void setObjectMapItem(SObjectId::ObjectId id, CObject *obj)
Set an item in the object map.
const std::map< SObjectId::ObjectId, CIOCommon * > & getIOMap() const
Get the I/O map for this object.
Base class for all I/O objects.
Base class for all Dawn objects (IOs, Programs, Protocols).
Out-of-tree user-extension hooks for Dawn.
@ OBJTYPE_IO
Input/Output object type.
static uint8_t objectIdGetType(const ObjectId objid)
Extract object type from ObjectID.
uint32_t ObjectId
ObjectID type - single 32-bit value.