#include <GmshSocket.h>
|
| GmshServer () |
|
virtual | ~GmshServer () |
|
virtual int | NonBlockingSystemCall (const std::string &exe, const std::string &args)=0 |
|
virtual int | NonBlockingWait (double waitint, double timeout, int socket=-1)=0 |
|
int | Start (const std::string &exe, const std::string &args, const std::string &sockname, double timeout) |
|
int | Shutdown () |
|
| 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 () |
|
|
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
} |
|
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) |
|
int | _sock |
|
std::string | _sockname |
|
unsigned long int | _sent |
|
unsigned long int | _received |
|
Definition at line 338 of file GmshSocket.h.
◆ GmshServer()
GmshServer::GmshServer |
( |
| ) |
|
|
inline |
◆ ~GmshServer()
virtual GmshServer::~GmshServer |
( |
| ) |
|
|
inlinevirtual |
◆ NonBlockingSystemCall()
virtual int GmshServer::NonBlockingSystemCall |
( |
const std::string & |
exe, |
|
|
const std::string & |
args |
|
) |
| |
|
pure virtual |
◆ NonBlockingWait()
virtual int GmshServer::NonBlockingWait |
( |
double |
waitint, |
|
|
double |
timeout, |
|
|
int |
socket = -1 |
|
) |
| |
|
pure virtual |
◆ Shutdown()
int GmshServer::Shutdown |
( |
| ) |
|
|
inline |
◆ Start()
int GmshServer::Start |
( |
const std::string & |
exe, |
|
|
const std::string & |
args, |
|
|
const std::string & |
sockname, |
|
|
double |
timeout |
|
) |
| |
|
inline |
◆ _portno
The documentation for this class was generated from the following file: