Welcome to the EyeBot  Version 7 - RPi1
A Controller For Various Hardware IO
Data Structures | Macros | Typedefs | Functions | Variables
header.h File Reference

The header containing all definitions for the GUI for the Eyebot 7. More...

Go to the source code of this file.

Data Structures

struct  PROC_PROC
 Structure defining the processes. More...
 
struct  PROC_PROCLIST
 Structure defining the process list. More...
 
struct  ROBIOS_PARAMS
 Structure defining the params for the GUI. More...
 

Macros

#define MAX_FILECHAR   400
 
#define MAX_USERPROG   32
 
#define MAX_FULLPATH   320
 
#define MAX_MSGLEN   128
 
#define MAX_COOLTIME   300000 /* usec */
 
#define MAX_WAITTIME   250000 /* usec */
 
#define MAX_WAITKILL   100000 /* usec */
 
#define MSG_WAITTIME   2 /* sec */
 
#define TOUCH_IDLETIME_USEC   250000
 
#define LOOPSLEEPTIME   250000
 

Typedefs

typedef struct PROC_PROC PROC_PROC
 Structure defining the processes.
 
typedef struct PROC_PROCLIST PROC_PROCLIST
 Structure defining the process list.
 

Functions

int LCDRefresh (void)
 Refresh the screen (i.e write display buffers to the framebuffer device). Refreshes the menu. More...
 
int LCDRefresh2 (void)
 Refresh the screen (i.e write display buffers to the framebuffer device). Does not refresh the menu. More...
 
int LCDRefresh3 (void)
 Refresh the screen (i.e write display buffers to the framebuffer device). Does not refresh the menu or the listmenu. More...
 
void processMenu ()
 
int show_msg (const char *format,...)
 
int page_system (void)
 
int system_exit ()
 
int system_network ()
 
int system_info ()
 
int demoPage (void)
 
int show_exec (void)
 
int show_hdt (void)
 
pid_t add_process (PROC_PROC *)
 
int chk_process (void)
 
PROC_PROCdel_process (pid_t)
 
PROC_PROCget_process (pid_t)
 
int procmenu (pid_t)
 
int load_proc (LIST_MENU *)
 
void sigchld_handler (int)
 
void runProcess (char *)
 
void IRScrollUp (void)
 
void IRScrollDown (void)
 
char * keyboardInput (void)
 
void trimline (char *src)
 trims the string by exchanging the first newlin char with the null byte More...
 

Variables

PROC_PROCLIST proclist
 
KEYCODE keycode
 
int screenRefresh
 
ROBIOS_PARAMS robiosParams
 
pthread_t threadKeyInput
 
pthread_t threadIRInput
 
pthread_t threadScreenRefresh
 

Detailed Description

The header containing all definitions for the GUI for the Eyebot 7.

Author
Marcus Pham

Function Documentation

pid_t add_process ( PROC_PROC pproc)

Add a new process to the process list. Return the current number number of processes in the list.

int LCDRefresh ( void  )

Refresh the screen (i.e write display buffers to the framebuffer device). Refreshes the menu.

Returns
int retVal : always 0
int LCDRefresh2 ( void  )

Refresh the screen (i.e write display buffers to the framebuffer device). Does not refresh the menu.

Returns
int retVal : always 0
int LCDRefresh3 ( void  )

Refresh the screen (i.e write display buffers to the framebuffer device). Does not refresh the menu or the listmenu.

Returns
int retVal : always 0
void trimline ( char *  src)

trims the string by exchanging the first newlin char with the null byte

Parameters
srcthe string to be trimmed