Freya  0.0.1
A Gtk3 MPD Client
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
MPD::Statistics Class Reference

A wrapper for mpd_stats. More...

#include <Statistics.hh>

Public Member Functions

 Statistics (mpd_stats &stats)
 You are not supposed to instance this yourself.
 ~Statistics ()
unsigned get_number_of_artists ()
 Number of artists in DB.
unsigned get_number_of_albums ()
 Number of albums in DB.
unsigned get_number_of_songs ()
 Number of songs in DB.
unsigned long get_uptime ()
 Get uptime in seconds.
unsigned long get_db_update_time ()
 get seconds since last update
unsigned long get_play_time ()
 Playing since xxx seconds.
unsigned long get_db_play_time ()
 Total time in seconds needed to play the whole DB.

Detailed Description

A wrapper for mpd_stats.

Definition at line 43 of file Statistics.hh.


Constructor & Destructor Documentation

You are not supposed to instance this yourself.

Parameters:
stats

Member Function Documentation

Total time in seconds needed to play the whole DB.

Returns:

get seconds since last update

Returns:

Number of albums in DB.

Returns:

Number of artists in DB.

Returns:

Number of songs in DB.

Returns:
unsigned long MPD::Statistics::get_play_time ( )

Playing since xxx seconds.

Returns:
unsigned long MPD::Statistics::get_uptime ( )

Get uptime in seconds.

Returns:

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