The log proxy provides start/stop control of data logging. More...
Detailed Description
The log proxy provides start/stop control of data logging.
Classes | |
struct | playerc_log_t |
Log proxy data. More... | |
Functions | |
PLAYERC_EXPORT playerc_log_t * | playerc_log_create (playerc_client_t *client, int index) |
Create a log proxy. More... | |
PLAYERC_EXPORT void | playerc_log_destroy (playerc_log_t *device) |
Destroy a log proxy. More... | |
PLAYERC_EXPORT int | playerc_log_subscribe (playerc_log_t *device, int access) |
Subscribe to the log device. More... | |
PLAYERC_EXPORT int | playerc_log_unsubscribe (playerc_log_t *device) |
Un-subscribe from the log device. More... | |
PLAYERC_EXPORT int | playerc_log_set_write_state (playerc_log_t *device, int state) |
Start/stop logging. | |
PLAYERC_EXPORT int | playerc_log_set_read_state (playerc_log_t *device, int state) |
Start/stop playback. | |
PLAYERC_EXPORT int | playerc_log_set_read_rewind (playerc_log_t *device) |
Rewind playback. | |
PLAYERC_EXPORT int | playerc_log_get_state (playerc_log_t *device) |
Get logging/playback state. More... | |
PLAYERC_EXPORT int | playerc_log_set_filename (playerc_log_t *device, const char *fname) |
Change name of log file to write to. More... | |
Function Documentation
◆ playerc_log_create()
PLAYERC_EXPORT playerc_log_t* playerc_log_create | ( | playerc_client_t * | client, |
int | index | ||
) |
Create a log proxy.
◆ playerc_log_destroy()
PLAYERC_EXPORT void playerc_log_destroy | ( | playerc_log_t * | device | ) |
Destroy a log proxy.
◆ playerc_log_get_state()
PLAYERC_EXPORT int playerc_log_get_state | ( | playerc_log_t * | device | ) |
Get logging/playback state.
The result is written into the proxy.
◆ playerc_log_set_filename()
PLAYERC_EXPORT int playerc_log_set_filename | ( | playerc_log_t * | device, |
const char * | fname | ||
) |
Change name of log file to write to.
◆ playerc_log_subscribe()
PLAYERC_EXPORT int playerc_log_subscribe | ( | playerc_log_t * | device, |
int | access | ||
) |
Subscribe to the log device.
◆ playerc_log_unsubscribe()
PLAYERC_EXPORT int playerc_log_unsubscribe | ( | playerc_log_t * | device | ) |
Un-subscribe from the log device.