|
ADTF
|
Datamodel target class within MappingConfiguration. More...
#include <datamodel_configuration_items.h>
Inherits ddl::dd::utility::ModelSubjectUtility< T, TypeAccessMapEventCode >, and ddl::dd::datamodel::InfoMap.
Public Types | |
| using | Properties = ddl::utility::TypeAccessMap<Property, Target> |
| Properties type within the target. | |
| using | Triggers = ddl::utility::TypeAccessVector<Trigger, Target> |
| Triggers type within the target. | |
| using | Assignments = ddl::utility::TypeAccessList<Assignment, Target> |
| Assignments type within the target. | |
Public Types inherited from ddl::dd::utility::ModelSubjectUtility< T, TypeAccessMapEventCode > | |
| typedef TypeAccessMapEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessMapEventCode > | observer_type |
| local definition of the observer type to notify | |
| typedef TypeAccessMapEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessMapEventCode > | observer_type |
| local definition of the observer type to notify | |
| typedef TypeAccessMapEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessMapEventCode > | observer_type |
| local definition of the observer type to notify | |
| typedef TypeAccessMapEventCode | event_code_type |
| local definition of the event code type | |
| typedef T | subject_type |
| local definition of the subject type | |
| typedef ModelObserverUtility< T, TypeAccessMapEventCode > | observer_type |
| local definition of the observer type to notify | |
Public Member Functions | |
| Target ()=delete | |
| no CTOR | |
| Target (const Target &other) | |
| copy CTOR | |
| Target (Target &&other) | |
| move CTOR | |
| Target (const std::string &name, const std::string &type, const std::vector< Property > &properties={}) | |
| CTOR. | |
| ~Target () | |
| DTOR. | |
| Target & | operator= (const Target &other) |
| copy operator | |
| Target & | operator= (Target &&other) |
| move operator | |
| bool | operator== (const Target &other) const |
| equality operator | |
| bool | operator!= (const Target &other) const |
| inequality operator | |
| const std::string & | getName () const |
| Get the name. | |
| void | setName (const std::string &name) |
| Set the name of the target instance to create. | |
| const std::string & | getType () const |
| Get the type of the target instance to create. | |
| void | setType (const std::string &type) |
| Set the type. | |
| const Properties & | getProperties () const |
| Get the Properties. | |
| Properties & | getProperties () |
| Get the Properties. | |
| const Triggers & | getTriggers () const |
| Get the Triggers. | |
| Triggers & | getTriggers () |
| Get the Triggers. | |
| const Assignments & | getAssignments () const |
| Get the Assignments. | |
| Assignments & | getAssignments () |
| Get the Assignments. | |
Public Member Functions inherited from ddl::dd::utility::ModelSubjectUtility< T, TypeAccessMapEventCode > | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
| ModelSubjectUtility ()=default | |
| CTOR. | |
| ModelSubjectUtility (const ModelSubjectUtility &) | |
| copy CTOR which removes the observers in case of! | |
| ModelSubjectUtility & | operator= (const ModelSubjectUtility &) |
| copy assignment operator which removes the observers in case of! | |
| virtual | ~ModelSubjectUtility ()=default |
| DTOR. | |
| void | attachObserver (observer_type *observer) |
| adda a observer to notify. | |
| void | detachObserver (observer_type *observer) |
| remove a observer if in list. | |
Public Member Functions inherited from ddl::dd::datamodel::InfoMap | |
| InfoMap ()=default | |
| CTOR. | |
| InfoMap (const InfoMap &) | |
| copy CTOR | |
| InfoMap (InfoMap &&) | |
| move CTOR | |
| InfoMap & | operator= (const InfoMap &) |
| copy assignment operator | |
| InfoMap & | operator= (InfoMap &&) |
| move assignment operator | |
| template<typename INFO_T> | |
| const INFO_T * | getInfo () const |
| Get the Info Pointer. | |
| template<typename INFO_T> | |
| INFO_T * | getInfo () |
| Get the Info Pointer. | |
| template<typename INFO_T> | |
| void | setInfo (const std::shared_ptr< INFO_T > &info) |
| Set the Info object as shared pointer. | |
Additional Inherited Members | |
Protected Member Functions inherited from ddl::dd::utility::ModelSubjectUtility< T, TypeAccessMapEventCode > | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
| void | notifyChanged (event_code_type event_code, subject_type &changed_subject, const std::string &additional_info) |
| helper utility function to notify the current observers | |
Datamodel target class within MappingConfiguration.
| ddl::mapping::datamodel::Target::Target | ( | const Target & | other | ) |
copy CTOR
| other | the object to copy |
| ddl::mapping::datamodel::Target::Target | ( | Target && | other | ) |
move CTOR
| other | the object to move |
| ddl::mapping::datamodel::Target::Target | ( | const std::string & | name, |
| const std::string & | type, | ||
| const std::vector< Property > & | properties = {} ) |
CTOR.
| name | the name |
| type | the type |
| properties | the properties |
| Assignments & ddl::mapping::datamodel::Target::getAssignments | ( | ) |
Get the Assignments.
| const Assignments & ddl::mapping::datamodel::Target::getAssignments | ( | ) | const |
Get the Assignments.
| const std::string & ddl::mapping::datamodel::Target::getName | ( | ) | const |
Get the name.
| Properties & ddl::mapping::datamodel::Target::getProperties | ( | ) |
Get the Properties.
| const Properties & ddl::mapping::datamodel::Target::getProperties | ( | ) | const |
Get the Properties.
| const Triggers & ddl::mapping::datamodel::Target::getTriggers | ( | ) | const |
| const std::string & ddl::mapping::datamodel::Target::getType | ( | ) | const |
Get the type of the target instance to create.
| bool ddl::mapping::datamodel::Target::operator!= | ( | const Target & | other | ) | const |
inequality operator
| other | the other object to compare |
| bool ddl::mapping::datamodel::Target::operator== | ( | const Target & | other | ) | const |
equality operator
| other | the other object to compare |
| void ddl::mapping::datamodel::Target::setName | ( | const std::string & | name | ) |
Set the name of the target instance to create.
| name | the name |
| void ddl::mapping::datamodel::Target::setType | ( | const std::string & | type | ) |
Set the type.
| type | the type |