8#include "dawn/debug.hxx"
9#include "dawn/io/ddata.hxx"
10#include "dawn/io/common.hxx"
11#include "dawn/porting/config.hxx"
12#include "dawn/prog/process.hxx"
31#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
32 const char *getClassNameStr()
const override
60 bool &initsample)
override
71 DAWNERR(
"failed to cache latest sample %d\n", ret);
Descriptor wrapper for individual object configuration.
Base class for all I/O objects.
int setData(IODataCmn &data, size_t offset=0)
Set data for I/O (public interface with stats tracking).
@ PROG_CLASS_LATEST
Cache latest notified sample for fetch-based readers.
Latest-sample cache Program.
void handle(CIOCommon *output, io_ddata_t *data, io_ddata_t *ioData, io_ddata_t *outputData, bool &initsample)
Process incoming sample.
Base class for callback-driven sample processing Program objects.
@ PROG_STATS_CFG_IOBIND
I/O binding configuration.
static ObjectCfgId objectCfg(uint8_t type, uint16_t cls, uint8_t dtype, bool rw, uint16_t size, uint8_t id)
Construct 32-bit ConfigID from component fields.
uint32_t ObjectCfgId
ConfigID type - single 32-bit value.
Out-of-tree user-extension hooks for Dawn.
@ OBJTYPE_PROG
Program/algorithm object type.
@ DTYPE_ANY
Wildcard data type (matches any actual type).
uint32_t ObjectId
ObjectID type - single 32-bit value.
static ObjectId objectId(uint8_t type, uint16_t cls, uint8_t dtype, uint8_t flags, uint16_t priv)
Construct 32-bit ObjectID from component fields.
Heap-allocated dynamic I/O data buffer.