Wt
4.11.1
|
Abstract base class of a signal. More...
#include <WSignal.h>
Public Member Functions | |
virtual bool | isConnected () const =0 |
Returns whether this signal is connected. More... | |
virtual Wt::Signals::connection | connect (WObject *target, WObject::Method method)=0 |
Connects to a slot. More... | |
template<class T , class V > | |
Wt::Signals::connection | connect (T *target, void(V::*method)()) |
Connects to a slot. More... | |
Abstract base class of a signal.
Base class for all signals.
Wt::Signals::connection Wt::SignalBase::connect | ( | T * | target, |
void(V::*)() | method | ||
) |
Connects to a slot.
Every signal can be connected to a slot which does not take any arguments (and may thus ignore signal arguments).
|
pure virtual |
Connects to a slot.
Every signal can be connected to a slot which does not take any arguments (and may thus ignore signal arguments).
Implemented in Wt::EventSignal< E >, Wt::Signal< A >, Wt::Signal< Wt::WFileDropWidget::File *, ::uint64_t >, Wt::Signal< Wt::WModelIndex, Wt::WMouseEvent >, Wt::Signal< Wt::WWidget *, bool >, Wt::Signal< Wt::Http::Message >, Wt::Signal< Wt::WModelIndex >, Wt::Signal< double >, Wt::Signal< Wt::Auth::OAuthProcess *, Wt::Auth::Identity >, Wt::Signal< Wt::WStandardItem * >, Wt::Signal< std::vector< Wt::WFileDropWidget::File * > >, Wt::Signal< int, Wt::WLength >, Wt::Signal< Orientation, int, int >, Wt::Signal< Wt::Payment::Result >, Wt::Signal< std::string >, Wt::Signal< int64_t, int64_t >, Wt::Signal< int, int >, Wt::Signal< AsioWrapper::error_code, const std::string & >, Wt::Signal< AsioWrapper::error_code >, Wt::Signal< int >, Wt::Signal< Wt::Auth::Saml::Process *, Wt::Auth::Identity >, Wt::Signal< Wt::WModelIndex, Wt::WTouchEvent >, Wt::Signal< Wt::Payment::Approval >, Wt::Signal< Wt::WWidget * >, Wt::Signal< Wt::WModelIndex, int, int >, Wt::Signal< Wt::Auth::Identity >, Wt::Signal< int, Wt::WFormWidget * >, Wt::Signal< Wt::WDate >, Wt::Signal< std::vector< Wt::WModelIndex >, Wt::WTouchEvent >, Wt::Signal< Wt::WPopupMenu * >, Wt::Signal< Wt::AsioWrapper::error_code, Wt::Http::Message >, Wt::Signal< double, double >, Wt::Signal< ::uint64_t >, Wt::Signal< StandardButton >, Wt::Signal< Wt::Auth::Mfa::AuthenticationResult >, Wt::Signal< bool >, Wt::Signal< Wt::Auth::OAuthAccessToken >, Wt::Signal< Wt::WValidator::Result >, Wt::Signal< DialogCode >, Wt::Signal< ::uint64_t, ::uint64_t >, Wt::Signal< Wt::WModelIndex, Wt::WModelIndex >, Wt::Signal< Wt::WString >, Wt::Signal< ::int64_t >, Wt::Signal< int, Wt::WMouseEvent >, Wt::Signal< Wt::WMenuItem * >, Wt::Signal< Wt::WFileDropWidget::File * >, Wt::Signal< Wt::WRadioButton * >, Wt::Signal< Wt::WDialog * >, Wt::Signal< const Wt::Chart::WDataSeries *, Wt::WPointF >, Wt::JSignal< A >, Wt::JSignal< double >, Wt::JSignal<>, Wt::JSignal< std::string >, Wt::JSignal< int, int, std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< int, int >, Wt::JSignal< Wt::WGoogleMap::Coordinate >, Wt::JSignal< int >, Wt::JSignal< int, int, std::string, std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< double, double >, Wt::JSignal< std::string, std::string, Wt::WTouchEvent >, Wt::JSignal< ::uint64_t >, Wt::JSignal< Wt::WTouchEvent >, Wt::JSignal< std::string, std::string, std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< int, int, int, int >, Wt::JSignal< std::string, std::string >, and Wt::JSignal< ::int64_t >.
|
pure virtual |
Returns whether this signal is connected.
Returns true when the signal was connected to to at least one slot.
Implemented in Wt::EventSignal< E >, Wt::EventSignalBase, Wt::Signal< A >, Wt::Signal< Wt::WFileDropWidget::File *, ::uint64_t >, Wt::Signal< Wt::WModelIndex, Wt::WMouseEvent >, Wt::Signal< Wt::WWidget *, bool >, Wt::Signal< Wt::Http::Message >, Wt::Signal< Wt::WModelIndex >, Wt::Signal< double >, Wt::Signal< Wt::Auth::OAuthProcess *, Wt::Auth::Identity >, Wt::Signal< Wt::WStandardItem * >, Wt::Signal< std::vector< Wt::WFileDropWidget::File * > >, Wt::Signal< int, Wt::WLength >, Wt::Signal< Orientation, int, int >, Wt::Signal< Wt::Payment::Result >, Wt::Signal< std::string >, Wt::Signal< int64_t, int64_t >, Wt::Signal< int, int >, Wt::Signal< AsioWrapper::error_code, const std::string & >, Wt::Signal< AsioWrapper::error_code >, Wt::Signal< int >, Wt::Signal< Wt::Auth::Saml::Process *, Wt::Auth::Identity >, Wt::Signal< Wt::WModelIndex, Wt::WTouchEvent >, Wt::Signal< Wt::Payment::Approval >, Wt::Signal< Wt::WWidget * >, Wt::Signal< Wt::WModelIndex, int, int >, Wt::Signal< Wt::Auth::Identity >, Wt::Signal< int, Wt::WFormWidget * >, Wt::Signal< Wt::WDate >, Wt::Signal< std::vector< Wt::WModelIndex >, Wt::WTouchEvent >, Wt::Signal< Wt::WPopupMenu * >, Wt::Signal< Wt::AsioWrapper::error_code, Wt::Http::Message >, Wt::Signal< double, double >, Wt::Signal< ::uint64_t >, Wt::Signal< StandardButton >, Wt::Signal< Wt::Auth::Mfa::AuthenticationResult >, Wt::Signal< bool >, Wt::Signal< Wt::Auth::OAuthAccessToken >, Wt::Signal< Wt::WValidator::Result >, Wt::Signal< DialogCode >, Wt::Signal< ::uint64_t, ::uint64_t >, Wt::Signal< Wt::WModelIndex, Wt::WModelIndex >, Wt::Signal< Wt::WString >, Wt::Signal< ::int64_t >, Wt::Signal< int, Wt::WMouseEvent >, Wt::Signal< Wt::WMenuItem * >, Wt::Signal< Wt::WFileDropWidget::File * >, Wt::Signal< Wt::WRadioButton * >, Wt::Signal< Wt::WDialog * >, Wt::Signal< const Wt::Chart::WDataSeries *, Wt::WPointF >, Wt::JSignal< A >, Wt::JSignal< double >, Wt::JSignal<>, Wt::JSignal< std::string >, Wt::JSignal< int, int, std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< int, int >, Wt::JSignal< Wt::WGoogleMap::Coordinate >, Wt::JSignal< int >, Wt::JSignal< int, int, std::string, std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< double, double >, Wt::JSignal< std::string, std::string, Wt::WTouchEvent >, Wt::JSignal< ::uint64_t >, Wt::JSignal< Wt::WTouchEvent >, Wt::JSignal< std::string, std::string, std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< int, int, int, int >, Wt::JSignal< std::string, std::string >, and Wt::JSignal< ::int64_t >.