Skip to content

Commit b2e057a

Browse files
committed
Code review feedback: added comments
1 parent 3623056 commit b2e057a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/app/codegen-interaction-model/CodegenDataModel.h

+12
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
namespace chip {
2424
namespace app {
2525

26+
/// An implementation of `InterationModel::Model` that relies on code-generation
27+
/// via zap/ember.
28+
///
29+
/// The Ember framework uses generated files (like endpoint-config.h and various
30+
/// other generated metadata) to provide a cluster model.
31+
///
32+
/// This class will use global functions generally residing in `app/util`
33+
/// as well as application-specific overrides to provide data model functionality.
34+
///
35+
/// Given that this relies on global data at link time, there generally can be
36+
/// only one CodegenDataModel per application (you can create more instances,
37+
/// however they would share the exact same underlying data and storage).
2638
class CodegenDataModel : public chip::app::InteractionModel::Model
2739
{
2840
public:

0 commit comments

Comments
 (0)