|
Gocator API
|
Represents a bank of related sensors to be used in multiplexing.
Inherits kObject.
Public Member Functions | |
| kStatus | GoMultiplexBank_AddSensor (GoMultiplexBank bank, GoSensor sensor) |
| Adds a sensor to the given multiplexing bank. More... | |
| kBool | GoMultiplexBank_HasSensor (GoMultiplexBank bank, k32u id) |
| Returns a boolean value representing whether a sensor is in the multiplexing bank. More... | |
| k32u | GoMultiplexBank_Id (GoMultiplexBank bank) |
| Gets the ID of the given multiplexing bank. More... | |
| kStatus | GoMultiplexBank_RemoveSensor (GoMultiplexBank bank, k32u id) |
| Removes a sensor from the given multiplexing bank. More... | |
| GoSensor | GoMultiplexBank_SensorAt (GoMultiplexBank bank, kSize index) |
| Gets a sensor handle from the given index. More... | |
| kSize | GoMultiplexBank_SensorCount (GoMultiplexBank bank) |
| Returns the count corresponding to the number of sensors in the multiplexing bank. More... | |
| kStatus GoMultiplexBank_AddSensor | ( | GoMultiplexBank | bank, |
| GoSensor | sensor | ||
| ) |
Adds a sensor to the given multiplexing bank.
| bank | GoMultiplexBank object. |
| sensor | A connected handle to the sensor to add. |
| kBool GoMultiplexBank_HasSensor | ( | GoMultiplexBank | bank, |
| k32u | id | ||
| ) |
Returns a boolean value representing whether a sensor is in the multiplexing bank.
| bank | GoMultiplexBank object. |
| id | The sensor ID to search for. |
| k32u GoMultiplexBank_Id | ( | GoMultiplexBank | bank | ) |
Gets the ID of the given multiplexing bank.
| bank | GoMultiplexBank object. |
| kStatus GoMultiplexBank_RemoveSensor | ( | GoMultiplexBank | bank, |
| k32u | id | ||
| ) |
Removes a sensor from the given multiplexing bank.
| bank | GoMultiplexBank object. |
| id | The ID of the sensor in the bank to the remove. |
| GoSensor GoMultiplexBank_SensorAt | ( | GoMultiplexBank | bank, |
| kSize | index | ||
| ) |
Gets a sensor handle from the given index.
| bank | GoMultiplexBank object. |
| index | Multiplexing bank index from which to obtain a sensor handle. |
| kSize GoMultiplexBank_SensorCount | ( | GoMultiplexBank | bank | ) |
Returns the count corresponding to the number of sensors in the multiplexing bank.
| bank | GoMultiplexBank object. |