152 #ifndef GO_ACCELERATOR_MGR_H
153 #define GO_ACCELERATOR_MGR_H
188 typedef enum GoAcceleratorMgrAccelEvents
190 GO_ACCELERATOR_MGR_EVENT_ACCELERATING = 0,
191 GO_ACCELERATOR_MGR_EVENT_ACCELERATED,
192 GO_ACCELERATOR_MGR_EVENT_DECELERATING,
193 GO_ACCELERATOR_MGR_EVENT_DECELERATED,
194 GO_ACCELERATOR_MGR_EVENT_STOPPED,
195 GO_ACCELERATOR_MGR_EVENT_DISCONNECTED,
196 GO_ACCELERATOR_MGR_EVENT_PROCESS_STOPPED,
197 GO_ACCELERATOR_MGR_EVENT_TIME_DATE,
198 } GoAcceleratorMgrAccelEvents;
209 GoAcceleratorMgrAccelEvents accelEvent;
221 GoAccelSensorPortAllocPorts ports;
233 typedef struct GoAcceleratorMgSensorBackup
235 GoAccelSensorPortAllocPorts ports;
462 #include <GoSdk/GoAcceleratorMgr.x.h>
464 #endif // GO_ACCELERATOR_MGR_H
kStatus GoAcceleratorMgr_SetAccelUpdateHandler(GoAcceleratorMgr manager, kCallbackFx function, kPointer context)
Set up the update handler so that the SDK client can receive events from the Accelerator Manager abou...
Represents a system of Gocator devices.
kStatus GoAcceleratorMgr_EnableLogging(GoAcceleratorMgr manager, kBool enabled)
Enables default Gocator accelerator logger.
kStatus GoAcceleratorMgr_SetSystem(GoAcceleratorMgr manager, GoSystem system)
Assigns the SDK GoSystem object to the accelerator manager object.
Includes all Gocator SDK headers.
kStatus GoAcceleratorMgr_Construct(GoAcceleratorMgr *manager, kAlloc allocator)
Constructs the accelerator manager object.
kStatus GoAcceleratorMgr_Accelerate(GoAcceleratorMgr manager, k32u sensorId, GoAcceleratorMgrSensorParam *param)
Accelerate the specified sensor with the given set of parameters.
Structure to provide the original unaccelerated sensor information to the SDK client. This is useful for reaching the sensor object while it is being accelerated, or if there are errors during acceleration, or after stopping acceleration.
Definition: GoAcceleratorMgr.h:233
Declares the GoAccelSensorPortAlloc class.
kSize GoAcceleratorMgr_AccelSensorCount(GoAcceleratorMgr manager)
Get the number of sensors which the accelerator manager has been configured to accelerate.
kStatus GoAcceleratorMgr_ListSensors(GoAcceleratorMgr manager, kArrayList sensorList)
Get a list of accelerated sensors.
Structure to hold user configuration parameters from SDK client for a sensor that is to be accelerate...
Definition: GoAcceleratorMgr.h:219
kStatus GoAcceleratorMgr_Decelerate(GoAcceleratorMgr manager, k32u sensorId)
Decelerate (unaccelerate) a sensor.
Represents the acceleration status of a sensor that is available or being accelerated by the local ho...
kStatus GoAcceleratorMgr_GetPortRangeLimits(GoAcceleratorMgr manager, k16u *startLimit, k16u *endLimit, k16u *minNumPorts)
Get the min and max values of the port range and the minimum number of ports within the port range...
kStatus GoAcceleratorMgr_SetPortRange(GoAcceleratorMgr manager, k16u startPort, k16u endPort)
Set the range of port numbers used to communicate with the accelerated sensors.
Structure to return accelerated sensor information to SDK client. The param field contains informatio...
Definition: GoAcceleratorMgr.h:248
Structure to hold data for the acceleration update handler.
Definition: GoAcceleratorMgr.h:206
Declares the GoSystem class.
kStatus GoAcceleratorMgr_Start(GoAcceleratorMgr manager)
Starts the accelerator manager object after it has been configured.
kStatus GoAcceleratorMgr_GetPortRange(GoAcceleratorMgr manager, k16u *startPort, k16u *endPort)
Get the range of port numbers to assign to accelerated sensors.
kBool GoAcceleratorMgr_IsLoggingEnabled(GoAcceleratorMgr manager)
Checks whether default Gocator accelerator logger is enabled.
Represents an GoAcceleratorMgr instance.
Sensor network address settings.
Definition: GoSdkDef.h:845