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

Method onDataChanged

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

Source from the content-addressed store, hash-verified

15}
16
17void ComponentModel::AttributeDataBinder::onDataChanged(const std::string& path, const std::string& newValue, bool appendMode) {
18 if (!_observer) {
19 return;
20 }
21
22 _observer->onComponentAttributeDataChanged(_attributeName, appendMode);
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}

Callers 1

Calls 1

Tested by

no test coverage detected