design_pattern_for_c  V 1.00
state_machine_t Struct Reference

StateMachine class member definition. More...

#include <state_machine.h>

Collaboration diagram for state_machine_t:

Data Fields

StateManagerListData head
 
StateManagerListData tail
 
int(* call_event )(StateMachine this, int event, void *arg, int arglen, void(*response)(int result))
 
int(* call_single_event )(StateMachine this, int event, void *arg, int arglen, void(*response)(int result))
 
void(* free )(StateMachine this)
 
EventTPoolManager threadpool
 
pthread_t tid
 
state_machine_msg_list_t msglist
 

Detailed Description

StateMachine class member definition.

Definition at line 52 of file state_machine.c.

Field Documentation

◆ call_event

int(* call_event) (StateMachine this, int event, void *arg, int arglen, void(*response)(int result))

Definition at line 55 of file state_machine.c.

◆ call_single_event

int(* call_single_event) (StateMachine this, int event, void *arg, int arglen, void(*response)(int result))

Definition at line 56 of file state_machine.c.

◆ free

void(* free) (StateMachine this)

Definition at line 57 of file state_machine.c.

◆ head

Definition at line 53 of file state_machine.c.

◆ msglist

Definition at line 63 of file state_machine.c.

◆ tail

Definition at line 54 of file state_machine.c.

◆ threadpool

EventTPoolManager threadpool

Definition at line 59 of file state_machine.c.

◆ tid

pthread_t tid

Definition at line 60 of file state_machine.c.


The documentation for this struct was generated from the following file: