log
[Device proxies]

Collaboration diagram for log:


Detailed Description

The log proxy provides start/stop control of data logging.


Classes

struct  playerc_log_t
 Log proxy data. More...

Functions

playerc_log_tplayerc_log_create (playerc_client_t *client, int index)
 Create a log proxy.
void playerc_log_destroy (playerc_log_t *device)
 Destroy a log proxy.
int playerc_log_subscribe (playerc_log_t *device, int access)
 Subscribe to the log device.
int playerc_log_unsubscribe (playerc_log_t *device)
 Un-subscribe from the log device.
int playerc_log_set_write_state (playerc_log_t *device, int state)
 Start/stop logging.
int playerc_log_set_read_state (playerc_log_t *device, int state)
 Start/stop playback.
int playerc_log_set_read_rewind (playerc_log_t *device)
 Rewind playback.
int playerc_log_get_state (playerc_log_t *device)
 Get logging/playback state.
int playerc_log_set_filename (playerc_log_t *device, const char *fname)
 Change name of log file to write to.

Function Documentation

int playerc_log_get_state ( playerc_log_t device  ) 

Get logging/playback state.

The result is written into the proxy.


Last updated 12 September 2005 21:38:45