Sensix
Wireless Sensor Network Middleware



   Home


   Project Page


   Download


   CVS




 Hosted by
Get SENSIX at SourceForge.net. Fast, secure 
and Free Open Source software downloads

AmbientPhenomenon Class Reference

#include <sim_phenomena.h>

Inheritance diagram for AmbientPhenomenon:

Phenomenon AmbientLight AmbientRad AmbientSound AmbientTemp

List of all members.

Public Member Functions

 AmbientPhenomenon (Phenom t=NONE, std::string s=phenoms[NONE], unsigned int i=0, std::string c="white", bool g=false)
virtual double fadeRate (double dist)
virtual double fadeDistance (double stren)
unsigned int getRange ()

Protected Attributes

const unsigned int _range


Detailed Description

Definition at line 213 of file sim_phenomena.h.


Constructor & Destructor Documentation

AmbientPhenomenon::AmbientPhenomenon ( Phenom  t = NONE,
std::string  s = phenoms[NONE],
unsigned int  i = 0,
std::string  c = "white",
bool  g = false 
)

Definition at line 230 of file sim_adc.cpp.


Member Function Documentation

virtual double AmbientPhenomenon::fadeRate ( double  dist  )  [virtual]

Reimplemented from Phenomenon.

Definition at line 220 of file sim_phenomena.h.

virtual double AmbientPhenomenon::fadeDistance ( double  stren  )  [virtual]

Reimplemented from Phenomenon.

Definition at line 221 of file sim_phenomena.h.

unsigned int AmbientPhenomenon::getRange (  ) 

Definition at line 222 of file sim_phenomena.h.


Member Data Documentation

const unsigned int AmbientPhenomenon::_range [protected]

Definition at line 215 of file sim_phenomena.h.


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


© 2008, Los Alamos National Security, LLC.