ElectricalOutlet Class 

The ElectricalOutlet class is derived from DeviceController and models an electrical outlet controller that turns the outlet on and off.

Defined in:  devices.hpp and devices.cpp

Class Members

Data Members

Member Functions

public

ElectricalOutlet (void)

Constructs a ElectricalOutlet object.

ElectricalOutlet (const ElectricalOutlet & that)

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

virtual ~ElectricalOutlet (void)

Destructor of class ElectricalOutlet.

virtual DeviceController * createCopy (void)

Overrides DeviceController's createCopy function.

virtual bool processCommand (unsigned long command)

Overrides DeviceController's processCommand function.

void turnOn (void)

Turns the outlet on.

void turnOff (void)

Turn the outlet off..

See Also

DeviceController

Copyright 2002-2007 Outerface Technologies, Inc.