10 #ifndef GO_ACCELERATOR_MGR_H
11 #define GO_ACCELERATOR_MGR_H
35 typedef enum GoAcceleratorMgrAccelEvents
37 GO_ACCELERATOR_MGR_EVENT_ACCELERATING = 0,
38 GO_ACCELERATOR_MGR_EVENT_ACCELERATED,
39 GO_ACCELERATOR_MGR_EVENT_DECELERATING,
40 GO_ACCELERATOR_MGR_EVENT_DECELERATED
41 } GoAcceleratorMgrAccelEvents;
52 GoAcceleratorMgrAccelEvents accelEvent;
64 GoAccelSensorPortAllocPorts ports;
217 #include <GoSdk/GoAcceleratorMgr.x.h>
219 #endif // GO_ACCELERATOR_MGR_H
kStatus GoAcceleratorMgr_SetAccelUpdateHandler(GoAcceleratorMgr manager, kCallbackFx function, kPointer context)
Bind an update handler with the acceleration manager to get notification of acceleration events for a...
Represents a system of Gocator devices.
kStatus GoAcceleratorMgr_SetSystem(GoAcceleratorMgr manager, GoSystem system)
Assigns the SDK system 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.
Declares the GoAccelSensorPortAlloc class.
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:62
kStatus GoAcceleratorMgr_Decelerate(GoAcceleratorMgr manager, k32u sensorId)
Decelerate (unaccelerate) a sensor.
Represents the acceleration status of a sensor that is being accelerated by the local host...
kStatus GoAcceleratorMgr_GetPortRangeLimits(GoAcceleratorMgr manager, k16u *startLimit, k16u *endLimit, k16u *minNumPorts)
Get the minimum and maximum limit values to which the port number range can be configured and the min...
kStatus GoAcceleratorMgr_SetPortRange(GoAcceleratorMgr manager, k16u startPort, k16u endPort)
Change the range of port numbers to assign to accelerated sensors.
Structure to return accelerated sensor information to SDK client. The param field contains informatio...
Definition: GoAcceleratorMgr.h:77
Structure to hold data for the acceleration update handler.
Definition: GoAcceleratorMgr.h:49
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.
Represents an GoAcceleratorMgr instance.