10 #ifndef GO_API_SYSTEM_H
11 #define GO_API_SYSTEM_H
395 typedef struct GoSensorBankClass
397 kArrayList sensorList;
401 GoFx(kSize) GoSystem_MultiplexBankCount(
GoSystem system);
404 GoFx(kStatus) GoSystem_RemoveMultiplexBank(
GoSystem system, kSize index);
407 GoFx(kStatus) GoSystem_UpdateMultiplexingParameters(
GoSystem system, k64f period);
411 #include <GoSdk/GoSystem.x.h>
Represents a system of Gocator devices.
Definition: GoSystem.h:17
kStatus GoSystem_ReceiveHealth(GoSystem system, GoDataSet *data, k64u timeout)
Receives a set of sensor health messages.
kStatus GoSystem_FindSensor(GoSystem system, k32u id, GoSensor *sensor)
Gets the sensor object with the specified device id (serial number).
kSize GoSystem_SensorCount(GoSystem system)
Gets the number of sensors in the system.
kStatus GoSystem_ReceiveData(GoSystem system, GoDataSet *data, k64u timeout)
Receives a set of sensor data messages.
kStatus GoSystem_Cancel(GoSystem system)
Aborts ongoing sensor communication.
kStatus GoSystem_Stop(GoSystem system)
Stops all connected sensors.
kStatus GoSystem_SetHealthHandler(GoSystem system, GoDataFx function, kPointer receiver)
Sets a callback function that can be used to receive sensor health messages asychronously.
Declares the GoSensor class.
kStatus GoSystem_StartExposureAutoSet(GoSystem system)
Starts exposure auto set for sensor(s) in the ready state.
Represents a ...
Definition: GoMultiplexBank.h:16
GoSensor GoSystem_SensorAt(GoSystem system, kSize index)
Gets the sensor object at the specified index.
kStatus GoSystem_ClearData(GoSystem system)
Clears any buffered data messages.
kVersion GoSystem_ProtocolVersion()
Reports the Gocator Protocol version implemented by this library.
Essential API declarations.
kStatus GoSystem_Refresh(GoSystem system)
Updates client state to reflect any changes that have occurred in the sensor network.
kStatus GoSystem_GetEncoder(GoSystem system, k64s *encoder)
Gets the current encoder value from the sensor network.
Represents a collection of data or health messages transmitted together.
Definition: GoDataSet.h:14
kSize GoSystem_DataCapacity(GoSystem system)
Reports that maximum amount of memory that can be used to buffer received data messages.
kStatus GoSystem_SetDataCapacity(GoSystem system, kSize capacity)
Sets the maximum amount of memory that can be used to buffer received data messages.
kStatus GoSystem_SetDataHandler(GoSystem system, GoDataFx function, kPointer receiver)
Sets a callback function that can be used to receive sensor data messages asychronously.
kStatus GoSystem_GetTimeStamp(GoSystem system, k64u *time)
Gets the current time stamp from the sensor network.
kStatus(kCall * GoDataFx)(kPointer context, GoSensor system, GoDataSet data)
Defines the signature for a GoSystem data/health handler.
Definition: GoSystem.h:47
kStatus GoSystem_Disconnect(GoSystem system)
Terminates control connections to all sensors.
Declares the GoMultiplexBank class.
kBool GoSystem_HasChanges(GoSystem system)
Reports whether the system has changes that require a refresh.
kStatus GoSystem_EnableData(GoSystem system, kBool enable)
Establishes data connections to all sensors currently in the ready or running states.
kStatus GoSystem_Connect(GoSystem system)
Establishes control connections to all sensors.
kStatus GoSystem_StartAlignment(GoSystem system)
Starts alignment for sensor in the ready state.
kStatus GoSystem_Construct(GoSystem *system, kAlloc allocator)
Constructs a GoSystem object.
kStatus GoSystem_Reset(GoSystem system, kBool wait)
Reboots all connected sensors.
kStatus GoSystem_Start(GoSystem system)
Starts all sensors that are currently in the ready state.
Represents a Gocator sensor.
Definition: GoSensor.h:20
kStatus GoSystem_ClearHealth(GoSystem system)
Clears any buffered health messages.