GL Studio C++ Runtime API
AttributeObserver Class Referenceabstract

#include <disti_metadata.h>

Inheritance diagram for AttributeObserver:
AttributeFnCallback AttributeMethodCallback< T > AttributeResourceCallback< T >

Public Member Functions

virtual void Call (DistiAttributeBase &attr)=0
 
virtual bool IsValid () const =0
 

Detailed Description

Class used to call a callback method that takes a DistiAttributeBase

Member Function Documentation

◆ Call()

virtual void Call ( DistiAttributeBase attr)
pure virtual

Call the callback with the provided display event.

Parameters
attrThe attribute associated with this callback.

Implemented in AttributeResourceCallback< T >, AttributeMethodCallback< T >, and AttributeFnCallback.

◆ IsValid()

virtual bool IsValid ( ) const
pure virtual

When IsValid is false, then this AttributeObserver can be deleted.

Returns
Whether or not this observer is attached to a valid attribute.

Implemented in AttributeMethodCallback< T >, AttributeResourceCallback< T >, and AttributeFnCallback.


The documentation for this class was generated from the following file: