/**********************************************************
 * This file has been automatically created by "typemaker2"
 * from the file "tm_signal.xml".
 * Please do not edit this file, all changes will be lost.
 * Better edit the mentioned source file instead.
 **********************************************************/

#ifndef TM_SIGNAL_H
#define TM_SIGNAL_H


#ifdef __cplusplus
extern "C" {
#endif

/* define TYPEMAKER2_SIGNAL_FLAGS */
#define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM3 0x00000001
#define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM4 0x00000002


/* needed system headers */
#include <gwenhywfar/types.h>
#include <gwenhywfar/list1.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/xml.h>

typedef struct TYPEMAKER2_SIGNAL TYPEMAKER2_SIGNAL;
GWEN_LIST_FUNCTION_DEFS(TYPEMAKER2_SIGNAL, Typemaker2_Signal)
GWEN_LIST2_FUNCTION_DEFS(TYPEMAKER2_SIGNAL, Typemaker2_Signal)




/** Constructor. */
TYPEMAKER2_SIGNAL *Typemaker2_Signal_new(void);

/** Destructor. */
void Typemaker2_Signal_free(TYPEMAKER2_SIGNAL *p_struct);

TYPEMAKER2_SIGNAL *Typemaker2_Signal_dup(const TYPEMAKER2_SIGNAL *p_struct);

TYPEMAKER2_SIGNAL *Typemaker2_Signal_copy(TYPEMAKER2_SIGNAL *p_struct, const TYPEMAKER2_SIGNAL *p_src);

/** Getter.
 * Use this function to get the member "name"
*/
const char *Typemaker2_Signal_GetName(const TYPEMAKER2_SIGNAL *p_struct);

/** Getter.
 * Use this function to get the member "paramType1"
*/
const char *Typemaker2_Signal_GetParamType1(const TYPEMAKER2_SIGNAL *p_struct);

/** Getter.
 * Use this function to get the member "paramType2"
*/
const char *Typemaker2_Signal_GetParamType2(const TYPEMAKER2_SIGNAL *p_struct);

/** Getter.
 * Use this function to get the member "flags"
*/
uint32_t Typemaker2_Signal_GetFlags(const TYPEMAKER2_SIGNAL *p_struct);

/** Setter.
 * Use this function to set the member "name"
*/
void Typemaker2_Signal_SetName(TYPEMAKER2_SIGNAL *p_struct, const char *p_src);

/** Setter.
 * Use this function to set the member "paramType1"
*/
void Typemaker2_Signal_SetParamType1(TYPEMAKER2_SIGNAL *p_struct, const char *p_src);

/** Setter.
 * Use this function to set the member "paramType2"
*/
void Typemaker2_Signal_SetParamType2(TYPEMAKER2_SIGNAL *p_struct, const char *p_src);

/** Setter.
 * Use this function to set the member "flags"
*/
void Typemaker2_Signal_SetFlags(TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src);

/** Add flags.
 * Use this function to add flags to the member "flags"
*/
void Typemaker2_Signal_AddFlags(TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src);

/** Sub flags.
 * Use this function to sub flags to the member "flags"
*/
void Typemaker2_Signal_SubFlags(TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src);

TYPEMAKER2_SIGNAL_LIST *Typemaker2_Signal_List_dup(const TYPEMAKER2_SIGNAL_LIST *p_src);

void Typemaker2_Signal_ReadXml(TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db);

void Typemaker2_Signal_WriteXml(const TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db);

void Typemaker2_Signal_toXml(const TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db);

TYPEMAKER2_SIGNAL *Typemaker2_Signal_fromXml(GWEN_XMLNODE *p_db);

#ifdef __cplusplus
}
#endif

#endif

