Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Protected Member Functions | List of all members
jop::SettingCallback< T > Class Template Referenceabstract

Base class For a setting change callback. More...

#include <SettingCallback.hpp>

Inheritance diagram for jop::SettingCallback< T >:
jop::DynamicSetting< T >

Protected Member Functions

virtual void valueChanged (const T &value)=0
 The setting change callback function. More...
 

Detailed Description

template<typename T>
class jop::SettingCallback< T >

Base class For a setting change callback.

Inherit from this class to create a setting change callback.

See also
SettingManager::registerCallback()

Definition at line 92 of file SettingCallback.hpp.

Member Function Documentation

template<typename T>
virtual void jop::SettingCallback< T >::valueChanged ( const T &  value)
protectedpure virtual

The setting change callback function.

This will be automatically called when the associated setting has been changed.

Parameters
valueThe new setting value

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