#include <core/parameter.h>
Public Types | |
typedef T | ValueType |
Public Member Functions | |
ParameterBase (int moduleId, const std::string &name, T value=T()) | |
ParameterBase (const ParameterBase< T > &other) | |
virtual | ~ParameterBase () |
virtual ParameterBase< T > * | clone () const |
bool | isDefault () const |
const T | getDefaultValue () const |
const T | getValue () const |
const T | getValue (RangeType rt) const |
virtual bool | checkValue (const T &value) const |
virtual bool | checkChoice (const std::vector< std::string > &ch) const |
virtual T | minimum () const |
virtual T | maximum () const |
operator std::string () const | |
Public Member Functions inherited from vistle::Parameter | |
DEFINE_ENUM_WITH_STRING_CONVERSIONS (Type,(Unknown)(Float)(Integer)(Vector)(IntVector)(String)(Invalid)) DEFINE_ENUM_WITH_STRING_CONVERSIONS(Presentation | |
Generic (Filename)(ExistingFilename)(Directory)(ExistingDirectory)(NewPathname)(Boolean)(Choice)(Slider)(Color)(InvalidPresentation)) DEFINE_ENUM_WITH_STRING_CONVERSIONS(RangeType | |
Minimum() | Value (Maximum)) Parameter(int moduleId |
Parameter (const Parameter &other) | |
virtual | ~Parameter () |
void | setPresentation (Presentation presentation) |
void | setDescription (const std::string &description) |
void | setChoices (const std::vector< std::string > &choices) |
void | setGroup (const std::string &group) |
const std::string & | group () const |
int | module () const |
const std::string & | getName () const |
Type | type () const |
Presentation | presentation () const |
const std::string & | description () const |
const std::vector< std::string > & | choices () const |
Friends | |
class | ParameterManager |
class | Module |
class | Renderer |
class | message::SetParameter |
class | VistleConnection |
class | gui::Parameters |
class | ::VistleInteractor |
Additional Inherited Members | |
Public Attributes inherited from vistle::Parameter | |
Minimum() const std::string & | name |
Minimum() const std::string | Type = Invalid |
Minimum() const std::string | Presentation = Generic) |
Protected Attributes inherited from vistle::Parameter | |
std::vector< std::string > | m_choices |
typedef T vistle::ParameterBase< T >::ValueType |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from vistle::Parameter.
|
inlinevirtual |
|
inlinevirtual |
Implements vistle::Parameter.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements vistle::Parameter.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements vistle::Parameter.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |