SVio class

Vio socket container object. More...


Files

file  dyn.h
 Class Dyn: dynamics library.

Classes

struct  sSVio
 Contains public data memebers for the SVio class. More...

Typedefs

typedef struct sSVio SVio
 Delcaration of the SVio class as the SVio structure.

Functions

SVioSVio_ctor (void)
 Construct the Vio socket container object.
void SVio_dtor (SVio **vsock)
 Destroy the Vio socket container object.
void SVio_initStructure (SVio *thee, const char *rwkey, const char *iodev, const char *iofmt, const char *iohost, const char *iofile, char *buf, int bufsize, int ptype)
 Initialize the Vio socket container object.
int SVio_bufSize (SVio *thee)
 Return the length of the internal buffer.
char * SVio_bufGive (SVio *thee)
 Return the pointer to the internal buffer.
void SVio_bufTake (SVio *thee, char *buf, int bufsize)
 Set the pointer to the internal buffer.
void Aprx_writeSVio (Aprx *thee, int plabel, Bvec *w0, SVio *vsock)
 Write a finite element mesh or mesh function to a socket.

Detailed Description

Vio socket container object.


Typedef Documentation

typedef struct sSVio SVio

Delcaration of the SVio class as the SVio structure.

Author:
Michael Holst


Function Documentation

void Aprx_writeSVio ( Aprx thee,
int  plabel,
Bvec w0,
SVio vsock 
)

Write a finite element mesh or mesh function to a socket.

Author:
Stephen Bond
Note:
Class Dyn: Non-Inlineable methods (svio.c)
Returns:
None
Parameters:
thee Pointer to an Aprx allocated memory location
plabel index for printing label
w0 Pointer to the block vector
vsock socket for reading/writing a finite element mesh or mesh function

char* SVio_bufGive ( SVio thee  ) 

Return the pointer to the internal buffer.

Author:
Stephen Bond
Note:
Class Dyn: Non-Inlineable methods (svio.c)
Returns:
the pointer to the internal buffer.
Parameters:
thee Pointer to the shell with environment variables

int SVio_bufSize ( SVio thee  ) 

Return the length of the internal buffer.

Author:
Stephen Bond
Note:
Class Dyn: Non-Inlineable methods (svio.c)
Returns:
the length of the internal buffer.
Parameters:
thee Pointer to the shell with environment variables

void SVio_bufTake ( SVio thee,
char *  buf,
int  bufsize 
)

Set the pointer to the internal buffer.

Author:
Stephen Bond
Note:
Class Dyn: Non-Inlineable methods (svio.c)
Returns:
None
Parameters:
thee Pointer to the shell with environment variables
buf Pointer to BUFF
bufsize size of BUFF

SVio* SVio_ctor ( void   ) 

Construct the Vio socket container object.

Author:
Stephen Bond
Note:
Class Dyn: Non-Inlineable methods (svio.c)
Returns:
None

void SVio_dtor ( SVio **  vsock  ) 

Destroy the Vio socket container object.

Author:
Stephen Bond
Note:
Class Dyn: Non-Inlineable methods (svio.c)
Returns:
None
Parameters:
vsock socket for reading/writing a finite element mesh or mesh function

void SVio_initStructure ( SVio thee,
const char *  rwkey,
const char *  iodev,
const char *  iofmt,
const char *  iohost,
const char *  iofile,
char *  buf,
int  bufsize,
int  ptype 
)

Initialize the Vio socket container object.

Author:
Stephen Bond
Note:
Class Dyn: Non-Inlineable methods (svio.c)
Returns:
None
Parameters:
thee Pointer to the shell with environment variables
rwkey read/write key "r" = read, "w" = write
iodev device type: "SDIO" = standard I/O "FILE" = file I/O "BUFF" = buffer I/O "UNIX" = UNIX (domain) socket I/O "INET" = INET (network) socket I/O
iofmt data format:"ASC" = ASCII (FILE,BUFF,UNIX,IN
iohost local hostname (me) (UNIX,INET)
iofile file or device name (FILE,BUFF,UNIX,INET)
buf Pointer to BUFF
bufsize size of BUFF
ptype print format(0 = Geomview (GV),1 = GMV,2 = OpenDX (DX), 3 = Matlab,4 = Raw Data)


Generated on Mon Aug 9 11:13:45 2010 for MC by  doxygen 1.5.6