Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Data Fields
G4GenericMessenger::Method Struct Reference

#include <G4GenericMessenger.hh>

Inheritance diagram for G4GenericMessenger::Method:
G4GenericMessenger::Command

Public Member Functions

 Method (const G4AnyMethod &fun, void *obj, G4UIcommand *cmd)
 
 Method ()
 
- Public Member Functions inherited from G4GenericMessenger::Command
 Command (G4UIcommand *cmd, const std::type_info &ti)
 
 Command ()
 
CommandSetStates (G4ApplicationState s0)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3)
 
CommandSetStates (G4ApplicationState s0, G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4)
 
CommandSetRange (const G4String &range)
 
CommandSetGuidance (const G4String &s)
 
CommandSetUnit (const G4String &, UnitSpec=UnitDefault)
 
CommandSetUnitCategory (const G4String &u)
 
CommandSetDefaultUnit (const G4String &u)
 
CommandSetParameterName (const G4String &, G4bool, G4bool=false)
 
CommandSetDefaultValue (const G4String &)
 
CommandSetCandidates (const G4String &)
 

Data Fields

G4AnyMethod method
 
voidobject
 
- Data Fields inherited from G4GenericMessenger::Command
G4UIcommandcommand
 
const std::type_info * type
 

Additional Inherited Members

- Public Types inherited from G4GenericMessenger::Command
enum  UnitSpec { UnitCategory, UnitDefault }
 

Detailed Description

Definition at line 86 of file G4GenericMessenger.hh.

Constructor & Destructor Documentation

G4GenericMessenger::Method::Method ( const G4AnyMethod fun,
void obj,
G4UIcommand cmd 
)
inline

Definition at line 87 of file G4GenericMessenger.hh.

87 : Command(cmd, fun.ArgType()), method(fun), object(obj) {}
const std::type_info & ArgType(size_t n=0) const
Definition: G4AnyMethod.hh:128
G4GenericMessenger::Method::Method ( )
inline

Definition at line 88 of file G4GenericMessenger.hh.

Field Documentation

G4AnyMethod G4GenericMessenger::Method::method

Definition at line 89 of file G4GenericMessenger.hh.

Referenced by G4GenericMessenger::SetNewValue().

void* G4GenericMessenger::Method::object

Definition at line 90 of file G4GenericMessenger.hh.

Referenced by G4GenericMessenger::SetNewValue().


The documentation for this struct was generated from the following file: