Base class for chainable options.

See Also

Options<T>.


Public Member Functions

  • const std::string &
    getName () const
  • void *
    getVoidPtr () const
  • const std::string &
    getKeyIncr () const
  • const std::string &
    getKeyDecr () const
  • void
    setVisible (bool visible=true)

Protected Member Functions

  • OptionsBase (const std::string &name, void *targetVoidPtr, InterfaceGl *parent)
  • void
    setMin (float minVal)
  • void
    setMax (float maxVal)
  • void
    setStep (float maxVal)
  • void
    setPrecision (int precVal)
  • void
    setKeyIncr (const std::string &keyIncr)
  • void
    setKeyDecr (const std::string &keyDecr)
  • void
    setKey (const std::string &key)
  • void
    setLabel (const std::string &label)
  • void
    setGroup (const std::string &group)
  • void
    setOptionsStr (const std::string &optionsStr)
  • void
    reAddOptions ()

Protected Attributes

  • std::string
    mName
  • std::string
    mKeyIncr
  • std::string
    mKeyDecr
  • std::string
    mKey
  • std::string
    mLabel
  • std::string
    mGroup
  • std::string
    mOptionsStr
  • void *
    mVoidPtr
  • float
    mMin
  • float
    mMax
  • float
    mStep
  • int
    mPrecision
  • bool
    mMinSet
  • bool
    mMaxSet
  • bool
    mStepSet
  • bool
    mPrecisionSet
  • mParent

Friends