Fork me on GitHub

InputObjectFactory Interface

Summary

Interface for creating devices - all devices ultimately get enumerated/created via a factory. A factory can create multiple types of objects.
Namespace
SharpInputSystem
Implementing Types
graph BT Type["InputObjectFactory"] class Type type-node Implementing0["SWFInputManager"]-.->Type click Implementing0 "/sharpinputsystem/api/SharpInputSystem.SWF/SWFInputManager"

Syntax

public interface InputObjectFactory

Properties

Name Value Summary
FreeDevices IEnumerable<KeyValuePair<Type, string>>
Return a list of all unused devices the factory maintains.

Methods

Name Value Summary
CreateInputObject<T>(InputManager, bool, string) InputObject
Creates the InputObject
DestroyInputObject(InputObject) void
Destroys an InputObject
DeviceCount<T>() int
Number of total devices of requested type
FreeDeviceCount<T>() int
Number of free devices of requested type
VendorExists<T>(string) bool
Does a Type exist with the given vendor name