PlayerCc::LogProxy Class Reference
[Proxies]

#include <playerc++.h>

Inheritance diagram for PlayerCc::LogProxy:

Inheritance graph
[legend]
Collaboration diagram for PlayerCc::LogProxy:

Collaboration graph
[legend]
List of all members.

Detailed Description

The LogProxy proxy provides access to a log device.

Definition at line 1311 of file playerc++.h.


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

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.

Definition at line 1330 of file playerc++.h.

References PlayerCc::ClientProxy::GetVar(), mDevice, and playerc_log_t::type.

Here is the call graph for this function:

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 12 September 2005 21:38:45