GL Studio C++ Runtime API
AttributeResourceCallback< T > Class Template Reference

#include <disti_metadata.h>

Inheritance diagram for AttributeResourceCallback< T >:
AttributeObserver

Public Member Functions

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

Detailed Description

template<class T>
class disti::AttributeResourceCallback< T >

Template for an AttributeCallbackBase that will set another object's attribute whenever the attribute changes. The class must implement WeakReferenceable. Don't use this directly, use CreateAttributeResourceCallback instead.

Member Function Documentation

void Call ( DistiAttributeBase attr)
inlinevirtual

call the callback with the provided display event

Implements AttributeObserver.

virtual bool IsValid ( ) const
inlinevirtual

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

Implements AttributeObserver.


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