MCPcopy Create free account
hub / github.com/AGenUI/AGenUI / ComponentModel

Method ComponentModel

core/src/surface/component_manager/agenui_component_model.cpp:25–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25ComponentModel::ComponentModel(const std::string& id, const std::string& rawId, const std::string& component, ISurfaceContext* surfaceContext, IComponentChangedObserver* observer, ITemplateComponentGenerator* generator) : _id(id), _rawId(rawId), _component(component), _surfaceContext(surfaceContext), _observer(observer), _templateComponentGenerator(generator) {
26}
27
28ComponentModel::~ComponentModel() {
29 // Clear data-related members first: DataValue unbinds on destruction,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected