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::WSIntScalarParameter Class Reference

#include <WSIntScalarParameter.h>

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

Public Slots

bool setValue (int inValue)
 
int 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

 WSIntScalarParameter (const QString &name, const QString &description, int value=0)
 
virtual ~WSIntScalarParameter ()
 
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

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

Private Member Functions

 WSIntScalarParameter ()
 

Private Attributes

covise::covise__IntScalarParameter parameter
 

Static Private Attributes

static WSIntScalarParameterprototype = new covise::WSIntScalarParameter()
 

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::WSIntScalarParameter::WSIntScalarParameter ( const QString &  name,
const QString &  description,
int  value = 0 
)
covise::WSIntScalarParameter::~WSIntScalarParameter ( )
virtual
covise::WSIntScalarParameter::WSIntScalarParameter ( )
private

Member Function Documentation

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

Implements covise::WSParameter.

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

Implements covise::WSParameter.

int covise::WSIntScalarParameter::getValue ( ) const
slot

Get the value of value

Returns
the value of value
bool covise::WSIntScalarParameter::setValue ( int  inValue)
slot

Set the value of value

Parameters
inValuethe new value of value
Returns
true if the parameter was changed
bool covise::WSIntScalarParameter::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::WSIntScalarParameter::toString ( ) const
virtualslot

Member Data Documentation

covise::covise__IntScalarParameter covise::WSIntScalarParameter::parameter
private
covise::WSIntScalarParameter * covise::WSIntScalarParameter::prototype = new covise::WSIntScalarParameter()
staticprivate

Property Documentation

int covise::WSIntScalarParameter::value
readwrite

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