Urho3D::EnumAttributeAccessorFreeImpl< T, U > Class Template Reference
Urho3D::EnumAttributeAccessorFreeImpl< T, U > Class Template Reference
Template implementation of the enum attribute accessor that uses free functions invoke helper class. More...
#include <Urho3D/Scene/Serializable.h>
Inheritance diagram for Urho3D::EnumAttributeAccessorFreeImpl< T, U >:
Collaboration diagram for Urho3D::EnumAttributeAccessorFreeImpl< T, U >:
Public Types | |
typedef U(* | GetFunctionPtr )(const T *) |
typedef void(* | SetFunctionPtr )(T *, U) |
Public Member Functions | |
EnumAttributeAccessorFreeImpl (GetFunctionPtr getFunction, SetFunctionPtr setFunction) | |
Construct with function pointers. | |
virtual void | Get (const Serializable *ptr, Variant &dest) const |
Invoke getter function. | |
virtual void | Set (Serializable *ptr, const Variant &value) |
Invoke setter function. | |
Public Member Functions inherited from Urho3D::RefCounted | |
RefCounted () | |
Construct. Allocate the reference count structure and set an initial self weak reference. | |
virtual | ~RefCounted () |
Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist. | |
void | AddRef () |
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. | |
void | ReleaseRef () |
Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. | |
int | Refs () const |
Return reference count. | |
int | WeakRefs () const |
Return weak reference count. | |
RefCount * | RefCountPtr () |
Return pointer to the reference count structure. | |
Public Attributes | |
GetFunctionPtr | getFunction_ |
Class-specific pointer to getter function. | |
SetFunctionPtr | setFunction_ |
Class-specific pointer to setter function. | |
Detailed Description
template<typename T, typename U>
class Urho3D::EnumAttributeAccessorFreeImpl< T, U >
Template implementation of the enum attribute accessor that uses free functions invoke helper class.
The documentation for this class was generated from the following file:
- Source/Urho3D/Scene/Serializable.h