DoorLock Class 

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

Defined in:  devices.hpp and devices.cpp

Class Members

Data Members

Member Functions


DoorLock (void)

Constructs a DoorLock object.

DoorLock (const DoorLock & that)

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

virtual ~DoorLock (void)

Destructor of class DoorLock.

virtual DeviceController * createCopy (void)

Overrides DeviceController's createCopy function.

virtual bool processCommand (unsigned long command)

Overrides DeviceController's processCommand function.

void lock (void)

Lock door.

void unlock (void)

Unlock door.

void alarmOn (void)

Turn on door alarm.

void alarmOff (void)

Turn off door alarm.

See Also


Copyright 2002-2007 Outerface Technologies, Inc.