Overview
C API (Component Interface)
struct EventGenericContent
{
TYPE type ;
const void* real ;
const void* imag ;
UINT64 bytes ;
};
This is a request from the framework for the content of the Data object in generic form.
Fields
TYPE type IN- This field indicates the required storage format of the returned data (e.g. TYPE_COMPLEX_INTERLEAVED and
TYPE_ORDER_COLUMN_MAJOR).
- const void* real OUT
- The real data.
- const void* imag OUT
- The imaginary data.
UINT64 bytes OUT- The number of bytes of real data.
Action
- Marshal the data into the specified storage format, if not already.
- Set
bytes to the number of real bytes in the generic form.
- Set
real to point at the real data (this can be NULL if bytes is zero).
- If the generic form is complex adjacent, set
imag to point at the imaginary data, otherwise to NULL (this can also be NULL if bytes is zero).
Example
C++ Source Code (against 1199)
|