Music Hub  ..
A session-wide music playback service
core::ubuntu::media::Engine::Volume Struct Reference

#include <engine.h>

+ Collaboration diagram for core::ubuntu::media::Engine::Volume:

Public Member Functions

 Volume (double v=max())
 
bool operator!= (const Volume &rhs) const
 
bool operator== (const Volume &rhs) const
 

Static Public Member Functions

static double min ()
 
static double max ()
 

Public Attributes

double value
 

Detailed Description

Definition at line 49 of file engine.h.

Constructor & Destructor Documentation

◆ Volume()

core::ubuntu::media::Engine::Volume::Volume ( double  v = max())
explicit

Definition at line 37 of file engine.cpp.

References max(), min(), and value.

+ Here is the call graph for this function:

Member Function Documentation

◆ max()

double core::ubuntu::media::Engine::Volume::max ( )
static

Definition at line 32 of file engine.cpp.

Referenced by Volume().

◆ min()

double core::ubuntu::media::Engine::Volume::min ( )
static

Definition at line 27 of file engine.cpp.

Referenced by Volume().

◆ operator!=()

bool core::ubuntu::media::Engine::Volume::operator!= ( const Volume rhs) const

Definition at line 43 of file engine.cpp.

References value.

◆ operator==()

bool core::ubuntu::media::Engine::Volume::operator== ( const Volume rhs) const

Definition at line 48 of file engine.cpp.

References value.

Member Data Documentation

◆ value

double core::ubuntu::media::Engine::Volume::value

Definition at line 59 of file engine.h.

Referenced by operator!=(), operator==(), and Volume().


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