Classes | Macros | Typedefs
xscallbackplainc.h File Reference
#include <xstypes/pstdint.h>
#include <xstypes/xsresultvalue.h>
#include <xstypes/xsinforequest.h>
#include "xsdevicestate.h"
#include "xsconnectivitystate.h"
#include "xsprotocoltype.h"
Include dependency graph for xscallbackplainc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XsCallbackPlainC
 Structure that contains callback functions for the Xsens Device API. More...
 

Macros

#define XSCALLBACK_INITIALIZER   { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
 

Typedefs

typedef struct XsCallbackPlainC XsCallbackPlainC
 Structure that contains callback functions for the Xsens Device API. More...
 

Macro Definition Documentation

◆ XSCALLBACK_INITIALIZER

#define XSCALLBACK_INITIALIZER   { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }

Definition at line 76 of file xscallbackplainc.h.

Typedef Documentation

◆ XsCallbackPlainC

Structure that contains callback functions for the Xsens Device API.

When using C++, please use the overloaded class XsCallback instead.

This structure contains pointers to functions that will be called by XDA when certain events occur. To use it in C, set any callback you do not wish to use to 0 and put a valid function pointer in the others. Then pass the object to an XsControl or XsDevice object's addCallbackHandler function.

Note
XDA does not copy the structure contents and does not take ownership of it. So make sure it is allocated on the heap or at least removed from wherever it was added by calling removeCallbackHandler before it is destroyed.


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21