2 #ifndef GEAR_GearMaterialProperties_H
3 #define GEAR_GearMaterialProperties_H 1
7 class GearPointProperties ;
8 class GearDistanceProperties ;
10 typedef stdd:map<std::string,std::string> ConfigMap ;
19 class GearMaterialProperties {
27 ConfigMap&
config() {
return _cfg ; }
51 class GearMaterialPropertiesFactory{
57 GearMaterialProperties*
create() = 0 ;
Abstract interface for a class that returns the (material) properties along a given distance between ...
virtual GearDistanceProperties * getGearDistanceProperties() const =0
Get an instance of the GearDistanceProperties - 0 if not initialized.
virtual GearMaterialProperties * create() const =0
Create a new object of the GearMaterialProperties.
virtual GearPointProperties * getGearPointProperties() const =0
Get an instance of the GearPointProperties - 0 if not initialized.
Factory singleton class - plugin libraries will have to implement a concrete factory and register it ...
GearMaterialPropertiesFactory * instance()
The instance.
virtual void initialize()=0
Initialize a concrete implemetaiton of the detailed material properties - after the configuration...
Abstract interface for a class that returns the (material) properties of a given point in in world co...
ConfigMap & config()
Use to configure an instance of the material properties, e.g.