gwenhywfar  5.10.1
Macros | Typedefs | Functions
tm_signal.h File Reference
#include <gwenhywfar/types.h>
#include <gwenhywfar/list1.h>
#include <gwenhywfar/list2.h>
#include <gwenhywfar/xml.h>
Include dependency graph for tm_signal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM3   0x00000001
 
#define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM4   0x00000002
 

Typedefs

typedef struct TYPEMAKER2_SIGNAL TYPEMAKER2_SIGNAL
 

Functions

void Typemaker2_Signal_AddFlags (TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src)
 
TYPEMAKER2_SIGNALTypemaker2_Signal_copy (TYPEMAKER2_SIGNAL *p_struct, const TYPEMAKER2_SIGNAL *p_src)
 
TYPEMAKER2_SIGNALTypemaker2_Signal_dup (const TYPEMAKER2_SIGNAL *p_struct)
 
void Typemaker2_Signal_free (TYPEMAKER2_SIGNAL *p_struct)
 
TYPEMAKER2_SIGNALTypemaker2_Signal_fromXml (GWEN_XMLNODE *p_db)
 
uint32_t Typemaker2_Signal_GetFlags (const TYPEMAKER2_SIGNAL *p_struct)
 
const char * Typemaker2_Signal_GetName (const TYPEMAKER2_SIGNAL *p_struct)
 
const char * Typemaker2_Signal_GetParamType1 (const TYPEMAKER2_SIGNAL *p_struct)
 
const char * Typemaker2_Signal_GetParamType2 (const TYPEMAKER2_SIGNAL *p_struct)
 
TYPEMAKER2_SIGNAL_LIST * Typemaker2_Signal_List_dup (const TYPEMAKER2_SIGNAL_LIST *p_src)
 
TYPEMAKER2_SIGNALTypemaker2_Signal_new (void)
 
void Typemaker2_Signal_ReadXml (TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Signal_SetFlags (TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src)
 
void Typemaker2_Signal_SetName (TYPEMAKER2_SIGNAL *p_struct, const char *p_src)
 
void Typemaker2_Signal_SetParamType1 (TYPEMAKER2_SIGNAL *p_struct, const char *p_src)
 
void Typemaker2_Signal_SetParamType2 (TYPEMAKER2_SIGNAL *p_struct, const char *p_src)
 
void Typemaker2_Signal_SubFlags (TYPEMAKER2_SIGNAL *p_struct, uint32_t p_src)
 
void Typemaker2_Signal_toXml (const TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db)
 
void Typemaker2_Signal_WriteXml (const TYPEMAKER2_SIGNAL *p_struct, GWEN_XMLNODE *p_db)
 

Macro Definition Documentation

◆ TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM3

#define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM3   0x00000001

Definition at line 17 of file tm_signal.h.

Referenced by TM2C_BuildSignalFunctions(), and Typemaker2_Type_readXml().

◆ TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM4

#define TYPEMAKER2_SIGNAL_FLAGS_USE_PARAM4   0x00000002

Definition at line 18 of file tm_signal.h.

Referenced by TM2C_BuildSignalFunctions(), and Typemaker2_Type_readXml().

Typedef Documentation

◆ TYPEMAKER2_SIGNAL

Definition at line 27 of file tm_signal.h.

Function Documentation

◆ Typemaker2_Signal_AddFlags()

void Typemaker2_Signal_AddFlags ( TYPEMAKER2_SIGNAL p_struct,
uint32_t  p_src 
)

Add flags. Use this function to add flags to the member "flags"

Definition at line 200 of file tm_signal.c.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Signal_copy()

TYPEMAKER2_SIGNAL* Typemaker2_Signal_copy ( TYPEMAKER2_SIGNAL p_struct,
const TYPEMAKER2_SIGNAL p_src 
)

Definition at line 91 of file tm_signal.c.

References NULL.

◆ Typemaker2_Signal_dup()

TYPEMAKER2_SIGNAL* Typemaker2_Signal_dup ( const TYPEMAKER2_SIGNAL p_struct)

Definition at line 52 of file tm_signal.c.

References NULL, and Typemaker2_Signal_new().

Referenced by Typemaker2_Signal_List_dup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Signal_free()

void Typemaker2_Signal_free ( TYPEMAKER2_SIGNAL p_struct)

Destructor.

Definition at line 40 of file tm_signal.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

◆ Typemaker2_Signal_fromXml()

TYPEMAKER2_SIGNAL* Typemaker2_Signal_fromXml ( GWEN_XMLNODE p_db)

Definition at line 303 of file tm_signal.c.

References Typemaker2_Signal_new(), and Typemaker2_Signal_ReadXml().

Here is the call graph for this function:

◆ Typemaker2_Signal_GetFlags()

uint32_t Typemaker2_Signal_GetFlags ( const TYPEMAKER2_SIGNAL p_struct)

Getter. Use this function to get the member "flags"

Definition at line 146 of file tm_signal.c.

Referenced by TM2C_BuildSignalFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Signal_GetName()

const char* Typemaker2_Signal_GetName ( const TYPEMAKER2_SIGNAL p_struct)

Getter. Use this function to get the member "name"

Definition at line 128 of file tm_signal.c.

Referenced by _addSignalInits(), and TM2C_BuildSignalFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Signal_GetParamType1()

const char* Typemaker2_Signal_GetParamType1 ( const TYPEMAKER2_SIGNAL p_struct)

Getter. Use this function to get the member "paramType1"

Definition at line 134 of file tm_signal.c.

Referenced by _addSignalInits(), and TM2C_BuildSignalFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Signal_GetParamType2()

const char* Typemaker2_Signal_GetParamType2 ( const TYPEMAKER2_SIGNAL p_struct)

Getter. Use this function to get the member "paramType2"

Definition at line 140 of file tm_signal.c.

Referenced by _addSignalInits(), and TM2C_BuildSignalFunctions().

Here is the caller graph for this function:

◆ Typemaker2_Signal_List_dup()

TYPEMAKER2_SIGNAL_LIST* Typemaker2_Signal_List_dup ( const TYPEMAKER2_SIGNAL_LIST *  p_src)

Definition at line 212 of file tm_signal.c.

References Typemaker2_Signal_dup().

Here is the call graph for this function:

◆ Typemaker2_Signal_new()

TYPEMAKER2_SIGNAL* Typemaker2_Signal_new ( void  )

Constructor.

Definition at line 24 of file tm_signal.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, and NULL.

Referenced by Typemaker2_Signal_dup(), Typemaker2_Signal_fromXml(), and Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Signal_ReadXml()

void Typemaker2_Signal_ReadXml ( TYPEMAKER2_SIGNAL p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 231 of file tm_signal.c.

References GWEN_XMLNode_GetIntValue(), GWEN_XMLNode_GetProperty(), and NULL.

Referenced by Typemaker2_Signal_fromXml().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Signal_SetFlags()

void Typemaker2_Signal_SetFlags ( TYPEMAKER2_SIGNAL p_struct,
uint32_t  p_src 
)

Setter. Use this function to set the member "flags"

Definition at line 194 of file tm_signal.c.

◆ Typemaker2_Signal_SetName()

void Typemaker2_Signal_SetName ( TYPEMAKER2_SIGNAL p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "name"

Definition at line 152 of file tm_signal.c.

References NULL.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Signal_SetParamType1()

void Typemaker2_Signal_SetParamType1 ( TYPEMAKER2_SIGNAL p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "paramType1"

Definition at line 166 of file tm_signal.c.

References NULL.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Signal_SetParamType2()

void Typemaker2_Signal_SetParamType2 ( TYPEMAKER2_SIGNAL p_struct,
const char *  p_src 
)

Setter. Use this function to set the member "paramType2"

Definition at line 180 of file tm_signal.c.

References NULL.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Signal_SubFlags()

void Typemaker2_Signal_SubFlags ( TYPEMAKER2_SIGNAL p_struct,
uint32_t  p_src 
)

Sub flags. Use this function to sub flags to the member "flags"

Definition at line 206 of file tm_signal.c.

◆ Typemaker2_Signal_toXml()

void Typemaker2_Signal_toXml ( const TYPEMAKER2_SIGNAL p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 298 of file tm_signal.c.

References Typemaker2_Signal_WriteXml().

Here is the call graph for this function:

◆ Typemaker2_Signal_WriteXml()

void Typemaker2_Signal_WriteXml ( const TYPEMAKER2_SIGNAL p_struct,
GWEN_XMLNODE p_db 
)

Definition at line 281 of file tm_signal.c.

References GWEN_XMLNode_SetIntValue(), and GWEN_XMLNode_SetProperty().

Referenced by Typemaker2_Signal_toXml().

Here is the call graph for this function:
Here is the caller graph for this function: