7#include <Cutelyst/action.h>
8#include <Cutelyst/cutelyst_export.h>
10#include <QtCore/qhash.h>
11#include <QtCore/qobject.h>
12#include <QtCore/qstringlist.h>
19class DispatcherPrivate;
121 friend class Application;
122 friend class Context;
123 friend class Controller;
124 DispatcherPrivate *d_ptr;
This class represents a Cutelyst Action.
The Cutelyst Component base class.
Cutelyst Controller base class.
Abstract class to described a dispatch type.
Action * getAction(QStringView name, QStringView nameSpace={}) const
void setupActions(const QVector< Controller * > &controllers, const QVector< DispatchType * > &dispatchers, bool printActions)
QVector< DispatchType * > dispatchers() const
QString uriForAction(Action *action, const QStringList &captures) const
ActionList getActions(QStringView name, QStringView nameSpace) const
bool forward(Context *c, Component *component)
Controller * controller(QStringView name) const
Dispatcher(QObject *parent=nullptr)
Action * getActionByPath(QStringView path) const
QList< Controller * > controllers() const
void prepareAction(Context *c)
bool dispatch(Context *c)
Action * expandAction(const Context *c, Action *action) const
The Cutelyst namespace holds all public Cutelyst API.
QVector< Action * > ActionList
QObject * parent() const const