Dawn Framework 1.0
Universal data acquisition framework for embedded systems
common.cxx
1// dawn/src/proto/common.cxx
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5
6#include "dawn/proto/common.hxx"
7
8#include "dawn/debug.hxx"
9
10using namespace dawn;
11
13 : CBindableObject(desc)
14{
15 DAWNASSERT(desc.getObjectId().s.cls > PROTO_CLASS_ANY &&
17 "invalid class");
18}
Base object with bindable object map support.
Definition bindable.hxx:25
Descriptor wrapper for individual object configuration.
SObjectId::UObjectId & getObjectId() const
Get object identifier as union structure.
CProtoCommon(CDescObject &desc)
Constructor.
Definition common.cxx:12
@ PROTO_CLASS_LAST
Last protocol class (sentinel value).
Definition common.hxx:95
@ PROTO_CLASS_ANY
Wildcard/any protocol class (for validation/queries).
Definition common.hxx:31
Out-of-tree user-extension hooks for Dawn.
Definition bindable.hxx:13
uint32_t cls
Object class field (bits 21-29, max 511).
Definition objectid.hxx:265
struct dawn::SObjectId::UObjectId::@14 s
Bit-field structure for named member access.