#include <UrlScheme.h>
Signals | |
void | pathLoaded (const QString &host, const QString &path) |
void | resetFinished () |
void | resetStarted () |
Public Member Functions | |
virtual QString | getFilePath (const QModelIndex &hostIndex, const QModelIndex &pathIndex) const =0 |
virtual QString | getFilePath (const QString &host, const QString &path) const =0 |
virtual QString | getHost (const QModelIndex &hostIndex) const =0 |
virtual QVariant | getHostData (const QModelIndex &index, int role) const =0 |
virtual QModelIndex | getHostIndex (size_t row) const =0 |
virtual size_t | getNumHosts () const =0 |
virtual size_t | getNumPaths (const QModelIndex &hostIndex, const QModelIndex &parent=QModelIndex()) const =0 |
virtual QString | getPath (const QModelIndex &hostIndex, const QModelIndex &pathIndex) const =0 |
virtual QVariant | getPathData (const QModelIndex &index, int role) const =0 |
virtual QModelIndex | getPathIndex (const QModelIndex &hostIndex, size_t row, const QModelIndex &parent=QModelIndex()) const =0 |
const QString & | getPrefix () const |
UrlScheme (const QString &prefix, QObject *parent=0) | |
virtual | ~UrlScheme () |
Private Attributes | |
QString | prefix_ |
Definition at line 28 of file UrlScheme.h.
rqt_multiplot::UrlScheme::UrlScheme | ( | const QString & | prefix, |
QObject * | parent = 0 |
||
) |
Definition at line 27 of file UrlScheme.cpp.
rqt_multiplot::UrlScheme::~UrlScheme | ( | ) | [virtual] |
Definition at line 31 of file UrlScheme.cpp.
virtual QString rqt_multiplot::UrlScheme::getFilePath | ( | const QModelIndex & | hostIndex, |
const QModelIndex & | pathIndex | ||
) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual QString rqt_multiplot::UrlScheme::getFilePath | ( | const QString & | host, |
const QString & | path | ||
) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual QString rqt_multiplot::UrlScheme::getHost | ( | const QModelIndex & | hostIndex | ) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual QVariant rqt_multiplot::UrlScheme::getHostData | ( | const QModelIndex & | index, |
int | role | ||
) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual QModelIndex rqt_multiplot::UrlScheme::getHostIndex | ( | size_t | row | ) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual size_t rqt_multiplot::UrlScheme::getNumHosts | ( | ) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual size_t rqt_multiplot::UrlScheme::getNumPaths | ( | const QModelIndex & | hostIndex, |
const QModelIndex & | parent = QModelIndex() |
||
) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual QString rqt_multiplot::UrlScheme::getPath | ( | const QModelIndex & | hostIndex, |
const QModelIndex & | pathIndex | ||
) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual QVariant rqt_multiplot::UrlScheme::getPathData | ( | const QModelIndex & | index, |
int | role | ||
) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
virtual QModelIndex rqt_multiplot::UrlScheme::getPathIndex | ( | const QModelIndex & | hostIndex, |
size_t | row, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const [pure virtual] |
Implemented in rqt_multiplot::PackageScheme, and rqt_multiplot::FileScheme.
const QString & rqt_multiplot::UrlScheme::getPrefix | ( | ) | const |
Definition at line 38 of file UrlScheme.cpp.
void rqt_multiplot::UrlScheme::pathLoaded | ( | const QString & | host, |
const QString & | path | ||
) | [signal] |
void rqt_multiplot::UrlScheme::resetFinished | ( | ) | [signal] |
void rqt_multiplot::UrlScheme::resetStarted | ( | ) | [signal] |
QString rqt_multiplot::UrlScheme::prefix_ [private] |
Definition at line 64 of file UrlScheme.h.