Functions

Thread functions.

Functions

void * downstream_thread (void *ptr)
 Manages streams from socket clients to GPCA-StateMachine.
void * upstream_thread (void *ptr)
 Manages streams from GPCA-Controller to GPCA-StateMachine.
void * gpca_state_machine_thread (void *ptr)
 GPCA state machine thread :Mainly execute TIMES codes.
void * gpca_clock_manager (void *ptr)
 GPCA clock manager.
void * observer_adapter (void *ptr)
 Observer adapter.

Function Documentation

void * downstream_thread ( void *  ptr  ) 

Manages streams from socket clients to GPCA-StateMachine.

/brief thread that manages a downstream from client to GPCA-StateMachine.

Parameters:
ptr not used.
Returns:
none.

check socket read error.

Initialize variable before starting.

Glue Code : Interface between Environment and GPCA (Channel communication).

Definition at line 475 of file main.c.

Here is the call graph for this function:

void * gpca_clock_manager ( void *  ptr  ) 

GPCA clock manager.

Clock Manager Thread : Provide clock source for GPCA-StateMachine.

Parameters:
ptr not used.
Returns:
none.

Definition at line 670 of file main.c.

void * gpca_state_machine_thread ( void *  ptr  ) 

GPCA state machine thread :Mainly execute TIMES codes.

GPCA state machine thread : This thread shall be filled with source codes automatically generated from TIMES tool.

Parameters:
ptr not used.
Returns:
none.

setClock

Definition at line 652 of file main.c.

Here is the call graph for this function:

void * observer_adapter ( void *  ptr  ) 

Observer adapter.

Observer adapter Thread : Provide GPCA-State to client at a regular interval.

Parameters:
ptr not used.
Returns:
none.

Definition at line 686 of file main.c.

Here is the call graph for this function:

void * upstream_thread ( void *  ptr  ) 

Manages streams from GPCA-Controller to GPCA-StateMachine.

A thread that manages upstreams from GPCA-Controller to GPCA-StateMachine.

Parameters:
ptr not used.
Returns:
none.

Read data from the serial connection.

Definition at line 547 of file main.c.

 All Classes Files Functions Variables Typedefs Defines