|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
#include "engine_app/engine_tlm_msg.h"#include "juno/ds/array_api.h"#include "juno/macros.h"#include "juno/memory/pointer_api.h"#include "juno/status.h"
Macros | |
| #define | ENGINE_TLM_MSG_PIPE_ASSERT_API(ptArray, ...) if(ptArray->ptApi != >EngineTlmMsgPipeApi) { __VA_ARGS__; } |
| Asserts the api is for the pipe. | |
Functions | |
| static JUNO_STATUS_T | EngineTlmMsg_Copy (JUNO_POINTER_T tDest, const JUNO_POINTER_T tSrc) |
| static JUNO_STATUS_T | EngineTlmMsg_Reset (JUNO_POINTER_T tPointer) |
| static JUNO_STATUS_T | SetAt (JUNO_DS_ARRAY_ROOT_T *ptArray, JUNO_POINTER_T tItem, size_t iIndex) |
| Set the value at an index. | |
| static JUNO_RESULT_POINTER_T | GetAt (JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
| Get the value at an index. | |
| static JUNO_STATUS_T | RemoveAt (JUNO_DS_ARRAY_ROOT_T *ptArray, size_t iIndex) |
| Remove a value at an index. | |
| JUNO_STATUS_T | EngineTlmMsg_ArrayInit (ENGINE_TLM_MSG_ARRAY_T *ptEngineTlmMsgPipe, ENGINE_TLM_MSG_T *ptArrEngineTlmMsgBuffer, size_t iCapacity, JUNO_FAILURE_HANDLER_T pfcnFailureHdlr, JUNO_USER_DATA_T *pvUserData) |
Variables | |
| const JUNO_POINTER_API_T | gtEngineTlmMsgPointerApi |
| static const JUNO_DS_ARRAY_API_T | gtEngineTlmMsgPipeApi |
| #define ENGINE_TLM_MSG_PIPE_ASSERT_API | ( | ptArray, | |
| ... | |||
| ) | if(ptArray->ptApi != >EngineTlmMsgPipeApi) { __VA_ARGS__; } |
Asserts the api is for the pipe.
| JUNO_STATUS_T EngineTlmMsg_ArrayInit | ( | ENGINE_TLM_MSG_ARRAY_T * | ptEngineTlmMsgPipe, |
| ENGINE_TLM_MSG_T * | ptArrEngineTlmMsgBuffer, | ||
| size_t | iCapacity, | ||
| JUNO_FAILURE_HANDLER_T | pfcnFailureHdlr, | ||
| JUNO_USER_DATA_T * | pvUserData | ||
| ) |
|
static |
|
static |
|
static |
Get the value at an index.
|
static |
Remove a value at an index.
|
static |
Set the value at an index.
|
static |
| const JUNO_POINTER_API_T gtEngineTlmMsgPointerApi |