Fifo terminal
[Baselib]

basic set of classes about sensors More...

Classes

struct  request
class  FifoServer
class  FifoClient
class  FifoTerm

Defines

#define MAX_FIFO   1000
#define DEF_BUFSIZE   10000
#define MAX_STRING_LENGHT   200
#define ESC_LINE_ERASE   "\033[2K"
 sequenze di escape per il controllo del cursore
#define ESC_CURS_TOP_LEFT   "\033[0;0f"
#define ESC_SCREEN_CLEAR   "\033[2J"
#define ESC_FORW_SCREEN_CLEAR   "\033[0J"
#define ESC_BACK_SCREEN_CLEAR   "\033[1J"
#define ESC_HIDE_CURS   "?25l"
#define ESC_UNHIDE_CURS   "?25h"

Enumerations

enum  fifoCmds {
  FIFO_CLEAR, FIFO_FLUSH, FIFO_LINE_ERASE, FIFO_CLOSE,
  FIFO_CMDS
}

Functions

fifoCmds fifoParse (char charCmd)

Variables

char startOfText
char endOfText
char formFeed
char endOfTransmission
char fifoCmdsChar [FIFO_CMDS]

Detailed Description

basic set of classes about sensors


Define Documentation

#define DEF_BUFSIZE   10000

#define ESC_BACK_SCREEN_CLEAR   "\033[1J"

#define ESC_CURS_TOP_LEFT   "\033[0;0f"

#define ESC_FORW_SCREEN_CLEAR   "\033[0J"

#define ESC_HIDE_CURS   "?25l"

#define ESC_LINE_ERASE   "\033[2K"

sequenze di escape per il controllo del cursore

#define ESC_SCREEN_CLEAR   "\033[2J"

#define ESC_UNHIDE_CURS   "?25h"

#define MAX_FIFO   1000

#define MAX_STRING_LENGHT   200


Enumeration Type Documentation

enum fifoCmds

comandi interpretati dal server

Enumerator:
FIFO_CLEAR 
FIFO_FLUSH 
FIFO_LINE_ERASE 
FIFO_CLOSE 
FIFO_CMDS 


Function Documentation

fifoCmds fifoParse ( char  charCmd  ) 

return fifoCmds correspondent to charCmd, if exixts otherwise return FIFO_CMDS

Parameters:
charCmd char to parse
Returns:
correspondent command


Variable Documentation

char endOfText

char fifoCmdsChar[FIFO_CMDS]

mappa caratteri/comandi

char formFeed

caratteri interpretati come comandi


Generated on Mon Feb 20 07:01:08 2017 for MIP by  doxygen 1.5.6