Server
API Reference Guide
Product Documentation:

Visualization Server
Documentation Home
List of all members | Public Member Functions
IlsDynAttribute Class Reference

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...
 

Detailed Description

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:

See also
IlsDynModelInterpreter, IlsDynObject, IlsDynRelation.

Member Function Documentation

◆ isModified()

virtual IlsBoolean IlsDynAttribute::isModified ( ) const
virtual

Returns IlsTrue if the dynamic attribute has been modified since the last notification cycle.

This function is called by during the notification cycle.

◆ setValue()

virtual IlsBoolean IlsDynAttribute::setValue ( const IlsMvValue v)
virtual

Sets the value of the dynamic attribute.

Returns
IlsFalse if assignment is not possible.

◆ subscribe()

virtual void IlsDynAttribute::subscribe ( )
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.

See also
IlsDerived, IlsDynModelInterpreter::DeclDerived().

◆ unsubscribe()

virtual void IlsDynAttribute::unsubscribe ( )
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.

See also
IlsDerived, IlsDynModelInterpreter::DeclDerived().