Geant4 VMC Version 6.6
|
Messenger class that defines commands for the verbose classes. More...
#include <TG4VerboseMessenger.h>
Public Types | |
typedef std::vector< TG4Verbose * > | VerboseVector |
The vector of TG4 verbose objects. | |
typedef std::vector< G4UIcmdWithAnInteger * > | CommandVector |
The vector of G4 commands with an integer. | |
Public Member Functions | |
TG4VerboseMessenger (const G4String &directoryName) | |
virtual | ~TG4VerboseMessenger () |
G4UIcommand * | AddCommand (TG4Verbose *verbose, const G4String &cmdName) |
void | RemoveCommand (TG4Verbose *verbose, G4UIcommand *command) |
virtual void | SetNewValue (G4UIcommand *command, G4String string) |
Private Member Functions | |
TG4VerboseMessenger () | |
Not implemented. | |
TG4VerboseMessenger (const TG4VerboseMessenger &right) | |
Not implemented. | |
TG4VerboseMessenger & | operator= (const TG4VerboseMessenger &right) |
Not implemented. | |
void | SetNewValueToAll (const G4String value) const |
Private Attributes | |
const G4String | fkDirectoryName |
command directory name | |
G4UIdirectory * | fDirectory |
command directory | |
G4UIcmdWithAnInteger * | fGlobalVerboseCmd |
global verbose command | |
VerboseVector | fVerboseVector |
associated verbose instances | |
CommandVector | fCommandVector |
verbose commands | |
Messenger class that defines commands for the verbose classes.
For all objects derived from TG4Verbose class implements the command
Definition at line 36 of file TG4VerboseMessenger.h.
std::vector<TG4Verbose*> TG4VerboseMessenger::VerboseVector |
The vector of TG4 verbose objects.
Definition at line 40 of file TG4VerboseMessenger.h.
std::vector<G4UIcmdWithAnInteger*> TG4VerboseMessenger::CommandVector |
The vector of G4 commands with an integer.
Definition at line 43 of file TG4VerboseMessenger.h.
TG4VerboseMessenger::TG4VerboseMessenger | ( | const G4String & | directoryName | ) |
Standard constructor
Definition at line 24 of file TG4VerboseMessenger.cxx.
|
virtual |
Destructor
Definition at line 47 of file TG4VerboseMessenger.cxx.
|
private |
Not implemented.
|
private |
Not implemented.
G4UIcommand * TG4VerboseMessenger::AddCommand | ( | TG4Verbose * | verbose, |
const G4String & | cmdName ) |
Add the command specified by cmdName and associate verbose object.
Definition at line 87 of file TG4VerboseMessenger.cxx.
Referenced by TG4Verbose::TG4Verbose(), and TG4Verbose::TG4Verbose().
void TG4VerboseMessenger::RemoveCommand | ( | TG4Verbose * | verbose, |
G4UIcommand * | command ) |
Remove the specified verbose and associate command
Definition at line 113 of file TG4VerboseMessenger.cxx.
Referenced by TG4Verbose::~TG4Verbose().
|
virtual |
Apply command to the associated object.
Definition at line 135 of file TG4VerboseMessenger.cxx.
|
private |
Not implemented.
|
private |
Set the value to all registered verbose instances.
Definition at line 67 of file TG4VerboseMessenger.cxx.
Referenced by SetNewValue().
|
private |
command directory name
Definition at line 66 of file TG4VerboseMessenger.h.
Referenced by AddCommand(), and SetNewValueToAll().
|
private |
command directory
Definition at line 67 of file TG4VerboseMessenger.h.
Referenced by TG4VerboseMessenger(), and ~TG4VerboseMessenger().
|
private |
global verbose command
Definition at line 68 of file TG4VerboseMessenger.h.
Referenced by SetNewValue(), TG4VerboseMessenger(), and ~TG4VerboseMessenger().
|
private |
associated verbose instances
Definition at line 69 of file TG4VerboseMessenger.h.
Referenced by AddCommand(), RemoveCommand(), and SetNewValue().
|
private |
verbose commands
Definition at line 70 of file TG4VerboseMessenger.h.
Referenced by AddCommand(), RemoveCommand(), SetNewValue(), and ~TG4VerboseMessenger().