nux-1.16.0
nux::ROProperty< VALUE_TYPE > Class Template Reference

A read only property that uses a function to get the value. More...

#include <NuxCore/Property.h>

Inheritance diagram for nux::ROProperty< VALUE_TYPE >:
nux::PropertyChangedSignal< VALUE_TYPE >

List of all members.

Public Types

typedef VALUE_TYPE ValueType
typedef sigc::slot< VALUE_TYPE > GetterFunction

Public Member Functions

 ROProperty (GetterFunction getter_function)
 operator VALUE_TYPE () const
VALUE_TYPE operator() () const
VALUE_TYPE Get () const
void SetGetterFunction (GetterFunction getter_function)

Detailed Description

template<typename VALUE_TYPE>
class nux::ROProperty< VALUE_TYPE >

A read only property that uses a function to get the value.

The default constructor creates a read only property that always returns the default constructed VALUE_TYPE.

Definition at line 111 of file Property.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends