Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
// 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: G4FRClient.hh,v 2.0 1998/07/02 16:47:52 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
// G4FRClient.hh
|
||||
// Yasuhide Sawada and Satoshi Tanaka
|
||||
|
||||
#ifdef G4VIS_BUILD_VRML_DRIVER
|
||||
|
||||
#ifndef G4_FR_CLIENT_HH
|
||||
#define G4_FR_CLIENT_HH
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
class FRClient;
|
||||
|
||||
class G4FRClient {
|
||||
// G4FRClient can SEND only!
|
||||
public:
|
||||
G4FRClient();
|
||||
virtual ~G4FRClient();
|
||||
|
||||
G4bool connect(const char *hostname, G4int port);
|
||||
void close();
|
||||
|
||||
G4int getPort() const;
|
||||
|
||||
G4bool isConnected() const { return connected; }
|
||||
G4bool is_open () const { return connected; }
|
||||
|
||||
G4FRClient& operator << (G4int);
|
||||
G4FRClient& operator << (G4double);
|
||||
G4FRClient& operator << (const char *);
|
||||
G4FRClient& operator << (G4FRClient& (*)(G4FRClient&));
|
||||
private:
|
||||
FRClient *fFRClient;
|
||||
G4bool connected;
|
||||
G4int fPort;
|
||||
};
|
||||
|
||||
//manipulator
|
||||
G4FRClient& endl(G4FRClient&);
|
||||
|
||||
#endif //G4_FR_CLIENT_HH
|
||||
#endif //G4VIS_BUILD_VRML_DRIVER
|
||||
Reference in New Issue
Block a user