Version 0 A/C detail message, has an inherited header plus an array of XPMP2::RemoteAcDetailTy elements.
More...
|
static constexpr size_t | NumElem (size_t _msgLen) |
| Convert msg len to number of arr elements. More...
|
|
Version 0 A/C detail message, has an inherited header plus an array of XPMP2::RemoteAcDetailTy elements.
◆ convert()
RemoteMsgAcDetailTy * XPMP2::RemoteMsgAcDetailTy_v0::convert |
( |
size_t |
_msgLenV0, |
|
|
size_t & |
_msgLen |
|
) |
| const |
Convert v0 to v1 message, must be freed after use!
- Parameters
-
| _msgLenV0 | Message length of this message, ie. the v0 version |
[out] | _msgLen | receives the message length of the converted message |
- Returns
- pointer to the converted message
Mallocates a memory chunk large enough for the v1 message (which could be larger than a real-life v1 message!) and converts each detail array element into it.
◆ NumElem()
static constexpr size_t XPMP2::RemoteMsgAcDetailTy_v0::NumElem |
( |
size_t |
_msgLen | ) |
|
|
inlinestaticconstexpr |
Convert msg len to number of arr elements.
◆ arr
basis for the array of actual details
The documentation for this struct was generated from the following file: