gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
GmshClient Class Reference

#include <GmshSocket.h>

Inheritance diagram for GmshClient:
Collaboration diagram for GmshClient:

Public Member Functions

 GmshClient ()
 
 ~GmshClient ()
 
int Connect (const char *sockname)
 
void Start ()
 
void Stop ()
 
void Disconnect ()
 
- Public Member Functions inherited from GmshSocket
 GmshSocket ()
 
 ~GmshSocket ()
 
int Select (int seconds, int microseconds, int socket=-1)
 
void SendMessage (int type, int length, const void *msg)
 
void SendString (int type, const char *str)
 
void Info (const char *str)
 
void Warning (const char *str)
 
void Error (const char *str)
 
void Progress (const char *str)
 
void MergeFile (const char *str)
 
void OpenProject (const char *str)
 
void ParseString (const char *str)
 
void SpeedTest (const char *str)
 
void Option (int num, const char *str)
 
int ReceiveHeader (int *type, int *len, int *swap)
 
int ReceiveMessage (int len, void *buffer)
 
int ReceiveString (int len, char *str)
 
void CloseSocket (int s)
 
void ShutdownSocket (int s)
 
unsigned long int SentBytes ()
 
unsigned long int ReceivedBytes ()
 

Additional Inherited Members

- Public Types inherited from GmshSocket
enum  MessageType {
  GMSH_START = 1, GMSH_STOP = 2, GMSH_INFO = 10, GMSH_WARNING = 11,
  GMSH_ERROR = 12, GMSH_PROGRESS = 13, GMSH_MERGE_FILE = 20, GMSH_PARSE_STRING = 21,
  GMSH_VERTEX_ARRAY = 22, GMSH_PARAMETER = 23, GMSH_PARAMETER_QUERY = 24, GMSH_PARAMETER_QUERY_ALL = 25,
  GMSH_PARAMETER_QUERY_END = 26, GMSH_CONNECT = 27, GMSH_OLPARSE = 28, GMSH_PARAMETER_NOT_FOUND = 29,
  GMSH_SPEED_TEST = 30, GMSH_PARAMETER_CLEAR = 31, GMSH_PARAMETER_UPDATE = 32, GMSH_OPEN_PROJECT = 33,
  GMSH_CLIENT_CHANGED = 34, GMSH_PARAMETER_WITHOUT_CHOICES = 35, GMSH_PARAMETER_QUERY_WITHOUT_CHOICES = 36, GMSH_OPTION_1 = 100,
  GMSH_OPTION_2 = 101, GMSH_OPTION_3 = 102, GMSH_OPTION_4 = 103, GMSH_OPTION_5 = 104
}
 
- Protected Member Functions inherited from GmshSocket
int _sendData (const void *buffer, int bytes)
 
int _receiveData (void *buffer, int bytes)
 
void _swapBytes (char *array, int size, int n)
 
void _sleep (int ms)
 
- Protected Attributes inherited from GmshSocket
int _sock
 
std::string _sockname
 
unsigned long int _sent
 
unsigned long int _received
 

Detailed Description

Definition at line 261 of file GmshSocket.h.

Constructor & Destructor Documentation

◆ GmshClient()

GmshClient::GmshClient ( )
inline

Definition at line 263 of file GmshSocket.h.

◆ ~GmshClient()

GmshClient::~GmshClient ( )
inline

Definition at line 264 of file GmshSocket.h.

Member Function Documentation

◆ Connect()

int GmshClient::Connect ( const char *  sockname)
inline

Definition at line 265 of file GmshSocket.h.

Referenced by onelab::remoteNetworkClient::remoteNetworkClient().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Disconnect()

void GmshClient::Disconnect ( )
inline

Definition at line 335 of file GmshSocket.h.

Referenced by onelab::remoteNetworkClient::~remoteNetworkClient().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Start()

void GmshClient::Start ( )
inline

Definition at line 324 of file GmshSocket.h.

Referenced by onelab::remoteNetworkClient::remoteNetworkClient().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Stop()

void GmshClient::Stop ( )
inline

Definition at line 334 of file GmshSocket.h.

Referenced by onelab::remoteNetworkClient::~remoteNetworkClient().

Here is the call graph for this function:
Here is the caller graph for this function:

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