COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coUifElem.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef _CO_UIF_ELEM_H_
9 #define _CO_UIF_ELEM_H_
10 
11 // 15.09.99
12 
17 namespace covise
18 {
19 
21 {
22 
23 public:
25  enum Kind
26  {
30  OUTPORT
31  };
32 
34  virtual ~coUifElem();
35 
37  virtual void hide();
38 
40  virtual void show();
41 
43  virtual Kind kind() const = 0;
44 
46  virtual const char *getName() const = 0;
47 
49  virtual void initialize() = 0;
50 
52  virtual int switchable() const;
53 
54  // --- all these are pre-defined empty ---
55 
57  virtual int paramChange();
58 
60  virtual int preCompute();
61 
63  virtual int postCompute();
64 };
65 }
66 #endif
Definition: coUifElem.h:27
Definition: coUifElem.h:20
Definition: coUifElem.h:28
#define APIEXPORT
Definition: coExport.h:251
Definition: coUifElem.h:29
Kind
enum Kind: SWITCH, PARAM, INPORT, OUTPORT
Definition: coUifElem.h:25