OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Property instance with passthrough calls to a given object. More...
#include <OgreProperty.h>
Public Types | |
typedef boost::function< T(void) > | getter_func |
typedef boost::function< void(T) > | setter_func |
typedef T | value_type |
Public Member Functions | |
Property (PropertyDef *def, getter_func getter, setter_func setter) | |
Construct a property which is able to directly call a given getter and setter on a specific object instance, via functors. | |
virtual T | get () const |
const String & | getDescription () const |
Get the description of the property. | |
const String & | getName () const |
Get the name of the property. | |
PropertyType | getType () const |
Get the type of the property. | |
Ogre::Any | getValue () const |
Return the current value as an Any. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
virtual void | set (T val) |
Set the property value. | |
Property instance with passthrough calls to a given object.
typedef boost::function< T (void) > Ogre::Property< T >::getter_func |
typedef boost::function< void (T) > Ogre::Property< T >::setter_func |
typedef T Ogre::Property< T >::value_type |
|
inline |
Construct a property which is able to directly call a given getter and setter on a specific object instance, via functors.
|
inlinevirtual |
Referenced by Ogre::Property< T >::getValue().
Get the description of the property.
|
inlineinherited |
Get the type of the property.
|
inlinevirtual |
Return the current value as an Any.
Implements Ogre::PropertyBase.
References Ogre::Property< T >::get().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
inlinevirtual |
Set the property value.