NvTweakEnumVar< T > Struct Template Reference
Template subclass for an NvTweakVar whose value is set based on entries of an NvTweakEnum of the same datatype. More...
#include <NvTweakVar.h>
Inheritance diagram for NvTweakEnumVar< T >:
Public Member Functions | |
NvTweakEnumVar (const NvTweakEnum< T > enumVals[], uint32_t enumValCount, T &refVal, const char *name, T minVal, T maxVal, T step, char *description=NULL) | |
Basic constructor for making an NvTweakEnumVar from a list of enum values. | |
virtual | ~NvTweakEnumVar () |
Default destructor. | |
T & | operator[] (const uint32_t index) |
Array operator for accessing the values of the contained enum. | |
virtual void | increment () |
Implementation of increment that incs internal index into enum value array, and sets based on enum value. | |
virtual void | decrement () |
Implementation of decrement that decs internal index into enum value array, and sets based on enum value. | |
Protected Attributes | |
NvTweakEnum< T > * | m_enumVals |
uint32_t | m_enumValCount |
uint32_t | m_enumIndex |
Detailed Description
template<class T>
struct NvTweakEnumVar< T >
Template subclass for an NvTweakVar whose value is set based on entries of an NvTweakEnum of the same datatype. Member Function Documentation
template<class T>
virtual void NvTweakEnumVar< T >::decrement | ( | ) | [inline, virtual] |
Implementation of decrement that decs internal index into enum value array, and sets based on enum value.
Reimplemented from NvTweakVar< T >.
template<class T>
virtual void NvTweakEnumVar< T >::increment | ( | ) | [inline, virtual] |
Implementation of increment that incs internal index into enum value array, and sets based on enum value.
Reimplemented from NvTweakVar< T >.
The documentation for this struct was generated from the following file: