This abstract class defines the interface of dynamic attributes. More...
#include <ilserver/dynobj.h>
Inherited by IlsDynDerived, IlsDynEntry, and IlsDynSimpleAttribute.
Public Member Functions | |
| IlsDynAttribute (const IlsAttributeDef &attr) | |
| Creates an instance of a dynamic attribute. | |
| virtual IlsMvValue | getValue () const |
Returns the value of the dynamic attribute as an instance of IlsMvValue. | |
| virtual IlsMvDataType | getValueType () const |
| Returns the type of the dynamic attribute. | |
| virtual IlsBoolean | isModified () const |
Returns IlsTrue if the dynamic attribute has been modified since the last notification cycle. More... | |
| virtual IlsBoolean | setValue (const IlsMvValue &v) |
| Sets the value of the dynamic attribute. More... | |
| virtual void | subscribe () |
| Increases the subscription counter for the dynamic attribute. More... | |
| virtual void | unsubscribe () |
| Decreases the subscription counter for the dynamic attribute. More... | |
This abstract class defines the interface of dynamic attributes.
Library: dynmvsvr
The various subclasses implement the methods according to their semantics.
This class includes the following list of predefined subtypes, used to provide a Server implementation of dynamic attributes:
IlsDynSimpleAttribute: encapsulates a simple attribute of type IlsMvValue.IlsDynEntry: encapsulates a server entry data member.IlsDynDerived: encapsulates a server derived data member.IlsDynModelInterpreter, IlsDynObject, IlsDynRelation.
|
virtual |
Returns IlsTrue if the dynamic attribute has been modified since the last notification cycle.
This function is called by during the notification cycle.
|
virtual |
Sets the value of the dynamic attribute.
IlsFalse if assignment is not possible.
|
virtual |
Increases the subscription counter for the dynamic attribute.
This method is called during the notification cycle. It is used only for derived attributes to increase the eargerness.
|
virtual |
Decreases the subscription counter for the dynamic attribute.
This method is called during the notification cycle. It is used only for derived attributes to decrease the eargerness.