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 |
Return a list of all unused devices the factory maintains.
|
Methods
| Name | Value | Summary |
|---|---|---|
| CreateInputObject |
InputObject |
Creates the InputObject
|
| DestroyInputObject |
void |
Destroys an InputObject
|
| DeviceCount |
int |
Number of total devices of requested type
|
| FreeDeviceCount |
int |
Number of free devices of requested type
|
| VendorExists |
bool |
Does a Type exist with the given vendor name
|