COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Functions | Variables
coSimClient.h File Reference
#include <unistd.h>
#include <signal.h>
#include <sys/time.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netdb.h>
#include <sys/fcntl.h>
Include dependency graph for coSimClient.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int coInitConnect ()
 
int coNotConnected ()
 
int coGetParaSlider (const char *name, float *min, float *max, float *val)
 
int coGetParaFloatScalar (const char *name, float *data)
 
int coGetParaFloatVector (const char *name, float *data)
 
int coGetParaIntScalar (const char *name, int *data)
 
int coGetParaChoice (const char *name, int *data)
 
int coGetParaBool (const char *name, int *data)
 
int coGetParaText (const char *name, char *data)
 
int coGetParaFile (const char *name, int *data)
 
int coSendUSG (const char *portName, int numElem, int numConn, int numCoord, int *elemList, int *connList, float *xCoord, float *yCoord, float *zCoord)
 
int coSendUSGhex (const char *portName, int numElem, int numCoord, int *elemList, float *coord)
 
int coSend1Data (const char *portName, int numElem, float *data)
 
int coSend3Data (const char *portName, int numElem, float *data0, float *data1, float *data2)
 
int coAddAttribute (const char *portName, const char *attrName, const char *attrVal)
 
int coExecModule ()
 
int coFinished ()
 
int coDetach (void)
 
int coAttach (void)
 
int coParallelInit (int numParts, int numPorts)
 
int coParallelPort (const char *portname, int isCellData)
 
int coParallelCellMap (int node, int numCells, const int *localToGlobal)
 
int coParallelVertexMap (int node, int numCells, const int *localToGlobal)
 
int coParallelNode (int node)
 
int coSendParaDone ()
 
int sendData (const void *buffer, size_t length)
 
int recvData (void *buffer, size_t length)
 
int getVerboseLevel ()
 

Variables

struct in_addr ip
 
int minPort
 
int maxPort
 
int isServer
 

Function Documentation

int coAddAttribute ( const char *  portName,
const char *  attrName,
const char *  attrVal 
)
int coAttach ( void  )
int coDetach ( void  )
int coExecModule ( )
int coFinished ( )
int coGetParaBool ( const char *  name,
int *  data 
)
int coGetParaChoice ( const char *  name,
int *  data 
)
int coGetParaFile ( const char *  name,
int *  data 
)
int coGetParaFloatScalar ( const char *  name,
float *  data 
)
int coGetParaFloatVector ( const char *  name,
float *  data 
)
int coGetParaIntScalar ( const char *  name,
int *  data 
)
int coGetParaSlider ( const char *  name,
float *  min,
float *  max,
float *  val 
)
int coGetParaText ( const char *  name,
char *  data 
)
int coInitConnect ( )
int coNotConnected ( )
int coParallelCellMap ( int  node,
int  numCells,
const int *  localToGlobal 
)
int coParallelInit ( int  numParts,
int  numPorts 
)
int coParallelNode ( int  node)
int coParallelPort ( const char *  portname,
int  isCellData 
)
int coParallelVertexMap ( int  node,
int  numCells,
const int *  localToGlobal 
)
int coSend1Data ( const char *  portName,
int  numElem,
float *  data 
)
int coSend3Data ( const char *  portName,
int  numElem,
float *  data0,
float *  data1,
float *  data2 
)
int coSendParaDone ( )
int coSendUSG ( const char *  portName,
int  numElem,
int  numConn,
int  numCoord,
int *  elemList,
int *  connList,
float *  xCoord,
float *  yCoord,
float *  zCoord 
)
int coSendUSGhex ( const char *  portName,
int  numElem,
int  numCoord,
int *  elemList,
float *  coord 
)
int getVerboseLevel ( )
int recvData ( void buffer,
size_t  length 
)
int sendData ( const void buffer,
size_t  length 
)

Variable Documentation

struct in_addr ip
int isServer
int maxPort
int minPort