Client and server may used cb functions before and after rpc call.
More...
#include <erpc_pre_post_action.h>
Client and server may used cb functions before and after rpc call.
void erpc::PrePostAction::addPreCB |
( |
pre_post_action_cb |
preCB | ) |
|
This function sets "before eRPC call start" callback function.
- Parameters
-
[in] | preCB | Pointer for callback function. When NULL and ERPC_PRE_POST_ACTION_DEFAULT is enabled then default function will be set. |
void erpc::PrePostAction::addPostCB |
( |
pre_post_action_cb |
postCB | ) |
|
This function sets "after eRPC call finish" callback function.
- Parameters
-
[in] | postCB | Pointer for callback function. When NULL and ERPC_PRE_POST_ACTION_DEFAULT is enabled then default function will be set. |
pre_post_action_cb erpc::PrePostAction::getPreCB |
( |
void |
| ) |
|
|
inline |
This function returns "before eRPC call start" callback function.
- Returns
- preCB Pointer for callback function.
pre_post_action_cb erpc::PrePostAction::getPostCB |
( |
void |
| ) |
|
|
inline |
This function returns "after eRPC call finish" callback function.
- Returns
- postCB Pointer for callback function.
pre_post_action_cb erpc::PrePostAction::m_preCB |
|
protected |
Pointer to "before eRPC call start" callback function.
pre_post_action_cb erpc::PrePostAction::m_postCB |
|
protected |
Pointer to after eRPC call finish" callback function.
The documentation for this class was generated from the following file: