Geant4  10.02.p03
G4VModelFactory< T > Class Template Referenceabstract

#include <G4VisManager.hh>

Collaboration diagram for G4VModelFactory< T >:

Public Types

typedef std::vector< G4UImessenger * > Messengers
 
typedef std::pair< T *, MessengersModelAndMessengers
 

Public Member Functions

 G4VModelFactory (const G4String &name)
 
virtual ~G4VModelFactory ()
 
G4String Name ()
 
virtual ModelAndMessengers Create (const G4String &placement, const G4String &modelName)=0
 
void Print (std::ostream &ostr) const
 

Private Attributes

G4String fName
 

Detailed Description

template<class T>
class G4VModelFactory< T >

Definition at line 110 of file G4VisManager.hh.

Member Typedef Documentation

◆ Messengers

template<class T>
typedef std::vector<G4UImessenger*> G4VModelFactory< T >::Messengers

Definition at line 51 of file G4VModelFactory.hh.

◆ ModelAndMessengers

template<class T>
typedef std::pair<T*, Messengers> G4VModelFactory< T >::ModelAndMessengers

Definition at line 52 of file G4VModelFactory.hh.

Constructor & Destructor Documentation

◆ G4VModelFactory()

template<typename T >
G4VModelFactory< T >::G4VModelFactory ( const G4String name)

Definition at line 71 of file G4VModelFactory.hh.

72  :fName(name)
73 {}

◆ ~G4VModelFactory()

template<typename T >
G4VModelFactory< T >::~G4VModelFactory ( )
virtual

Definition at line 76 of file G4VModelFactory.hh.

76 {}

Member Function Documentation

◆ Create()

◆ Name()

template<typename T >
G4String G4VModelFactory< T >::Name ( )

Definition at line 80 of file G4VModelFactory.hh.

81 {
82  return fName;
83 }

◆ Print()

template<typename T >
void G4VModelFactory< T >::Print ( std::ostream &  ostr) const

Definition at line 87 of file G4VModelFactory.hh.

88 {
89  ostr<<" "<<fName<<std::endl;
90 }

Member Data Documentation

◆ fName

template<class T>
G4String G4VModelFactory< T >::fName
private

Definition at line 66 of file G4VModelFactory.hh.


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