PIGALE 1.3.9 Documentation (original) (raw)

SourceForge Logo

P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor
H. de Fraysseix P. Ossona de Mendez


Client Class Reference

List of all members.


Detailed Description

Creates a Thread to read input data, and a QTcpSocket to dialog with the server.

Usage

The default port used for connection is 4242

In the input:

When reading from the server

Public Member Functions

Public Attributes

Protected Member Functions

Private Slots

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

Client ( const QString & host,
quint16 port
)

Member Function Documentation

void sendToServer ( QString & str )

| void closeConnection | ( | | ) | [private, slot] | | -------------------- | - | | - | ----------------- |

| void askCloseConnection | ( | | ) | [private, slot] | | ----------------------- | - | | - | ----------------- |

| void askConnection | ( | | ) | [private, slot] | | ------------------ | - | | - | ----------------- |

| void sendToServer | ( | | ) | [private, slot] | | ----------------- | - | | - | ----------------- |

| void socketReadyRead | ( | | ) | [private, slot] | | -------------------- | - | | - | ----------------- |

| void socketConnected | ( | | ) | [private, slot] | | -------------------- | - | | - | ----------------- |

| void socketConnectionClosed | ( | | ) | [private, slot] | | --------------------------- | - | | - | ----------------- |

void socketError ( QAbstractSocket::SocketError e ) [private, slot]

| void stop | ( | | ) | [private, slot] | | --------- | - | | - | ----------------- |

| void exit | ( | | ) | [private, slot] | | --------- | - | | - | ----------------- |

int ChangeActionsToDo ( int delta )
void writeServerEvent ( QString str )
void writeServerEvent ( char * buf,
uint size
)
void writeClient ( QString str )
void customEvent ( QEvent * e ) [protected]
int sendToServerGraph ( QString & str ) [private]
uint readBuffer ( char *& buff ) [private]
void writeServer ( QString str ) [private]
void writeServer ( char * buff,
quint32 size
) [private]

Member Data Documentation

QPushButton* send [private]

QPushButton * close [private]

QPushButton * quit [private]

QReadWriteLock lock [private]

QDataStream clo [private]


Generated on Thu Jan 31 16:51:40 2008 for Pigale by doxygen 1.5.4