|
Omnidome
Fulldome Mapping Software Toolkit
|
Base interface for loading external media files. More...
#include <Location.h>
Public Member Functions | |
| Location () | |
| Location (QString const &) | |
| template<typename MEDIA > | |
| void | reload (MEDIA &_media) |
| template<typename MEDIA > | |
| void | load (QString const &_path, MEDIA &_media) |
| Load media from file. More... | |
| bool | exists () const |
| uint64_t | fileSize () const |
| QString const & | path () const |
| void | setPath (QString const &) |
| void | relocate (QString const &_directoryHint=QString()) |
| Relocate media by searching directories, with optional directory hint. More... | |
Static Public Member Functions | |
| static bool | exists (QString const &) |
Private Attributes | |
| qint64 | fileSize_ = 0 |
| QString | path_ |
Base interface for loading external media files.
| omni::media::Location::Location | ( | QString const & | _path | ) |
| bool omni::media::Location::exists | ( | ) | const |
|
static |
| uint64_t omni::media::Location::fileSize | ( | ) | const |
|
inline |
Load media from file.
| QString const & omni::media::Location::path | ( | ) | const |
|
inline |
| void omni::media::Location::relocate | ( | QString const & | _directoryHint = QString() | ) |
| void omni::media::Location::setPath | ( | QString const & | _path | ) |
|
private |
|
private |
1.8.6