Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: FRClient.h,v 2.0 1998/07/02 16:48:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
// FRClient.h
|
||||
// FukuiRenderer Client
|
||||
// Yasuhide Sawada & Satoshi Tanaka
|
||||
|
||||
#ifdef G4VIS_BUILD_VRML_DRIVER
|
||||
|
||||
#ifndef FR_CLIENT_H
|
||||
#define FR_CLIENT_H
|
||||
|
||||
#define FRSendLength 256
|
||||
|
||||
class FRClient {
|
||||
public:
|
||||
FRClient();
|
||||
virtual ~FRClient();
|
||||
|
||||
int create();
|
||||
int connect(const char *hostname, int port);
|
||||
|
||||
int send(const char *sendbuf);
|
||||
int receive(char *recvbuf);
|
||||
|
||||
int close();
|
||||
protected:
|
||||
int fd;
|
||||
int port;
|
||||
};
|
||||
|
||||
#endif //FR_CLIENT_H
|
||||
#endif //G4VIS_BUILD_VRML_DRIVER
|
||||
Reference in New Issue
Block a user