ParticlePropertiesFactory.h
Go to the documentation of this file.
1 #ifndef _utl_ParticlePropertiesFactory_h_
2 #define _utl_ParticlePropertiesFactory_h_
3 
4 #include <utl/ObjectFactory.h>
5 #include <utl/VParticleProperties.h>
6 
7 
8 namespace utl {
9 
21  public:
22  static ParticlePropertiesPtr Unregistered(const int type);
23  };
24 
25 
36  public:
38  : fProperties(properties) { }
39 
41 
42  private:
44  };
45 
46 
48  typedef
51  int,
55 
56 }
57 
58 
59 #endif
utl::ObjectFactory< ParticlePropertiesPtr, int, const ParticlePropertiesCreator, UnregisteredParticlePropertyPolicy > ParticlePropertiesFactory
Typedef for particle properties factory using the generic object factory.
ParticlePropertiesCreator(const VParticleProperties *const properties)
ParticlePropertiesPtr operator()() const
boost::shared_ptr< const VParticleProperties > ParticlePropertiesPtr
Internal interface for particle properties. This is intended to be implemented for elementary particl...
static ParticlePropertiesPtr Unregistered(const int type)
Functor for the creation of particle properties by a factory.
Template for object factory.
Definition: ObjectFactory.h:71
Policy for dealing with the creation of properties for unregistered particle ID&#39;s.

, generated on Tue Sep 26 2023.