COVISE Core
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
coInt32Param Class Reference

single integer parameter More...

#include <coInt32Param.h>

Inheritance diagram for coInt32Param:
Inheritance graph
[legend]
Collaboration diagram for coInt32Param:
Collaboration graph
[legend]

Public Member Functions

 coInt32Param (const char *name, const char *desc)
 Constructor. More...
 
virtual ~coInt32Param ()
 Destructor : virtual in case we derive objects. More...
 
virtual int isOfType (coUifPara::Typeinfo type)
 Check the type. More...
 
virtual int paramChange ()
 handle parameter changes: called by paramCB More...
 
virtual void initialize ()
 give dafault values to Covise -> automatically called ! More...
 
virtual void print (ostream &str) const
 print this to a stream More...
 
int setValue (long val)
 set/update the value: return 0 on error More...
 
long getValue () const
 get the value More...
 
virtual const char * getTypeString () const
 get the type string of this parameter More...
 
virtual const char * getValString () const
 get the value of this parameter as a string More...
 
virtual void setValString (const char *str)
 set the value of this parameter from a string More...
 

Static Public Member Functions

static coUifPara::Typeinfo getType ()
 get my type More...
 

Private Member Functions

 coInt32Param (const coInt32Param &)
 Copy-Constructor: NOT IMPLEMENTED. More...
 
coInt32Paramoperator= (const coInt32Param &)
 Assignment operator: NOT IMPLEMENTED. More...
 
 coInt32Param ()
 Default constructor: NOT IMPLEMENTED. More...
 

Private Attributes

long d_value
 Port data fields. More...
 

Static Private Attributes

static coUifPara::Typeinfo s_paraType = coUifPara::numericType("INTSCA")
 my type info More...
 
static const char * s_type = "INTSCA"
 

Detailed Description

single integer parameter

Constructor & Destructor Documentation

◆ coInt32Param() [1/3]

coInt32Param::coInt32Param ( const coInt32Param )
private

Copy-Constructor: NOT IMPLEMENTED.

◆ coInt32Param() [2/3]

coInt32Param::coInt32Param ( )
private

Default constructor: NOT IMPLEMENTED.

◆ coInt32Param() [3/3]

coInt32Param::coInt32Param ( const char *  name,
const char *  desc 
)

Constructor.

Constructor

◆ ~coInt32Param()

coInt32Param::~coInt32Param ( )
virtual

Destructor : virtual in case we derive objects.

Destructor : virtual in case we derive objects

Member Function Documentation

◆ getType()

coUifPara::Typeinfo coInt32Param::getType ( )
static

get my type

get my type

◆ getTypeString()

const char * coInt32Param::getTypeString ( ) const
virtual

get the type string of this parameter

--— Prevent auto-generated functions by assert ----—

get the type string of this parameter

◆ getValString()

const char * coInt32Param::getValString ( ) const
virtual

get the value of this parameter as a string

get the value of this parameter as a string

◆ getValue()

long coInt32Param::getValue ( ) const

get the value

get the value: if called after init() : update on map

◆ initialize()

void coInt32Param::initialize ( )
virtual

give dafault values to Covise -> automatically called !

give dafault values to Covise -> automatically called !

◆ isOfType()

int coInt32Param::isOfType ( coUifPara::Typeinfo  type)
virtual

Check the type.

Check the type

◆ operator=()

coInt32Param & coInt32Param::operator= ( const coInt32Param )
private

Assignment operator: NOT IMPLEMENTED.

◆ paramChange()

int coInt32Param::paramChange ( )
virtual

handle parameter changes: called by paramCB

handle parameter changes: called by paramCB

◆ print()

void coInt32Param::print ( ostream &  str) const
virtual

print this to a stream

print this to a stream

◆ setValString()

void coInt32Param::setValString ( const char *  str)
virtual

set the value of this parameter from a string

set the value of this parameter from a string

◆ setValue()

int coInt32Param::setValue ( long  val)

set/update the value: return 0 on error

set the value: if called after init() : update on map

If we have been initialized, update the map

Member Data Documentation

◆ d_value

long coInt32Param::d_value
private

Port data fields.

◆ s_paraType

coUifPara::Typeinfo coInt32Param::s_paraType = coUifPara::numericType("INTSCA")
staticprivate

my type info

◆ s_type

const char * coInt32Param::s_type = "INTSCA"
staticprivate

Static data


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