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

#include <disti_metadata.h>

Inheritance diagram for AttributeMethodCallback< T >:
AttributeObserver

Public Member Functions

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

Detailed Description

template<class T>
class disti::AttributeMethodCallback< T >

Template for an AttributeCallbackBase that will call a class method whenever the attribute changes. The class must implement WeakReferenceable. Don't use this directly, use CreateAttributeMethodCallback 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: