pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Private Types | Private Attributes | List of all members
Pandora::RequestStationList Class Reference

Pandora message: Retrieve station list. More...

#include <pandoramessages.h>

Inheritance diagram for Pandora::RequestStationList:
Inheritance graph
[legend]
Collaboration diagram for Pandora::RequestStationList:
Collaboration graph
[legend]

Public Member Functions

 RequestStationList (Source *const src)
 
virtual void extractResponse (const Parsnip::Data &message) override
 Decode a response message, already converted to Parsnip Data, into some internal representation. More...
 
const StationListgetStations () const
 
Retainer< Station * > getQuickMix () const
 
Retainer< Station * > getEverythingStation () const
 
MixIdList getMixStationList () const
 
std::string getChecksum () const
 
- Public Member Functions inherited from Pandora::Request
const std::string & url () const
 
bool debug () const
 
bool tlsEncrypt () const
 
bool blowfishEncrypt () const
 
Parsnip::DataretrieveRequestMessage ()
 Retrieve the Parsnip Data object with the request message. More...
 

Private Types

using MixIdList = std::vector< std::string >
 

Private Attributes

StationList stations
 
std::string checksum
 
Retainer< Station * > quickmix
 
Retainer< Station * > everything
 
MixIdList mix_stations
 

Additional Inherited Members

- Public Types inherited from Pandora::Request
using Option = RequestOption
 
- Protected Member Functions inherited from Pandora::RequestWithNoData
 RequestWithNoData (Source *const src, const char *ep, Option flags=Option::NONE)
 
- Protected Member Functions inherited from Pandora::Request
 Request (Source *const src, const char *ep, Option options=Option::NONE)
 RPC method name or REST API endpoint. More...
 
- Protected Attributes inherited from Pandora::Request
Source *const source
 
Parsnip::Data request_message
 

Detailed Description

Pandora message: Retrieve station list.

Member Typedef Documentation

◆ MixIdList

using Pandora::RequestStationList::MixIdList = std::vector<std::string>
private

Constructor & Destructor Documentation

◆ RequestStationList()

Pandora::RequestStationList::RequestStationList ( Source *const  src)

Member Function Documentation

◆ extractResponse()

void Pandora::RequestStationList::extractResponse ( const Parsnip::Data message)
overridevirtual

Decode a response message, already converted to Parsnip Data, into some internal representation.

Parameters
messageThe message to be decoded.

Implements Pandora::Request.

Here is the call graph for this function:

◆ getChecksum()

std::string Pandora::RequestStationList::getChecksum ( ) const
inline
Here is the caller graph for this function:

◆ getEverythingStation()

Retainer<Station *> Pandora::RequestStationList::getEverythingStation ( ) const
inline
Here is the caller graph for this function:

◆ getMixStationList()

MixIdList Pandora::RequestStationList::getMixStationList ( ) const
inline
Here is the caller graph for this function:

◆ getQuickMix()

Retainer<Station *> Pandora::RequestStationList::getQuickMix ( ) const
inline
Here is the caller graph for this function:

◆ getStations()

const StationList& Pandora::RequestStationList::getStations ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ checksum

std::string Pandora::RequestStationList::checksum
private

◆ everything

Retainer<Station *> Pandora::RequestStationList::everything
private

◆ mix_stations

MixIdList Pandora::RequestStationList::mix_stations
private

◆ quickmix

Retainer<Station *> Pandora::RequestStationList::quickmix
private

◆ stations

StationList Pandora::RequestStationList::stations
private

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