147 #ifndef GO_ACCELERATOR_MGR_H 148 #define GO_ACCELERATOR_MGR_H 183 typedef enum GoAcceleratorMgrAccelEvents
185 GO_ACCELERATOR_MGR_EVENT_ACCELERATING = 0,
186 GO_ACCELERATOR_MGR_EVENT_ACCELERATED,
187 GO_ACCELERATOR_MGR_EVENT_DECELERATING,
188 GO_ACCELERATOR_MGR_EVENT_DECELERATED,
189 GO_ACCELERATOR_MGR_EVENT_STOPPED,
190 GO_ACCELERATOR_MGR_EVENT_DISCONNECTED,
191 GO_ACCELERATOR_MGR_EVENT_PROCESS_STOPPED
192 } GoAcceleratorMgrAccelEvents;
203 GoAcceleratorMgrAccelEvents accelEvent;
215 GoAccelSensorPortAllocPorts ports;
227 typedef struct GoAcceleratorMgSensorBackup
229 GoAccelSensorPortAllocPorts ports;
428 #include <GoSdk/GoAcceleratorMgr.x.h> 430 #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_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....
Definition: GoAcceleratorMgr.h:227
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:213
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:242
Structure to hold data for the acceleration update handler.
Definition: GoAcceleratorMgr.h:200
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.
Sensor network address settings.
Definition: GoSdkDef.h:767