WindowLock Class 

The WindowLock class is derived from DeviceController and models a window controller that controls the window's lock and alarm.

Defined in:  devices.hpp and devices.cpp

Class Members

Data Members

Member Functions


WindowLock (void)

Constructs a WindowLock object.

WindowLock (const WindowLock & that)

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

virtual ~WindowLock (void)

Destructor of class WindowLock.

virtual DeviceController * createCopy (void)

Overrides DeviceController's createCopy function.

virtual bool processCommand (unsigned long command)

Overrides DeviceController's processCommand function.

void lock (void)

Lock the window.

void unlock (void)

Unlock the window.

void alarmOn (void)

Turn on the window alarm.

void alarmOff (void)

Turn off the window alarm.

See Also


Copyright 2002-2007 Outerface Technologies, Inc.