pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Public Attributes | List of all members
Tuner::PlaylistSummary Struct Reference

A structure used for autotuning calculations. More...

Collaboration diagram for Tuner::PlaylistSummary:
Collaboration graph
[legend]

Public Member Functions

 PlaylistSummary (PianodPlaylist *p)
 
 PlaylistSummary ()
 
bool operator< (const PlaylistSummary &other) const
 

Public Attributes

PianodPlaylistplaylist
 The playlist. More...
 
bool vetoed = false
 Set if a user hates this playlist. More...
 
float average_rating = ratingAsFloat (Rating::NEUTRAL)
 

Detailed Description

A structure used for autotuning calculations.

Constructor & Destructor Documentation

◆ PlaylistSummary() [1/2]

Tuner::PlaylistSummary::PlaylistSummary ( PianodPlaylist p)
inline

◆ PlaylistSummary() [2/2]

Tuner::PlaylistSummary::PlaylistSummary ( )
inline

Member Function Documentation

◆ operator<()

bool Tuner::PlaylistSummary::operator< ( const PlaylistSummary other) const
inline

Member Data Documentation

◆ average_rating

float Tuner::PlaylistSummary::average_rating = ratingAsFloat (Rating::NEUTRAL)

◆ playlist

PianodPlaylist* Tuner::PlaylistSummary::playlist

The playlist.

◆ vetoed

bool Tuner::PlaylistSummary::vetoed = false

Set if a user hates this playlist.


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