Problem 1580

Summary: G4GenericMessenger does not allow for setting broadcast/flushing properties of underlying UI commands
Product: Geant4 Reporter: Andrea Dotti <andrea.dotti>
Component: intercomsAssignee: asai
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: 10.0   
Hardware: All   
OS: All   

Description Andrea Dotti 2014-03-02 02:22:27 CET
If UI commands are created via G4GenericMessenger there is no obvious way to set the new broadcast and flushing properties of the underlying UI commands.

G4GenericMessenger::Comamnd implements the proxy pattern around G4UIcomamnd and no SetToBeBroadcast and SetToBeFlushed methods are available.

To tell the truth since Command is a C struct (!) one can always do:

G4GenericMessenger::Command.command->SetToBeBroadcast(...) but this is clearly less than optimal.

Andrea
Comment 1 asai 2014-03-04 18:20:14 CET
Fixed.