Public Types
Public Member Functions
Access
Modifier
Operations
Friends
Detailed Description
A shared pointer wrapper for data objects. SoS acts mainly on shared pointers. This reduces memory consumption and computing time when passing objects to various software components. Furthermore, SoS should protect data manipulation once data gets added to the database. Write access should be limited to meta information only, e.g. dependencies, active state, …This class is such a encapsulating shared pointer including the following functionality:
- It manages the dependency information of data objects. This information cannot be treated by the objects themselves (because they do not know the reference to the boost_shared_ptr). Hence the shared_ptr itself must treat the dependencies on other objects.
- When submitting the dependency information to the constructor, it is sufficient to set the master objects
- If you want to add dependencies after creating the pointer object, you must append the connections to the list of masters AND slaves of the respective object pairs.
- Once a pointer object is created, write access to the underlying data object should be limited to properties only. Therefore its envisaged to remove all non accessors.
Member Function Documentation
generateDescription()
getData()
getFullData()
getMissingData()
ident()
isValid()
operator!=()
operator*()
operator->() [1/2]
operator->() [2/2]
operator==()
setDescription()
setInactive()
The method marks all slave objects as “needs update”