LLRegionEconomy Class Reference

#include <lleconomy.h>

Inheritance diagram for LLRegionEconomy:

Inheritance graph
[legend]
Collaboration diagram for LLRegionEconomy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLRegionEconomy ()
 ~LLRegionEconomy ()
void print ()
BOOL hasData () const
F32 getPriceObjectRent () const
F32 getPriceObjectScaleFactor () const
F32 getEnergyEfficiency () const
S32 getPriceParcelClaim () const
S32 getPriceParcelRent () const
F32 getAreaOwned () const
F32 getAreaTotal () const
S32 getBasePriceParcelClaimActual () const
void setPriceObjectRent (F32 val)
void setPriceObjectScaleFactor (F32 val)
void setEnergyEfficiency (F32 val)
void setBasePriceParcelClaimDefault (S32 val)
void setBasePriceParcelClaimActual (S32 val)
void setPriceParcelClaimFactor (F32 val)
void setBasePriceParcelRent (S32 val)
void setAreaOwned (F32 val)
void setAreaTotal (F32 val)

Static Public Member Functions

static void processEconomyData (LLMessageSystem *msg, void **user_data)
static void processEconomyDataRequest (LLMessageSystem *msg, void **user_data)

Private Attributes

F32 mPriceObjectRent
F32 mPriceObjectScaleFactor
F32 mEnergyEfficiency
S32 mBasePriceParcelClaimDefault
S32 mBasePriceParcelClaimActual
F32 mPriceParcelClaimFactor
S32 mBasePriceParcelRent
F32 mAreaOwned
F32 mAreaTotal

Detailed Description

Definition at line 91 of file lleconomy.h.


Constructor & Destructor Documentation

LLRegionEconomy::LLRegionEconomy (  ) 

Definition at line 130 of file lleconomy.cpp.

LLRegionEconomy::~LLRegionEconomy (  ) 

Definition at line 143 of file lleconomy.cpp.


Member Function Documentation

F32 LLRegionEconomy::getAreaOwned (  )  const [inline]

Definition at line 108 of file lleconomy.h.

References mAreaOwned.

F32 LLRegionEconomy::getAreaTotal (  )  const [inline]

Definition at line 109 of file lleconomy.h.

References mAreaTotal.

S32 LLRegionEconomy::getBasePriceParcelClaimActual (  )  const [inline]

Definition at line 110 of file lleconomy.h.

References mBasePriceParcelClaimActual.

F32 LLRegionEconomy::getEnergyEfficiency (  )  const [inline]

Definition at line 105 of file lleconomy.h.

References mEnergyEfficiency.

Referenced by processEconomyDataRequest().

F32 LLRegionEconomy::getPriceObjectRent (  )  const [inline]

Definition at line 103 of file lleconomy.h.

References mPriceObjectRent.

Referenced by processEconomyDataRequest().

F32 LLRegionEconomy::getPriceObjectScaleFactor (  )  const [inline]

Definition at line 104 of file lleconomy.h.

References mPriceObjectScaleFactor.

Referenced by processEconomyDataRequest().

S32 LLRegionEconomy::getPriceParcelClaim (  )  const

Definition at line 210 of file lleconomy.cpp.

References mBasePriceParcelClaimActual, mPriceParcelClaimFactor, and S32.

S32 LLRegionEconomy::getPriceParcelRent (  )  const

Definition at line 216 of file lleconomy.cpp.

References mBasePriceParcelRent.

Referenced by print(), and processEconomyDataRequest().

BOOL LLRegionEconomy::hasData (  )  const

Definition at line 146 of file lleconomy.cpp.

References mBasePriceParcelRent.

Referenced by processEconomyDataRequest().

void LLRegionEconomy::print (  )  [virtual]

Reimplemented from LLGlobalEconomy.

Definition at line 222 of file lleconomy.cpp.

References getPriceParcelRent(), llendl, llinfos, mAreaOwned, mAreaTotal, mEnergyEfficiency, mPriceObjectRent, and LLGlobalEconomy::print().

void LLRegionEconomy::processEconomyData ( LLMessageSystem msg,
void **  user_data 
) [static]

Reimplemented from LLGlobalEconomy.

Definition at line 152 of file lleconomy.cpp.

References _PREHASH_EnergyEfficiency, _PREHASH_Info, _PREHASH_PriceObjectRent, _PREHASH_PriceObjectScaleFactor, _PREHASH_PriceParcelClaim, _PREHASH_PriceParcelClaimFactor, _PREHASH_PriceParcelRent, f, LLMessageSystem::getF32(), LLMessageSystem::getF32Fast(), LLMessageSystem::getS32Fast(), i, LLGlobalEconomy::processEconomyData(), S32, setBasePriceParcelClaimDefault(), setBasePriceParcelRent(), setEnergyEfficiency(), setPriceObjectRent(), setPriceObjectScaleFactor(), and setPriceParcelClaimFactor().

void LLRegionEconomy::processEconomyDataRequest ( LLMessageSystem msg,
void **  user_data 
) [static]

Definition at line 176 of file lleconomy.cpp.

References _PREHASH_EconomyData, _PREHASH_EnergyEfficiency, _PREHASH_Info, _PREHASH_ObjectCapacity, _PREHASH_ObjectCount, _PREHASH_PriceEnergyUnit, _PREHASH_PriceGroupCreate, _PREHASH_PriceObjectClaim, _PREHASH_PriceObjectRent, _PREHASH_PriceObjectScaleFactor, _PREHASH_PriceParcelClaim, _PREHASH_PriceParcelClaimFactor, _PREHASH_PriceParcelRent, _PREHASH_PricePublicObjectDecay, _PREHASH_PricePublicObjectDelete, _PREHASH_PriceRentLight, _PREHASH_PriceUpload, _PREHASH_TeleportMinPrice, _PREHASH_TeleportPriceExponent, LLMessageSystem::addF32Fast(), LLMessageSystem::addS32Fast(), getEnergyEfficiency(), LLGlobalEconomy::getObjectCapacity(), LLGlobalEconomy::getObjectCount(), LLGlobalEconomy::getPriceEnergyUnit(), LLGlobalEconomy::getPriceGroupCreate(), LLGlobalEconomy::getPriceObjectClaim(), getPriceObjectRent(), getPriceObjectScaleFactor(), getPriceParcelRent(), LLGlobalEconomy::getPricePublicObjectDecay(), LLGlobalEconomy::getPricePublicObjectDelete(), LLGlobalEconomy::getPriceRentLight(), LLGlobalEconomy::getPriceUpload(), LLMessageSystem::getSender(), LLGlobalEconomy::getTeleportMinPrice(), LLGlobalEconomy::getTeleportPriceExponent(), hasData(), llendl, llwarns, mBasePriceParcelClaimActual, mPriceParcelClaimFactor, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

void LLRegionEconomy::setAreaOwned ( F32  val  )  [inline]

Definition at line 121 of file lleconomy.h.

References mAreaOwned.

void LLRegionEconomy::setAreaTotal ( F32  val  )  [inline]

Definition at line 122 of file lleconomy.h.

References mAreaTotal.

void LLRegionEconomy::setBasePriceParcelClaimActual ( S32  val  ) 

Definition at line 244 of file lleconomy.cpp.

References mBasePriceParcelClaimActual.

void LLRegionEconomy::setBasePriceParcelClaimDefault ( S32  val  ) 

Definition at line 235 of file lleconomy.cpp.

References mBasePriceParcelClaimActual, and mBasePriceParcelClaimDefault.

Referenced by processEconomyData().

void LLRegionEconomy::setBasePriceParcelRent ( S32  val  ) 

Definition at line 254 of file lleconomy.cpp.

References mBasePriceParcelRent.

Referenced by processEconomyData().

void LLRegionEconomy::setEnergyEfficiency ( F32  val  )  [inline]

Definition at line 114 of file lleconomy.h.

References mEnergyEfficiency.

Referenced by processEconomyData().

void LLRegionEconomy::setPriceObjectRent ( F32  val  )  [inline]

Definition at line 112 of file lleconomy.h.

References mPriceObjectRent.

Referenced by processEconomyData().

void LLRegionEconomy::setPriceObjectScaleFactor ( F32  val  )  [inline]

Definition at line 113 of file lleconomy.h.

References mPriceObjectScaleFactor.

Referenced by processEconomyData().

void LLRegionEconomy::setPriceParcelClaimFactor ( F32  val  ) 

Definition at line 249 of file lleconomy.cpp.

References mPriceParcelClaimFactor.

Referenced by processEconomyData().


Member Data Documentation

F32 LLRegionEconomy::mAreaOwned [private]

Definition at line 134 of file lleconomy.h.

Referenced by getAreaOwned(), print(), and setAreaOwned().

F32 LLRegionEconomy::mAreaTotal [private]

Definition at line 135 of file lleconomy.h.

Referenced by getAreaTotal(), print(), and setAreaTotal().

S32 LLRegionEconomy::mBasePriceParcelClaimActual [private]

Definition at line 130 of file lleconomy.h.

Referenced by getBasePriceParcelClaimActual(), getPriceParcelClaim(), processEconomyDataRequest(), setBasePriceParcelClaimActual(), and setBasePriceParcelClaimDefault().

S32 LLRegionEconomy::mBasePriceParcelClaimDefault [private]

Definition at line 129 of file lleconomy.h.

Referenced by setBasePriceParcelClaimDefault().

S32 LLRegionEconomy::mBasePriceParcelRent [private]

Definition at line 132 of file lleconomy.h.

Referenced by getPriceParcelRent(), hasData(), and setBasePriceParcelRent().

F32 LLRegionEconomy::mEnergyEfficiency [private]

Definition at line 127 of file lleconomy.h.

Referenced by getEnergyEfficiency(), print(), and setEnergyEfficiency().

F32 LLRegionEconomy::mPriceObjectRent [private]

Definition at line 125 of file lleconomy.h.

Referenced by getPriceObjectRent(), print(), and setPriceObjectRent().

F32 LLRegionEconomy::mPriceObjectScaleFactor [private]

Definition at line 126 of file lleconomy.h.

Referenced by getPriceObjectScaleFactor(), and setPriceObjectScaleFactor().

F32 LLRegionEconomy::mPriceParcelClaimFactor [private]

Definition at line 131 of file lleconomy.h.

Referenced by getPriceParcelClaim(), processEconomyDataRequest(), and setPriceParcelClaimFactor().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:41 2010 for Second Life Viewer by  doxygen 1.4.7