COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Slots | Public Member Functions | Protected Member Functions | Properties | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
covise::WSFloatScalarParameter Class Reference

#include <WSFloatScalarParameter.h>

Inheritance diagram for covise::WSFloatScalarParameter:
Inheritance graph
[legend]
Collaboration diagram for covise::WSFloatScalarParameter:
Collaboration graph
[legend]

Public Slots

bool setValue (float inValue)
 
float getValue () const
 
virtual QString toString () const
 
- Public Slots inherited from covise::WSParameter
const QString & getName () const
 
const QString & getType () const
 
const QString & getDescription () const
 
void setEnabled (bool state)
 
bool isEnabled () const
 
void setMapped (bool mapped)
 
bool isMapped () const
 
virtual int getComponentCount () const
 
virtual QString toString () const =0
 
virtual QString toCoviseString () const
 
static WSParametercreate (covise::covise__Parameter *parameter)
 

Public Member Functions

 WSFloatScalarParameter (const QString &name, const QString &description, float value=0.0f)
 
virtual ~WSFloatScalarParameter ()
 
virtual WSParameterclone () const
 
virtual const
covise::covise__Parameter * 
getSerialisable ()
 
- Public Member Functions inherited from covise::WSParameter
 WSParameter (const QString &name, const QString &description, const QString &type)
 
virtual ~WSParameter ()
 

Protected Member Functions

virtual bool setValueFromSerialisable (const covise::covise__Parameter *serialisable)
 
- Protected Member Functions inherited from covise::WSParameter
const covise::covise__Parameter * getSerialisable (covise::covise__Parameter *parameter) const
 
bool equals (const covise::covise__Parameter *, const covise::covise__Parameter *)
 
 WSParameter (const WSParameter &)
 

Properties

float value
 
- Properties inherited from covise::WSParameter
QString name
 
QString type
 
QString description
 
bool enabled
 
bool mapped
 

Private Member Functions

 WSFloatScalarParameter ()
 

Private Attributes

covise::covise__FloatScalarParameter parameter
 

Static Private Attributes

static WSFloatScalarParameterprototype = new covise::WSFloatScalarParameter()
 

Additional Inherited Members

- Signals inherited from covise::WSParameter
void parameterChanged (covise::WSParameter *parameter)
 
- Static Protected Member Functions inherited from covise::WSParameter
static WSParameteraddPrototype (QString className, WSParameter *prototype)
 

Constructor & Destructor Documentation

covise::WSFloatScalarParameter::WSFloatScalarParameter ( const QString &  name,
const QString &  description,
float  value = 0.0f 
)
covise::WSFloatScalarParameter::~WSFloatScalarParameter ( )
virtual
covise::WSFloatScalarParameter::WSFloatScalarParameter ( )
private

Member Function Documentation

covise::WSParameter * covise::WSFloatScalarParameter::clone ( ) const
virtual

Implements covise::WSParameter.

const covise::covise__Parameter * covise::WSFloatScalarParameter::getSerialisable ( )
virtual

Implements covise::WSParameter.

float covise::WSFloatScalarParameter::getValue ( ) const
slot

Get the value of the scalar parameter

Returns
value
bool covise::WSFloatScalarParameter::setValue ( float  inValue)
slot

Set the value of the scalar parameter

Parameters
inValueThe new value of value
Returns
true if the parameter was changed
bool covise::WSFloatScalarParameter::setValueFromSerialisable ( const covise::covise__Parameter *  serialisable)
protectedvirtual

Sets the value from a native WS parameter

Returns
true, if the parameter was changed, false if the parameter did not change.

Implements covise::WSParameter.

QString covise::WSFloatScalarParameter::toString ( ) const
virtualslot

Member Data Documentation

covise::covise__FloatScalarParameter covise::WSFloatScalarParameter::parameter
private
covise::WSFloatScalarParameter * covise::WSFloatScalarParameter::prototype = new covise::WSFloatScalarParameter()
staticprivate

Property Documentation

float covise::WSFloatScalarParameter::value
readwrite

The documentation for this class was generated from the following files: