MotionDetector Class 

The Motion Detector class is derived from DeviceController and models a motion detector that detects movement.

Defined in:  devices.hpp and devices.cpp

Class Members

Data Members

Member Functions


MotionDetector (void)

Constructs a MotionDetector object.

MotionDetector (const MotionDetector & that)

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

virtual ~MotionDetector (void)

Destructor of class MotionDetector.

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 motion detector on.

void turnOff (void)

Turn the motion detector off.

See Also


Copyright 2002-2007 Outerface Technologies, Inc.