30#ifndef G4UIGainServer_h
31#define G4UIGainServer_h 1
37#include <sys/socket.h>
39#include <netinet/in.h>
48#define SOCK_NAME "/tmp/socket"
49#define DEFAULT_PORT 40000;
82 struct sockaddr_in saddr;
83 struct sockaddr_in caddr;
92 std::vector<G4String> previousTreeCommands;
93 std::vector<G4String> newTreeCommands;
94 std::vector<G4String> previousTreeParams;
95 std::vector<G4String> newTreeParams;
96 std::vector<G4UIcommand*> previousTreePCP;
97 std::vector<G4UIcommand*> newTreePCP;
130 virtual void ExecuteCommand(
const G4String& aCommand);
132 virtual void ExitHelp()
const;
134 void WaitingConnection();
135 void CloseConnection();
155 void NotifyStateChange(
void);
156 void NotifyCommandUpdate(
void);
159 int CommandUpdated(
void);
160 void UpdateState(
void);
161 void UpdateParamVal(
void);
virtual G4int ReceiveG4cout(const G4String &coutString)
G4UIsession * SessionStart()
virtual void PauseSessionStart(const G4String &msg)
virtual G4int ReceiveG4cerr(const G4String &cerrString)