ADTF
|
The ModelObserver utility template. More...
Public Types | |
typedef EVENT_CODE_T | event_code_type |
local definition of the event code type | |
typedef MODEL_SUBJECT_T | subject_type |
local definition of the subject code type | |
Public Member Functions | |
virtual void | modelChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info)=0 |
interface function to override. More... | |
Protected Member Functions | |
virtual | ~ModelObserverUtility () |
protected DTOR | |
The ModelObserver utility template.
MODEL_SUBJECT_T | the type of the subject to observe |
EVENT_CODE_T | the event code type |
Definition at line 34 of file access_observer.h.
|
pure virtual |
interface function to override.
event_code | the event code |
changed_subject | the subject changed |
additional_info | additional info (see i.e. ddl::dd::datamodel::ModelEventCode) |
Implemented in TypeAccessVector< DDL_TYPE_TO_ACCESS, TYPE_VALIDATOR_CLASS >, TypeAccessMap< DDL_TYPE_TO_ACCESS, TYPE_VALIDATOR_CLASS >, TypeAccessMap< Property, StreamMetaType >, TypeAccessMap< StructType, DataDefinition >, TypeAccessMap< ExtDeclaration, Header >, TypeAccessMap< StreamMetaType, DataDefinition >, TypeAccessMap< UnitPrefix, DataDefinition >, TypeAccessMap< DataType, DataDefinition >, TypeAccessMap< Element, EnumType >, TypeAccessMap< BaseUnit, DataDefinition >, TypeAccessMap< Unit, DataDefinition >, TypeAccessMap< EnumType, DataDefinition >, TypeAccessMap< Stream, DataDefinition >, TypeAccessList< DDL_TYPE_TO_ACCESS, TYPE_VALIDATOR_CLASS >, TypeAccessList< DDL_TYPE_TO_ACCESS, ::ddl::utility::TypeAccessList< DDL_TYPE_TO_ACCESS, TYPE_VALIDATOR_CLASS > >, TypeAccessList< Struct, Stream >, and TypeAccessList< Element, StructType >.