SmokeDetector Class 

The Smoke Detector class is derived from DeviceController and models a smoke detector that detects smoke.

Defined in:  devices.hpp and devices.cpp

Class Members

Data Members

Member Functions


SmokeDetector (void)

Constructs a SmokeDetector object.

SmokeDetector (const SmokeDetector & that)

Constructs a SmokeDetector object that is a copy of the specified SmokeDetector .

virtual ~SmokeDetector (void)

Destructor of class SmokeDetector.

virtual DeviceController * createCopy (void)

Overrides DeviceController's createCopy function.

virtual bool processCommand (unsigned long command)

Overrides DeviceController's processCommand function.

void turnOn (void)

Turn the smoke detector on.

void turnOff (void)

Turn the smoke detector off.

See Also


Copyright 2002-2007 Outerface Technologies, Inc.