38#ifdef G4VIS_BUILD_VRML_DRIVER
46G4FRClient::G4FRClient()
53G4FRClient::~G4FRClient()
59G4bool G4FRClient::connect(
const char *hostname,
G4int port)
65 fFRClient =
new FRClient();
68 connected = (fFRClient->connect(hostname, port) < 0) ?
false :
true ;
73void G4FRClient::close()
80G4int G4FRClient::getPort()
const
85G4FRClient& G4FRClient::operator << (
G4int val)
88 sprintf(buf,
"%d", val);
93G4FRClient& G4FRClient::operator << (
G4double val)
96 sprintf(buf,
"%g", val);
101G4FRClient& G4FRClient::operator << (
const char *pval)
103 fFRClient->send(pval);
107G4FRClient& G4FRClient::operator << (G4FRClient& (*func)(G4FRClient&))