tunableBooleanConstant Class Reference

#include <tunableConst.h>

Inheritance diagram for tunableBooleanConstant:
tunableConstant

Public Member Functions

 tunableBooleanConstant (bool initialValue, booleanChangeValCallBackFunc cb, tunableUse type, const char *name, const char *desc)
bool getValue ()
bool setValue (bool newVal)
virtual void print ()
const char * getDesc () const
const char * getName () const
tunableUse getUse () const
tunableType getType () const

Static Public Member Functions

static tunableConstantfindTunableConstant (const char *name)
static List< tunableConstant * > beginIteration ()
static int numTunables ()

Protected Attributes

char * desc
char * name
tunableType typeName
tunableUse use

Static Protected Attributes

static stringPool * pool
static List< tunableConstant * > * allConstants

Private Attributes

bool value
booleanChangeValCallBackFunc newValueCallBack

Detailed Description

Definition at line 145 of file tunableConst.h.


Constructor & Destructor Documentation

tunableBooleanConstant::tunableBooleanConstant ( bool  initialValue,
booleanChangeValCallBackFunc  cb,
tunableUse  type,
const char *  name,
const char *  desc 
)

Member Function Documentation

static List<tunableConstant *> tunableConstant::beginIteration (  )  [inline, static, inherited]

Definition at line 119 of file tunableConst.h.

References tunableConstant::allConstants.

static tunableConstant* tunableConstant::findTunableConstant ( const char *  name  )  [static, inherited]
const char* tunableConstant::getDesc (  )  const [inline, inherited]

Definition at line 103 of file tunableConst.h.

References tunableConstant::desc.

const char* tunableConstant::getName (  )  const [inline, inherited]

Definition at line 106 of file tunableConst.h.

References tunableConstant::name.

tunableType tunableConstant::getType (  )  const [inline, inherited]

Definition at line 112 of file tunableConst.h.

References tunableConstant::typeName.

tunableUse tunableConstant::getUse (  )  const [inline, inherited]

Definition at line 109 of file tunableConst.h.

References tunableConstant::use.

bool tunableBooleanConstant::getValue (  )  [inline]

Definition at line 157 of file tunableConst.h.

References value.

static int tunableConstant::numTunables (  )  [inline, static, inherited]
virtual void tunableBooleanConstant::print (  )  [virtual]

Reimplemented from tunableConstant.

bool tunableBooleanConstant::setValue ( bool  newVal  )  [inline]

Definition at line 158 of file tunableConst.h.

References newValueCallBack, and value.


Field Documentation

List<tunableConstant*>* tunableConstant::allConstants [static, protected, inherited]

Definition at line 97 of file tunableConst.h.

Referenced by tunableConstant::beginIteration(), and tunableConstant::numTunables().

char* tunableConstant::desc [protected, inherited]

Definition at line 90 of file tunableConst.h.

Referenced by tunableConstant::getDesc().

char* tunableConstant::name [protected, inherited]

Definition at line 91 of file tunableConst.h.

Referenced by tunableConstant::getName().

Definition at line 148 of file tunableConst.h.

Referenced by setValue().

stringPool* tunableConstant::pool [static, protected, inherited]

Definition at line 95 of file tunableConst.h.

tunableType tunableConstant::typeName [protected, inherited]

Definition at line 92 of file tunableConst.h.

Referenced by tunableConstant::getType().

tunableUse tunableConstant::use [protected, inherited]

Definition at line 93 of file tunableConst.h.

Referenced by tunableConstant::getUse().

Definition at line 147 of file tunableConst.h.

Referenced by getValue(), and setValue().


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1