COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coFeedback.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_FEEDBACK_H_
9 #define _CO_FEEDBACK_H_
10 
11 // 25.04.00
12 
13 #include <util/coTypes.h>
14 
20 namespace covise
21 {
22 
23 class coDistributedObject;
24 class coUifPara;
25 
27 {
28 
29 private:
30  // Buffers for Parameters and Ports
31  char *d_paraBuf, *d_userBuf;
32 
33  // the plugin's name
34  char *d_pluginName;
35 
36  // number of Parameters and ports in this feedback stream
38  int d_numUser;
39 
40  // the separator string
41  static const char *s_sep;
42 
43  void strAddMasked(char *str, const char *add);
44 
45 public:
47  coFeedback(const char *pluginName);
48 
50  void addPara(coUifPara *parameter);
51 
53  void addString(const char *userString);
54 
56  void apply(coDistributedObject *obj);
57 
59  virtual ~coFeedback();
60 };
61 }
62 #endif
Definition: coFeedback.h:26
GLsizei GLsizei GLuint * obj
Definition: khronos-glext.h:6733
Definition: coUifPara.h:23
int d_numParam
Definition: coFeedback.h:37
static const char * s_sep
Definition: coFeedback.h:41
char * d_userBuf
Definition: coFeedback.h:31
#define APIEXPORT
Definition: coExport.h:251
int d_numUser
Definition: coFeedback.h:38
Definition: coDistributedObject.h:295
char * d_pluginName
Definition: coFeedback.h:34