1 /**********************************************************
2  * This file has been automatically created by "typemaker2"
3  * from the file "tm_signal.xml".
4  * Please do not edit this file, all changes will be lost.
5  * Better edit the mentioned source file instead.
6  **********************************************************/
7 
8 #ifndef TM_SIGNAL_H
9 #define TM_SIGNAL_H
10 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* define TYPEMAKER2_SIGNAL_FLAGS */
17 #define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM3 0x00000001
18 #define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM4 0x00000002
19 
20 
21 /* needed system headers */
22 #include <gwenhywfar/types.h>
23 #include <gwenhywfar/list1.h>
24 #include <gwenhywfar/list2.h>
25 #include <gwenhywfar/xml.h>
26 
27 typedef struct TYPEMAKER2_SIGNAL TYPEMAKER2_SIGNAL;
28 GWEN_LIST_FUNCTION_DEFS(TYPEMAKER2_SIGNAL, Typemaker2_Signal)
29 GWEN_LIST2_FUNCTION_DEFS(TYPEMAKER2_SIGNAL, Typemaker2_Signal)
30 
31 
32 
33 
34 /** Constructor. */
35 TYPEMAKER2_SIGNAL *Typemaker2_Signal_new(void);
36 
37 /** Destructor. */
38 void Typemaker2_Signal_free(TYPEMAKER2_SIGNAL *p_struct);
39 
40 TYPEMAKER2_SIGNAL *Typemaker2_Signal_dup(const TYPEMAKER2_SIGNAL *p_struct);
41 
42 TYPEMAKER2_SIGNAL *Typemaker2_Signal_copy(TYPEMAKER2_SIGNAL *p_struct, const TYPEMAKER2_SIGNAL *p_src);
43 
44 /** Getter.
45  * Use this function to get the member "name"
46 */
47 const char *Typemaker2_Signal_GetName(const TYPEMAKER2_SIGNAL *p_struct);
48 
49 /** Getter.
50  * Use this function to get the member "paramType1"
51 */
52 const char *Typemaker2_Signal_GetParamType1(const TYPEMAKER2_SIGNAL *p_struct);
53 
54 /** Getter.
55  * Use this function to get the member "paramType2"
56 */
57 const char *Typemaker2_Signal_GetParamType2(const TYPEMAKER2_SIGNAL *p_struct);
58 
59 /** Getter.
60  * Use this function to get the member "flags"
61 */
62 uint32_t Typemaker2_Signal_GetFlags(const TYPEMAKER2_SIGNAL *p_struct);
63 
64 /** Setter.
65  * Use this function to set the member "name"
66 */
67 void Typemaker2_Signal_SetName(TYPEMAKER2_SIGNAL *p_struct, const char *p_src);
68 
69 /** Setter.
70  * Use this function to set the member "paramType1"
71 */
72 void Typemaker2_Signal_SetParamType1(TYPEMAKER2_SIGNAL *p_struct, const char *p_src);
73 
74 /** Setter.
75  * Use this function to set the member "paramType2"
76 */
77 void Typemaker2_Signal_SetParamType2(TYPEMAKER2_SIGNAL *p_struct, const char *p_src);
78 
79 /** Setter.
80  * Use this function to set the member "flags"
81 */
82 void Typemaker2_Signal_SetFlags(TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src);
83 
84 /** Add flags.
85  * Use this function to add flags to the member "flags"
86 */
87 void Typemaker2_Signal_AddFlags(TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src);
88 
89 /** Sub flags.
90  * Use this function to sub flags to the member "flags"
91 */
92 void Typemaker2_Signal_SubFlags(TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src);
93 
94 TYPEMAKER2_SIGNAL_LIST *Typemaker2_Signal_List_dup(const TYPEMAKER2_SIGNAL_LIST *p_src);
95 
96 void Typemaker2_Signal_ReadXml(TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db);
97 
98 void Typemaker2_Signal_WriteXml(const TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db);
99 
100 void Typemaker2_Signal_toXml(const TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db);
101 
102 TYPEMAKER2_SIGNAL *Typemaker2_Signal_fromXml(GWEN_XMLNODE *p_db);
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif
109 
110