![]() |
OGRE 2.3.3
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::v1::HardwareBufferLockGuard::HardwareBufferLockGuard(), Ogre::v1::HardwareBufferLockGuard::HardwareBufferLockGuard(), Ogre::SkeletonDef::getBindPose(), Ogre::Resource::getLoadingState(), Ogre::ResourceManager::getMemoryUsage(), Ogre::Property< T >::getValue(), Ogre::Resource::isLoaded(), Ogre::Resource::isLoading(), Ogre::Resource::isPrepared(), Ogre::v1::HardwareBufferLockGuard::lock(), Ogre::v1::HardwareBufferLockGuard::lock(), Ogre::operator!=(), Ogre::operator<(), Ogre::AtomicObject< T >::operator=(), and Ogre::operator==().
Get the description of the property.
Get the name of the property.
Referenced by Ogre::RTShader::CompareUniformByName::operator()().
|
inlineinherited |
Get the type of the property.
Referenced by Ogre::CompositorPass::getType(), Ogre::Codec::registerCodec(), Ogre::Any::type(), and Ogre::Codec::unregisterCodec().
|
inlinevirtual |
Return the current value as an Any.
Implements Ogre::PropertyBase.
References Ogre::Property< T >::get().
Referenced by Ogre::Controller< T >::update().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
inlinevirtual |
Set the property value.
Referenced by Ogre::Resource::setToLoaded().