Public Member Functions | Private Slots | Private Attributes | List of all members
rqt_multiplot::PackageScheme Class Reference

#include <PackageScheme.h>

Inheritance diagram for rqt_multiplot::PackageScheme:
Inheritance graph
[legend]

Public Member Functions

QString getFilePath (const QModelIndex &hostIndex, const QModelIndex &pathIndex) const
 
QString getFilePath (const QString &host, const QString &path) const
 
QDir::Filters getFilter () const
 
QString getHost (const QModelIndex &hostIndex) const
 
QVariant getHostData (const QModelIndex &index, int role) const
 
QModelIndex getHostIndex (size_t row) const
 
size_t getNumHosts () const
 
size_t getNumPaths (const QModelIndex &hostIndex, const QModelIndex &parent) const
 
QString getPath (const QModelIndex &hostIndex, const QModelIndex &pathIndex) const
 
QVariant getPathData (const QModelIndex &index, int role) const
 
QModelIndex getPathIndex (const QModelIndex &hostIndex, size_t row, const QModelIndex &parent=QModelIndex()) const
 
 PackageScheme (QObject *parent=0, const QString &prefix="package", QDir::Filters filter=QDir::NoFilter)
 
void setFilter (QDir::Filters filter)
 
virtual ~PackageScheme ()
 
- Public Member Functions inherited from rqt_multiplot::UrlScheme
const QString & getPrefix () const
 
 UrlScheme (const QString &prefix, QObject *parent=0)
 
virtual ~UrlScheme ()
 

Private Slots

void modelDirectoryLoaded (const QString &path)
 
void registryUpdateFinished ()
 
void registryUpdateStarted ()
 

Private Attributes

QFileSystemModel * fileSystemModel_
 
QStringListModel * packageListModel_
 
QMap< QString, QString > packagePaths_
 
QList< QString > packages_
 
PackageRegistryregistry_
 

Additional Inherited Members

- Signals inherited from rqt_multiplot::UrlScheme
void pathLoaded (const QString &host, const QString &path)
 
void resetFinished ()
 
void resetStarted ()
 

Detailed Description

Definition at line 32 of file PackageScheme.h.

Constructor & Destructor Documentation

rqt_multiplot::PackageScheme::PackageScheme ( QObject *  parent = 0,
const QString &  prefix = "package",
QDir::Filters  filter = QDir::NoFilter 
)

Definition at line 29 of file PackageScheme.cpp.

rqt_multiplot::PackageScheme::~PackageScheme ( )
virtual

Definition at line 52 of file PackageScheme.cpp.

Member Function Documentation

QString rqt_multiplot::PackageScheme::getFilePath ( const QModelIndex &  hostIndex,
const QModelIndex &  pathIndex 
) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 143 of file PackageScheme.cpp.

QString rqt_multiplot::PackageScheme::getFilePath ( const QString &  host,
const QString &  path 
) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 155 of file PackageScheme.cpp.

QDir::Filters rqt_multiplot::PackageScheme::getFilter ( ) const

Definition at line 63 of file PackageScheme.cpp.

QString rqt_multiplot::PackageScheme::getHost ( const QModelIndex &  hostIndex) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 124 of file PackageScheme.cpp.

QVariant rqt_multiplot::PackageScheme::getHostData ( const QModelIndex &  index,
int  role 
) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 75 of file PackageScheme.cpp.

QModelIndex rqt_multiplot::PackageScheme::getHostIndex ( size_t  row) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 71 of file PackageScheme.cpp.

size_t rqt_multiplot::PackageScheme::getNumHosts ( ) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 67 of file PackageScheme.cpp.

size_t rqt_multiplot::PackageScheme::getNumPaths ( const QModelIndex &  hostIndex,
const QModelIndex &  parent 
) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 80 of file PackageScheme.cpp.

QString rqt_multiplot::PackageScheme::getPath ( const QModelIndex &  hostIndex,
const QModelIndex &  pathIndex 
) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 131 of file PackageScheme.cpp.

QVariant rqt_multiplot::PackageScheme::getPathData ( const QModelIndex &  index,
int  role 
) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 119 of file PackageScheme.cpp.

QModelIndex rqt_multiplot::PackageScheme::getPathIndex ( const QModelIndex &  hostIndex,
size_t  row,
const QModelIndex &  parent = QModelIndex() 
) const
virtual

Implements rqt_multiplot::UrlScheme.

Definition at line 103 of file PackageScheme.cpp.

void rqt_multiplot::PackageScheme::modelDirectoryLoaded ( const QString &  path)
privateslot

Definition at line 196 of file PackageScheme.cpp.

void rqt_multiplot::PackageScheme::registryUpdateFinished ( )
privateslot

Definition at line 187 of file PackageScheme.cpp.

void rqt_multiplot::PackageScheme::registryUpdateStarted ( )
privateslot

Definition at line 183 of file PackageScheme.cpp.

void rqt_multiplot::PackageScheme::setFilter ( QDir::Filters  filter)

Definition at line 59 of file PackageScheme.cpp.

Member Data Documentation

QFileSystemModel* rqt_multiplot::PackageScheme::fileSystemModel_
private

Definition at line 64 of file PackageScheme.h.

QStringListModel* rqt_multiplot::PackageScheme::packageListModel_
private

Definition at line 65 of file PackageScheme.h.

QMap<QString, QString> rqt_multiplot::PackageScheme::packagePaths_
private

Definition at line 68 of file PackageScheme.h.

QList<QString> rqt_multiplot::PackageScheme::packages_
private

Definition at line 67 of file PackageScheme.h.

PackageRegistry* rqt_multiplot::PackageScheme::registry_
private

Definition at line 62 of file PackageScheme.h.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44