COVISE Core
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
covise::coUifSwitchCase Class Reference

#include <coUifSwitchCase.h>

Collaboration diagram for covise::coUifSwitchCase:
Collaboration graph
[legend]

Public Member Functions

virtual ~coUifSwitchCase ()
 Destructor : virtual in case we derive objects. More...
 
 coUifSwitchCase (const char *name, coUifSwitch *master)
 Constructor: give this case a name. More...
 
void add (coUifElem *elem)
 add one element to out group More...
 
const char * getName () const
 returns my name More...
 
coUifSwitchgetMaster () const
 get my superior switch More...
 
virtual void hide ()
 Hide everything below. More...
 
virtual void show ()
 Show everything below. More...
 

Private Types

enum  { MAX_PORTS = 4096 }
 this is the REAL maximum number of ports More...
 

Private Member Functions

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

Private Attributes

char * d_name
 case name == label on the Choice More...
 
coUifSwitchd_master
 
coUifElemd_elemList [MAX_PORTS]
 
int d_numElem
 

Detailed Description

Class to handle the 'case' level of the switch hierarchie

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private

this is the REAL maximum number of ports

Enumerator
MAX_PORTS 

Constructor & Destructor Documentation

◆ coUifSwitchCase() [1/3]

coUifSwitchCase::coUifSwitchCase ( const coUifSwitchCase )
private

Copy-Constructor: NOT IMPLEMENTED.

◆ coUifSwitchCase() [2/3]

coUifSwitchCase::coUifSwitchCase ( )
private

Default constructor: NOT IMPLEMENTED.

◆ ~coUifSwitchCase()

coUifSwitchCase::~coUifSwitchCase ( )
virtual

Destructor : virtual in case we derive objects.

--— Never forget the Destructor !! ----—

◆ coUifSwitchCase() [3/3]

coUifSwitchCase::coUifSwitchCase ( const char *  name,
coUifSwitch master 
)

Constructor: give this case a name.

Member Function Documentation

◆ add()

void coUifSwitchCase::add ( coUifElem elem)

add one element to out group

◆ getMaster()

coUifSwitch * coUifSwitchCase::getMaster ( ) const

get my superior switch

◆ getName()

const char * coUifSwitchCase::getName ( ) const

returns my name

get the name of this object

◆ hide()

void coUifSwitchCase::hide ( )
virtual

Hide everything below.

◆ operator=()

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

Assignment operator: NOT IMPLEMENTED.

◆ show()

void coUifSwitchCase::show ( )
virtual

Show everything below.

Member Data Documentation

◆ d_elemList

coUifElem* covise::coUifSwitchCase::d_elemList[MAX_PORTS]
private

◆ d_master

coUifSwitch* covise::coUifSwitchCase::d_master
private

◆ d_name

char* covise::coUifSwitchCase::d_name
private

case name == label on the Choice

◆ d_numElem

int covise::coUifSwitchCase::d_numElem
private

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