Emergency 20 Dokumentation  4.2.0
em5::ActionRangeSpecsGroup Class Reference

Action range specs group implementation. More...

#include <ActionRangeSpecsGroup.h>

Inheritance diagram for em5::ActionRangeSpecsGroup:
em5::SpecsGroup qsf::UniqueInstance< ActionRangeSpecsGroup > qsf::ParameterGroup qsf::Pluginable< ParameterGroupManager > qsf::PluginableBase qsf::Object

Public Member Functions

 ActionRangeSpecsGroup (SpecsGroupManager *specsGroupManager)
 Constructor. More...
 
virtual ~ActionRangeSpecsGroup ()
 Destructor. More...
 
float getCutTreeDistance () const
 
void setCutTreeDistance (float distance)
 
float getCutHedgeDistance () const
 
void setCutHedgeDistance (float distance)
 
float getCutCarDistance () const
 
void setCutCarDistance (float distance)
 
float getCarryPersonDistance () const
 
void setCarryPersonDistance (float distance)
 
float getGuideGangsterDistance () const
 
void setGuideGangsterDistance (float distance)
 
float getPlacePersonDistance () const
 
void setPlacePersonDistance (float distance)
 
float getTreatPersonDistance () const
 
void setTreatPersonDistance (float distance)
 
float getEnterVehicleDistance () const
 
void setEnterVehicleDistance (float distance)
 
float getEnterBuildingDistance () const
 
void setEnterBuildingDistance (float distance)
 
float getPullObjectDistance () const
 
void setPullObjectDistance (float distance)
 
float getPullPersonDistance () const
 
void setPullPersonDistance (float distance)
 
float getRepairObjectDistance () const
 
void setRepairObjectDistance (float distance)
 
float getTakeEquipmentDistance () const
 
void setTakeEquipmentDistance (float distance)
 
float getExtinguishFireDistance () const
 
void setExtinguishFireDistance (float distance)
 
float getUsePepperSprayDistance () const
 
void setUsePepperSprayDistance (float distance)
 
float getArrestGangsterDistance () const
 
void setArrestGangsterDistance (float distance)
 
float getGotoHydrantDistance () const
 
void setGotoHydrantDistance (float distance)
 
float getSearchRoadVehicleDistance () const
 
void setSearchRoadVehicleDistance (float distance)
 
float getPickPocketDistance () const
 
void setPickPocketDistance (float distance)
 
float getRescueDogSearchDistance () const
 
void setRescueDogSearchDistance (float distance)
 
float getStunGrenadeRadius () const
 
void setStunGrenadeRadius (float radius)
 
float getStunGrenadeThrowDistance () const
 
void setStunGrenadeThrowDistance (float radius)
 
float getStunGrenadeNoFollowDistance () const
 
void setStunGrenadeNoFollowDistance (float radius)
 
float getStunGrenadeStunTime () const
 
void setStunGrenadeStunTime (float seconds)
 
float getGangsterSearchDistance () const
 
void setGangsterSearchDistance (float distance)
 
float getGangsterFearDistance () const
 
void setGangsterFearDistance (float distance)
 
float getTowcarDistance () const
 
void setTowcarDistance (float distance)
 
float getHeavyCraneDistance () const
 
void setHeavyCraneDistance (float distance)
 
float getDlkDistance () const
 
void setDlkDistance (float distance)
 
- Public Member Functions inherited from em5::SpecsGroup
virtual ~SpecsGroup ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::ParameterGroup
virtual ~ParameterGroup ()
 Destructor. More...
 
- Public Member Functions inherited from qsf::Pluginable< ParameterGroupManager >
virtual ~Pluginable ()
 Destructor. More...
 
ParameterGroupManagergetManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::PluginableBase
virtual ~PluginableBase ()
 Destructor. More...
 
template<typename T >
T & getPluginableManager () const
 Return the pluginable manager this pluginable is in. More...
 
- Public Member Functions inherited from qsf::Object
virtual ~Object ()
 Destructor. More...
 
const camp::Class & getCampClass () const
 Return the CAMP class. More...
 
int getPropertyIndexById (const StringHash &propertyId) const
 Return the CAMP property index by using the unique class property ID. More...
 
uint32 getPropertyIdByIndex (int index) const
 Return the unique class property ID with the given index. More...
 
std::string getPropertyNameById (const StringHash &propertyId) const
 Return the CAMP property name by using the unique class property ID. More...
 
const camp::Property * getCampPropertyById (const StringHash &propertyId) const
 Return the CAMP property by using the unique class property ID. More...
 
void setPropertyValuesByString (const std::string &values)
 Set CAMP reflection property values by using a given string. More...
 
void setPropertiesToDefaultValues ()
 Set all CAMP reflection system properties to their default values. More...
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void serializeToBoostPTree (boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
bool deserializeFromBoostPTree (const boost::property_tree::ptree &pTree, const camp::Class &campClass, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL)
 
void serializeToBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL) const
 
void deserializeFromBinarySerializer (BinarySerializer &serializer, SerializationMode mode=MODE_MINIMAL, SerializationMethod serializationMethod=SERIALIZE_DIFFERENTIAL, bool setOverrideState=true)
 
virtual camp::Value getPropertyDefaultValue (const StringHash &propertyId) const
 
virtual PropertyOverrideState getPropertyOverrideState (const StringHash &propertyId) const
 
virtual bool setPropertyOverrideState (const StringHash &propertyId, PropertyOverrideState overrideState)
 
virtual void onPreDeserialize ()
 Called right before the object is deserialized using any of the above methods. Default implementation is empty. More...
 
virtual void onPostDeserialize ()
 Called right after the object was deserialized using any of the above methods. Default implementation is empty. More...
 
virtual ScriptgetAssociatedScript () const
 Return the script instance associated with this object instance. More...
 

Static Public Attributes

static const uint32 PLUGINABLE_ID
 "em5::ActionRangeSpecsGroup" unique pluginable specs group ID More...
 
static const uint32 CUT_TREE_DISTANCE
 "CutTreeDistance" unique class property ID inside the class More...
 
static const uint32 CUT_HEDGE_DISTANCE
 "CutHedgeDistance" unique class property ID inside the class More...
 
static const uint32 CUT_CAR_DISTANCE
 "CutCarDistance" unique class property ID inside the class More...
 
static const uint32 CARRY_PERSON_DISTANCE
 "CarryPersonDistance" unique class property ID inside the class More...
 
static const uint32 GUIDE_GANGSTER_DISTANCE
 "GuideGangsterDistance" unique class property ID inside the class More...
 
static const uint32 PLACE_PERSON_DISTANCE
 "PlacePersonDistance" unique class property ID inside the class More...
 
static const uint32 TREAT_PERSON_DISTANCE
 "TreatPersonDistance" unique class property ID inside the class More...
 
static const uint32 ENTER_VEHICLE_DISTANCE
 "EnterVehicleDistance" unique class property ID inside the class More...
 
static const uint32 ENTER_BUILDING_DISTANCE
 "EnterBuildingDistance" unique class property ID inside the class More...
 
static const uint32 PULL_OBJECT_DISTANCE
 "PullObjectDistance" unique class property ID inside the class More...
 
static const uint32 PULL_PERSON_DISTANCE
 "PullPersonDistance" unique class property ID inside the class More...
 
static const uint32 REPAIR_OBJECT_DISTANCE
 "RepairObjectDistance" unique class property ID inside the class More...
 
static const uint32 TAKE_EQUIPMENT_DISTANCE
 "TakeEquipmentDistance" unique class property ID inside the class More...
 
static const uint32 EXTINGUISH_FIRE_DISTANCE
 "ExtinguishFireDistance" unique class property ID inside the class More...
 
static const uint32 USE_PEPPER_SPRAY_DISTANCE
 "UsePepperSprayDistance" unique class property ID inside the class More...
 
static const uint32 ARREST_GANGSTER_DISTANCE
 "ArrestGangsterDistance" unique class property ID inside the class More...
 
static const uint32 GOTO_HYDRANT_DISTANCE
 "GotoHydrantDistance" unique class property ID inside the class More...
 
static const uint32 SEARCH_ROADVEHICLE_DISTANCE
 "SearchRoadVehicleDistance" unique class property ID inside the class More...
 
static const uint32 PICK_POCKET_DISTANCE
 "PickPocketDistance" unique class property ID inside the class More...
 
static const uint32 RESCUEDOG_SEARCH_DISTANCE
 "RescueDogSearchDistance" unique class property ID inside the class More...
 
static const uint32 STUN_GRENADE_RADIUS
 "StunGrenadeRadius" unique class property ID inside the class More...
 
static const uint32 STUN_GRENADE_THROW_DISTANCE
 "StunGrenadeThrowDistance" unique class property ID inside the class More...
 
static const uint32 STUN_GRENADE_NO_FOLLOW_DISTANCE
 "StunGrenadeNoFollowDistance" unique class property ID inside the class More...
 
static const uint32 STUN_GRENADE_STUN_TIME
 "StunGrenadeStunTime" unique class property ID inside the class More...
 
static const uint32 GANGSTER_SEARCH_DISTANCE
 "GangsterSearchDistance" unique class property ID inside the class More...
 
static const uint32 GANGSTER_FEAR_DISTANCE
 "GangsterFearDistance" unique class property ID inside the class More...
 
static const uint32 TOWCAR_DISTANCE
 "TowcarDistance" unique class property ID inside the class More...
 
static const uint32 HEAVY_CRANE_DISTANCE
 "HeavyCraneDistance" unique class property ID inside the class More...
 
static const uint32 DLK_DISTANCE
 "DlkDistance" unique class property ID inside the class More...
 

Additional Inherited Members

- Public Types inherited from qsf::Object
enum  PropertyOverrideState { PROPERTY_INVALID, PROPERTY_DEFAULT, PROPERTY_OVERRIDE, PROPERTY_REMOVED }
 
enum  SerializationMethod { SERIALIZE_FLAT, SERIALIZE_COMPLETE, SERIALIZE_DIFFERENTIAL, SERIALIZE_IGNORE_UNKNOWN }
 
enum  SerializationMode { MODE_MINIMAL, MODE_COMPATIBLE }
 
- Static Public Member Functions inherited from qsf::UniqueInstance< ActionRangeSpecsGroup >
static ActionRangeSpecsGroup * getInstance ()
 Return the global unique instance. More...
 
static ActionRangeSpecsGroup & getInstanceSafe ()
 Return the global unique instance. More...
 
- Protected Member Functions inherited from em5::SpecsGroup
 SpecsGroup (SpecsGroupManager *specsGroupManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::ParameterGroup
 ParameterGroup (ParameterGroupManager *parameterGroupManager)
 Constructor. More...
 
void promotePropertyChange (uint32 propertyId)
 A component property value was changed. More...
 
template<typename T >
bool assignAndPromoteChange (T &variable, const T &newValue, uint32 propertyId)
 Comfort function for updating an exported member variable and promoting any change that happened. More...
 
- Protected Member Functions inherited from qsf::Pluginable< ParameterGroupManager >
 Pluginable (ParameterGroupManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::PluginableBase
 PluginableBase (PluginableManager *pluginableManager)
 Constructor. More...
 
- Protected Member Functions inherited from qsf::Object
 Object ()
 Default constructor. More...
 
- Protected Member Functions inherited from qsf::UniqueInstance< ActionRangeSpecsGroup >
 UniqueInstance ()
 Default constructor. More...
 
virtual ~UniqueInstance ()
 Destructor. More...
 

Detailed Description

Action range specs group implementation.

Constructor & Destructor Documentation

em5::ActionRangeSpecsGroup::ActionRangeSpecsGroup ( SpecsGroupManager specsGroupManager)
inlineexplicit

Constructor.

Parameters
[in]specsGroupManagerOptional pointer to the specs group manager this specs group should be registered to, can be a null pointer
em5::ActionRangeSpecsGroup::~ActionRangeSpecsGroup ( )
inlinevirtual

Destructor.

Member Function Documentation

float em5::ActionRangeSpecsGroup::getArrestGangsterDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getCarryPersonDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getCutCarDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getCutHedgeDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getCutTreeDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getDlkDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getEnterBuildingDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getEnterVehicleDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getExtinguishFireDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getGangsterFearDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getGangsterSearchDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getGotoHydrantDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getGuideGangsterDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getHeavyCraneDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getPickPocketDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getPlacePersonDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getPullObjectDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getPullPersonDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getRepairObjectDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getRescueDogSearchDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getSearchRoadVehicleDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getStunGrenadeNoFollowDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getStunGrenadeRadius ( ) const
inline
float em5::ActionRangeSpecsGroup::getStunGrenadeStunTime ( ) const
inline
float em5::ActionRangeSpecsGroup::getStunGrenadeThrowDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getTakeEquipmentDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getTowcarDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getTreatPersonDistance ( ) const
inline
float em5::ActionRangeSpecsGroup::getUsePepperSprayDistance ( ) const
inline
void em5::ActionRangeSpecsGroup::setArrestGangsterDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setCarryPersonDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setCutCarDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setCutHedgeDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setCutTreeDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setDlkDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setEnterBuildingDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setEnterVehicleDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setExtinguishFireDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setGangsterFearDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setGangsterSearchDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setGotoHydrantDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setGuideGangsterDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setHeavyCraneDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setPickPocketDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setPlacePersonDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setPullObjectDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setPullPersonDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setRepairObjectDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setRescueDogSearchDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setSearchRoadVehicleDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setStunGrenadeNoFollowDistance ( float  radius)
void em5::ActionRangeSpecsGroup::setStunGrenadeRadius ( float  radius)
void em5::ActionRangeSpecsGroup::setStunGrenadeStunTime ( float  seconds)
void em5::ActionRangeSpecsGroup::setStunGrenadeThrowDistance ( float  radius)
void em5::ActionRangeSpecsGroup::setTakeEquipmentDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setTowcarDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setTreatPersonDistance ( float  distance)
void em5::ActionRangeSpecsGroup::setUsePepperSprayDistance ( float  distance)

Member Data Documentation

const uint32 em5::ActionRangeSpecsGroup::ARREST_GANGSTER_DISTANCE
static

"ArrestGangsterDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::CARRY_PERSON_DISTANCE
static

"CarryPersonDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::CUT_CAR_DISTANCE
static

"CutCarDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::CUT_HEDGE_DISTANCE
static

"CutHedgeDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::CUT_TREE_DISTANCE
static

"CutTreeDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::DLK_DISTANCE
static

"DlkDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::ENTER_BUILDING_DISTANCE
static

"EnterBuildingDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::ENTER_VEHICLE_DISTANCE
static

"EnterVehicleDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::EXTINGUISH_FIRE_DISTANCE
static

"ExtinguishFireDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::GANGSTER_FEAR_DISTANCE
static

"GangsterFearDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::GANGSTER_SEARCH_DISTANCE
static

"GangsterSearchDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::GOTO_HYDRANT_DISTANCE
static

"GotoHydrantDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::GUIDE_GANGSTER_DISTANCE
static

"GuideGangsterDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::HEAVY_CRANE_DISTANCE
static

"HeavyCraneDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::PICK_POCKET_DISTANCE
static

"PickPocketDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::PLACE_PERSON_DISTANCE
static

"PlacePersonDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::PLUGINABLE_ID
static

"em5::ActionRangeSpecsGroup" unique pluginable specs group ID

const uint32 em5::ActionRangeSpecsGroup::PULL_OBJECT_DISTANCE
static

"PullObjectDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::PULL_PERSON_DISTANCE
static

"PullPersonDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::REPAIR_OBJECT_DISTANCE
static

"RepairObjectDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::RESCUEDOG_SEARCH_DISTANCE
static

"RescueDogSearchDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::SEARCH_ROADVEHICLE_DISTANCE
static

"SearchRoadVehicleDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::STUN_GRENADE_NO_FOLLOW_DISTANCE
static

"StunGrenadeNoFollowDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::STUN_GRENADE_RADIUS
static

"StunGrenadeRadius" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::STUN_GRENADE_STUN_TIME
static

"StunGrenadeStunTime" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::STUN_GRENADE_THROW_DISTANCE
static

"StunGrenadeThrowDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::TAKE_EQUIPMENT_DISTANCE
static

"TakeEquipmentDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::TOWCAR_DISTANCE
static

"TowcarDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::TREAT_PERSON_DISTANCE
static

"TreatPersonDistance" unique class property ID inside the class

const uint32 em5::ActionRangeSpecsGroup::USE_PEPPER_SPRAY_DISTANCE
static

"UsePepperSprayDistance" unique class property ID inside the class


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