Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4TrajectoryParticleFilterFactory Class Reference

#include <G4TrajectoryFilterFactories.hh>

Inheritance diagram for G4TrajectoryParticleFilterFactory:
Collaboration diagram for G4TrajectoryParticleFilterFactory:

Public Types

typedef std::vector
< G4UImessenger * > 
Messengers
 
typedef std::pair< G4VFilter
< G4VTrajectory >
*, Messengers
ModelAndMessengers
 
- Public Types inherited from G4VModelFactory< G4VFilter< G4VTrajectory > >
typedef std::vector
< G4UImessenger * > 
Messengers
 
typedef std::pair< T
*, Messengers
ModelAndMessengers
 

Public Member Functions

 G4TrajectoryParticleFilterFactory ()
 
virtual ~G4TrajectoryParticleFilterFactory ()
 
ModelAndMessengers Create (const G4String &placement, const G4String &name)
 
- Public Member Functions inherited from G4VModelFactory< G4VFilter< G4VTrajectory > >
 G4VModelFactory (const G4String &name)
 
virtual ~G4VModelFactory ()
 
G4String Name ()
 
void Print (std::ostream &ostr) const
 

Detailed Description

Definition at line 74 of file G4TrajectoryFilterFactories.hh.

Member Typedef Documentation

Constructor & Destructor Documentation

G4TrajectoryParticleFilterFactory::G4TrajectoryParticleFilterFactory ( )

Definition at line 96 of file G4TrajectoryFilterFactories.cc.

G4TrajectoryParticleFilterFactory::~G4TrajectoryParticleFilterFactory ( )
virtual

Definition at line 100 of file G4TrajectoryFilterFactories.cc.

100 {}

Member Function Documentation

G4TrajectoryParticleFilterFactory::ModelAndMessengers G4TrajectoryParticleFilterFactory::Create ( const G4String placement,
const G4String name 
)
virtual

Implements G4VModelFactory< G4VFilter< G4VTrajectory > >.

Definition at line 103 of file G4TrajectoryFilterFactories.cc.

104 {
105  // Create model
107 
108  // Create associated messengers
109  Messengers messengers;
110 
111  messengers.push_back(new G4ModelCmdAddString<G4TrajectoryParticleFilter>(model, placement));
112  messengers.push_back(new G4ModelCmdInvert<G4TrajectoryParticleFilter>(model, placement));
113  messengers.push_back(new G4ModelCmdActive<G4TrajectoryParticleFilter>(model, placement));
114  messengers.push_back(new G4ModelCmdVerbose<G4TrajectoryParticleFilter>(model, placement));
115  messengers.push_back(new G4ModelCmdReset<G4TrajectoryParticleFilter>(model, placement));
116 
117  return ModelAndMessengers(model, messengers);
118 }
std::pair< G4VFilter< G4VTrajectory > *, Messengers > ModelAndMessengers
std::vector< G4UImessenger * > Messengers
const XML_Char XML_Content * model
Definition: expat.h:151

The documentation for this class was generated from the following files: