libvisual
0.5.0
|
Public Member Functions | |
System (System const &)=delete | |
std::string | get_version () const |
Returns the Libvisual version. More... | |
int | get_api_version () const |
Returns the Libvisual API verison. More... | |
ParamList & | get_params () const |
Returns the system-wide parameter list. More... | |
RandomContext & | get_rng () const |
Returns the system-wide random number generator. | |
void | set_rng_seed (RandomSeed seed) |
Sets the seed for the system-wide random number generator. More... | |
Public Member Functions inherited from LV::Singleton< System > | |
Singleton (Singleton const &)=delete | |
Singleton const & | operator= (Singleton const &)=delete |
virtual | ~Singleton () |
Destructor. | |
Static Public Member Functions | |
static void | init (int &argc, char **&argv) |
Initializes Libvisual. More... | |
Static Public Member Functions inherited from LV::Singleton< System > | |
static System * | instance () |
Returns the singleton instance. More... | |
static void | destroy () |
Destroys the singleton instance. | |
Additional Inherited Members | |
Static Protected Attributes inherited from LV::Singleton< System > | |
static System * | m_instance |
Definition at line 44 of file lv_libvisual.h.
int LV::System::get_api_version | ( | ) | const |
Returns the Libvisual API verison.
Definition at line 118 of file lv_libvisual.cpp.
ParamList & LV::System::get_params | ( | ) | const |
Returns the system-wide parameter list.
Definition at line 123 of file lv_libvisual.cpp.
Referenced by LV::SongInfo::set_cover().
std::string LV::System::get_version | ( | ) | const |
Returns the Libvisual version.
Definition at line 113 of file lv_libvisual.cpp.
|
static |
Initializes Libvisual.
argc | Number of arguments |
argv | Argument strings |
Definition at line 103 of file lv_libvisual.cpp.
void LV::System::set_rng_seed | ( | RandomSeed | seed | ) |
Sets the seed for the system-wide random number generator.
seed | seed |
Definition at line 133 of file lv_libvisual.cpp.