PlayerCc::LogProxy Class Reference

The LogProxy proxy provides access to a log device. More...

#include <playerc++.h>

Inheritance diagram for PlayerCc::LogProxy:
PlayerCc::ClientProxy

List of all members.

Public Member Functions

 LogProxy (PlayerClient *aPc, uint32_t aIndex=0)
 Constructor.
 ~LogProxy ()
 Destructor.
int GetType () const
 What kind of log device is this? Either PLAYER_LOG_TYPE_READ or PLAYER_LOG_TYPE_WRITE.
int GetState () const
 Is logging/playback enabled? Call QueryState() to fill it.
void QueryState ()
 Query the server for type and state info.
void SetState (int aState)
 Start/stop (1/0) reading from or writing to the log file.
void SetWriteState (int aState)
 Start/stop (1/0) writing to the log file.
void SetReadState (int aState)
 Start/stop (1/0) reading from the log file.
void Rewind ()
 Rewind the log file.
void SetFilename (const std::string aFilename)
 Set the name of the logfile to write to.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes

playerc_log_tmDevice

Detailed Description

The LogProxy proxy provides access to a log device.


Member Function Documentation

int PlayerCc::LogProxy::GetType ( void  ) const [inline]

What kind of log device is this? Either PLAYER_LOG_TYPE_READ or PLAYER_LOG_TYPE_WRITE.

Call QueryState() to fill it.

void PlayerCc::LogProxy::SetState ( int  aState)

Start/stop (1/0) reading from or writing to the log file.

If the type of interface (reader/writer) is unknown, a query package is sent first.


The documentation for this class was generated from the following file:

Last updated 25 May 2011 21:17:00