monotooth : monotooth.Model.Device Namespace

DeviceFactory Class

An abstract factory to create OS-independend devices.

public abstract class DeviceFactory


Remarks

To be added.

Members

See Also: Inherited members from object.

Protected Constructors

To be added.

Methods

abstract CreateDevice () : IDevice
An abstract method to create devices. The sub-class factories must implement this method.
static GetFactory () : DeviceFactory
Returns the factory by the information of the operating system.

Member Details

DeviceFactory Constructor

protected DeviceFactory ()

To be added.

Remarks

To be added.

CreateDevice Method

public abstract IDevice CreateDevice ()

An abstract method to create devices. The sub-class factories must implement this method.

Returns

A device.

Remarks

To be added.

GetFactory Method

public static DeviceFactory GetFactory ()

Returns the factory by the information of the operating system.

Returns

A device factory.

Remarks

To be added.