8#ifndef COVISE_MESSAGE_H
9#define COVISE_MESSAGE_H
76class DataManagerProcess;
123 return *(
int *)(
data.data());
146 name =
new char[strlen(na) + 1];
172 char *list =
nullptr;
186 char *list =
nullptr;
197 char **list =
nullptr;
208 char **list =
nullptr;
219 char *list =
nullptr;
243 return (
char *)strlen(list);
251 char **list =
nullptr;
256 ParamText(
const char *na,
char **l,
int lineno,
int len);
271 char *list =
nullptr;
282 char **list =
nullptr;
304 char **list =
nullptr;
315 char **list =
nullptr;
319 ParamPasswd(
const char *na,
char *host,
char *user,
char *passwd);
326 char **list =
nullptr;
338 char **list =
nullptr;
350 char *list =
nullptr;
356 return (
char *)strlen(list);
365 char **list =
nullptr;
376 char **list =
nullptr;
414 send_type =
m->send_type;
417 strcpy(
data.accessData(),
m->data.data());
420 m_name = h_name =
NULL;
422 object_types = port_names = object_names = save_names = release_names =
NULL;
423 no_of_save_objects = no_of_release_objects = 0;
424 no_of_params_in = no_of_params_out = 0;
426 params_out =
new Param *[MAX_OUT_PAR];
435 *
h = h_name, *inst = inst_no;
438 int get_scalar_param(
const char *,
long *);
439 int get_scalar_param(
const char *,
float *);
440 int get_vector_param(
const char *,
int,
long *);
441 int get_vector_param(
const char *,
int,
float *);
442 int get_string_param(
const char *,
char **);
443 int get_text_param(
const char *,
char ***,
int *line_num);
444 int get_boolean_param(
const char *,
int *);
445 int get_slider_param(
const char *,
long *
min,
long *
max,
long *
value);
446 int get_slider_param(
const char *,
float *
min,
float *
max,
float *
value);
447 int get_browser_param(
const char *,
char **);
448 int get_timer_param(
const char *,
long *
start,
long *delta,
long *state);
449 int get_passwd_param(
const char *,
char **host,
char **user,
char **passwd);
450 int get_choice_param(
const char *,
int *);
451 int get_choice_param(
const char *,
char **);
452 int get_material_param(
const char *,
char **);
453 int get_colormapchoice_param(
const char *,
int *);
454 int get_colormapchoice_param(
const char *,
char **);
456 int get_color_param(
const char *,
float *
r,
float *
g,
float *
b,
float *
a);
458 int set_scalar_param(
const char *,
long);
459 int set_scalar_param(
const char *,
float);
460 int set_vector_param(
const char *,
int num,
long *);
461 int set_vector_param(
const char *,
int num,
float *);
462 int set_string_param(
const char *,
char *);
463 int set_text_param(
const char *,
char *,
int);
464 int set_boolean_param(
const char *,
int);
465 int set_slider_param(
const char *,
long min,
long max,
long value);
466 int set_slider_param(
const char *,
float min,
float max,
float value);
467 int set_choice_param(
const char *,
int,
char **,
int);
468 int set_browser_param(
const char *,
char *,
char *);
469 int set_timer_param(
const char *,
long start,
long delta,
long state);
470 int set_passwd_param(
const char *,
char *host,
char *user,
char *passwd);
472 char *get_object_name(
const char *
name);
473 char *getObjectType(
const char *
name);
475 int set_save_object(
const char *
name);
476 int set_release_object(
const char *
name);
478 int create_finpart_message();
479 int create_finall_message();
481 int is_port_connected(
const char *
name);
500 send_type =
m->send_type;
505 m_name = h_name =
NULL;
512 char *get_part(
char *chdata =
NULL);
#define COVISEEXPORT
Definition: coExport.h:200
#define NULL
Definition: covise_list.h:22
GLdouble n
Definition: khronos-glext.h:8447
GLuint start
Definition: khronos-glext.h:6343
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760
GLuint GLuint GLsizei count
Definition: khronos-glext.h:6343
GLdouble GLdouble t
Definition: khronos-glext.h:6449
GLboolean GLboolean GLboolean b
Definition: khronos-glext.h:6895
GLboolean GLboolean g
Definition: khronos-glext.h:6895
GLuint GLfloat * val
Definition: khronos-glext.h:7898
GLuint const GLchar * name
Definition: khronos-glext.h:6722
GLuint GLuint num
Definition: khronos-glext.h:10593
GLdouble GLdouble GLdouble r
Definition: khronos-glext.h:6457
GLenum GLsizei len
Definition: khronos-glext.h:7440
GLboolean GLboolean GLboolean GLboolean a
Definition: khronos-glext.h:6895
GLdouble s
Definition: khronos-glext.h:6441
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: khronos-glext.h:6354
const GLfloat * m
Definition: khronos-glext.h:12117
GLenum type
Definition: khronos-glext.h:6279
GLfloat GLfloat GLfloat GLfloat h
Definition: khronos-glext.h:8441
int min(int a, int b)
Definition: cutil_math.h:60
int max(int a, int b)
Definition: cutil_math.h:55
list of all chemical elements
Definition: coConfig.h:27
colormap_type
Definition: covise_msg.h:80
@ VIRVO
Definition: covise_msg.h:82
@ RGBAX
Definition: covise_msg.h:81
long data_type
Definition: message.h:28
double length(EDGE_VECTOR &vector)
Definition: CuttingSurfaceGPMUtil.h:70
@ COVISE_MESSAGE_MALLOC_OK
Definition: message_types.h:78
@ COVISE_MESSAGE_SHM_MALLOC
Definition: message_types.h:76
Definition: dataHandle.h:18
int sender
Definition: message.h:96
Definition: covise_msg.h:88
long get_count()
Definition: covise_msg.h:116
ShmMessage()
Definition: covise_msg.h:104
int get_seq_no()
Definition: covise_msg.h:120
int get_offset()
Definition: covise_msg.h:127
data_type get_data_type()
Definition: covise_msg.h:112
int process_new_object_list(DataManagerProcess *dmgr)
ShmMessage(data_type d, long count)
Definition: covise_msg.h:92
int process_list(DataManagerProcess *dmgr)
Definition: covise_msg.h:137
int no
Definition: covise_msg.h:141
int get_type()
Definition: covise_msg.h:159
int no_of_items()
Definition: covise_msg.h:155
Param(const char *na, int t, int n)
Definition: covise_msg.h:144
char * getName() const
Definition: covise_msg.h:151
virtual ~Param()
Definition: covise_msg.h:163
int type
Definition: covise_msg.h:140
Definition: covise_msg.h:170
~ParamFloatScalar()
Definition: covise_msg.h:177
Definition: covise_msg.h:184
Definition: covise_msg.h:195
Definition: covise_msg.h:206
Definition: covise_msg.h:217
Definition: covise_msg.h:235
char * get_length()
Definition: covise_msg.h:241
char * list
Definition: covise_msg.h:237
Definition: covise_msg.h:249
int get_length()
Definition: covise_msg.h:261
int line_num
Definition: covise_msg.h:252
int length
Definition: covise_msg.h:253
int get_line_number()
Definition: covise_msg.h:257
Definition: covise_msg.h:269
Definition: covise_msg.h:280
Definition: covise_msg.h:291
char ** list
Definition: covise_msg.h:293
Definition: covise_msg.h:302
Definition: covise_msg.h:313
Definition: covise_msg.h:324
int sel
Definition: covise_msg.h:327
Definition: covise_msg.h:336
int sel
Definition: covise_msg.h:339
Definition: covise_msg.h:348
char * get_length()
Definition: covise_msg.h:354
Definition: covise_msg.h:363
Definition: covise_msg.h:374
Definition: covise_msg.h:388
int no_of_save_objects
Definition: covise_msg.h:394
int no_of_params_in
Definition: covise_msg.h:396
char ** release_names
Definition: covise_msg.h:404
Param ** params_out
Definition: covise_msg.h:406
char ** save_names
Definition: covise_msg.h:403
void get_header(char **m, char **h, char **inst)
Definition: covise_msg.h:432
int MAX_OUT_PAR
Definition: covise_msg.h:398
int no_of_params_out
Definition: covise_msg.h:397
char * m_name
Definition: covise_msg.h:390
int no_of_objects
Definition: covise_msg.h:393
char ** object_names
Definition: covise_msg.h:400
char ** object_types
Definition: covise_msg.h:401
Param ** params_in
Definition: covise_msg.h:405
char * inst_no
Definition: covise_msg.h:392
char ** port_names
Definition: covise_msg.h:399
int * port_connected
Definition: covise_msg.h:402
CtlMessage(Message *m)
Definition: covise_msg.h:410
char * h_name
Definition: covise_msg.h:391
int no_of_release_objects
Definition: covise_msg.h:395
Definition: covise_msg.h:485
int no_of_objects
Definition: covise_msg.h:494
char ** object_names
Definition: covise_msg.h:495
char * h_name
Definition: covise_msg.h:489
RenderMessage(Message *m)
Definition: covise_msg.h:496
char * m_name
Definition: covise_msg.h:488
char * inst_no
Definition: covise_msg.h:490
Definition: covise_shm.h:380