Home Controller Object System

This object system models a home control system which allows various household devices (e.g. lights, windows, doors...) to be monitored and controlled remotely. It provides a mechanism for creating and  maintaining a list of household devices  and commands to manipulate the devices in a generalized fashion.

System Structure 

Visualization Sample

Instrumentation Statements:  133

Visualizations: 70

Classes

HomeController Description: Top level class, it contains a list of devices to be controlled, a list of all supported device types, an iterator that keeps track of the current device object and status flags that indicate the state of the system.

Defined in:  home controller.hpp and home controller.cpp

DeviceController Description: Base class for all device controllers

Defined in:  devices.hpp and devices.cpp

ElectricalOutlet Description: Electrical outlet controller

Defined in:  devices.hpp and devices.cpp

LightController Description: Light controller

Defined in:  devices.hpp and devices.cpp

SmokeDetector Description: Smoke detector

Defined in:  devices.hpp and devices.cpp

MotionDetector Description: Motion detector

Defined in:  devices.hpp and devices.cpp

WindowLock Description: Window lock and alarm

Defined in:  devices.hpp and devices.cpp

DoorLock Description: Door lock ad alarm

Defined in:  devices.hpp and devices.cpp

Thermostat Description: Thermostat

Defined in: devices.hpp and devices.cpp

DeviceList Description: List of all devices that are being monitored

Defined in:  devices.hpp and devices.cpp

DeviceTypes Description: List of all supported device types

Defined in:  devices.hpp and devices.cpp

DeviceTrashCan Description: Trash can which handles the destruction of selected devices.

Defined in: trash can.hpp and trash can.cpp

Copyright 2002-2007 Outerface Technologies, Inc.