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 CreateLocalDevice () : ILocalDevice
An abstract method to create a local device. 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.

CreateLocalDevice Method

public abstract ILocalDevice CreateLocalDevice ()

An abstract method to create a local device. The sub-class factories must implement this method.

Returns

A local 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.