Public Member Functions | Protected Attributes

wosh::building::Garden Class Reference

#include <H:/WOSH/win32_vc2010/src/framework/building/Garden.h>

List of all members.

Public Member Functions

 Garden ()
 Empty constructor.
 Garden (const Garden &m)
 Copy constructor.
virtual ~Garden ()
 Empty destructor.
Garden Interface - Getters
getPresenceState () const
 Get last known presence state.
getVisibilityState () const
 Get last known light state.
wosh::interfaces::building::GardenListener * getGardenListener ()
Garden Interface - Setters
WRESULT setGardenListener (wosh::interfaces::building::GardenListener *ptr)
ApplianceListener interface
virtual void appliance_state (const wosh::interfaces::building::ApplianceStateChanged *appliance_state, const wosh::SecurityToken *token, wosh::interfaces::building::Appliance *source)
SensorMotionListener interface
virtual void motion_state (const wosh::interfaces::building::MotionStateChanged *motion_state, const wosh::SecurityToken *token, wosh::interfaces::building::SensorMotion *source)
SensorLightListener interface
virtual void light_state (const wosh::interfaces::building::LightStateChanged *light_state, const wosh::SecurityToken *token, wosh::interfaces::building::SensorLight *source)
IPropertiesProviderListener interface
virtual bool updatingProperty (bool &do_update, const Variant &value_proposed, Property &property_current, const PropertiesProvider *source)

Protected Member Functions

Internal mehods
virtual void childrenChanged_ ()

Protected Attributes

wosh::interfaces::building::PRESENCE_STATE statePresence
 current presence state, shadow Property is _Garden_KEY_PresenceState
wosh::interfaces::building::VISIBILITY_STATE stateLight
 current light state, shadow Property is _Garden_KEY_LightState

Detailed Description

See also:
Garden.h 3775 2011-01-01 16:38:17Z alex
Alessandro Polo

Definition at line 50 of file framework/building/Garden.h.

Constructor & Destructor Documentation

wosh::building::Garden::Garden (  )

Empty constructor.

Definition at line 58 of file Garden.cpp.

wosh::building::Garden::Garden ( const Garden m )

Copy constructor.

m[in] the source object to be copied

Definition at line 64 of file Garden.cpp.

wosh::building::Garden::~Garden (  ) [virtual]

Empty destructor.

Reimplemented from wosh::interfaces::building::Garden.

Definition at line 68 of file Garden.cpp.

References wosh::building::BuildingBlock::Log, and wosh::LOG_DEBUG.

Member Function Documentation

virtual wosh::interfaces::building::PRESENCE_STATE wosh::building::Garden::getPresenceState (  ) const [inline, virtual]

Get last known presence state.

current presence state (enum)

Implements wosh::interfaces::building::Garden.

Definition at line 102 of file framework/building/Garden.h.

References statePresence.

virtual wosh::interfaces::building::VISIBILITY_STATE wosh::building::Garden::getVisibilityState (  ) const [inline, virtual]

Get last known light state.

current light state (enum)

Implements wosh::interfaces::building::Garden.

Definition at line 103 of file framework/building/Garden.h.

References stateLight.

Member Data Documentation

wosh::interfaces::building::VISIBILITY_STATE wosh::building::Garden::stateLight [protected]

current light state, shadow Property is _Garden_KEY_LightState

Definition at line 169 of file framework/building/Garden.h.

Referenced by getVisibilityState().

wosh::interfaces::building::PRESENCE_STATE wosh::building::Garden::statePresence [protected]

current presence state, shadow Property is _Garden_KEY_PresenceState

Definition at line 168 of file framework/building/Garden.h.

Referenced by getPresenceState().

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

Generated on Tue Feb 8 2011 09:33:33 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework