Wt  4.0.2
Public Member Functions | List of all members
Wt::SignalBase Class Referenceabstract

Abstract base class of a signal. More...

#include <WSignal.h>

Inheritance diagram for Wt::SignalBase:
Inheritance graph
[legend]

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...
 

Detailed Description

Abstract base class of a signal.

Base class for all signals.

Member Function Documentation

virtual Wt::Signals::connection Wt::SignalBase::connect ( WObject target,
WObject::Method  method 
)
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::JSignal< A >, Wt::JSignal<>, Wt::JSignal< double >, Wt::JSignal< std::string, std::string, std::string, std::string, Wt::WTouchEvent >, 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< std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< int >, Wt::JSignal< double, double >, Wt::JSignal< ::uint64_t >, Wt::JSignal< std::string, std::string, Wt::WTouchEvent >, Wt::JSignal< Wt::WTouchEvent >, Wt::JSignal< bool >, Wt::JSignal<::int64_t >, Wt::JSignal< std::string, std::string >, Wt::JSignal< std::string, std::string, std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< int, int, int, int >, Wt::Signal< A >, Wt::Signal< Wt::WModelIndex, Wt::WMouseEvent >, Wt::Signal< Wt::Http::Message >, Wt::Signal< Wt::WWidget *, bool >, Wt::Signal< ::uint64_t,::uint64_t >, Wt::Signal< Wt::Auth::OAuthProcess *, Wt::Auth::Identity >, Wt::Signal< Wt::WModelIndex >, Wt::Signal< double >, Wt::Signal< std::vector< Wt::WFileDropWidget::File * > >, Wt::Signal< Orientation, int, int >, Wt::Signal< int, Wt::WLength >, Wt::Signal< std::string >, Wt::Signal< Wt::Payment::Result >, Wt::Signal< Wt::WStandardItem * >, Wt::Signal< int, int >, Wt::Signal< int64_t, int64_t >, Wt::Signal< int >, Wt::Signal< Wt::WModelIndex, Wt::WTouchEvent >, Wt::Signal< Wt::Payment::Approval >, Wt::Signal< Wt::WModelIndex, int, int >, Wt::Signal< Wt::Auth::Identity >, Wt::Signal<::uint64_t,::uint64_t >, Wt::Signal< int, Wt::WFormWidget * >, Wt::Signal< Wt::AsioWrapper::error_code, Wt::Http::Message >, Wt::Signal< Wt::WDate >, Wt::Signal< double, double >, Wt::Signal< Wt::WPopupMenu * >, Wt::Signal< StandardButton >, Wt::Signal< ::uint64_t >, Wt::Signal< Wt::Auth::OAuthAccessToken >, Wt::Signal< bool >, Wt::Signal< Wt::WValidator::Result >, Wt::Signal< DialogCode >, Wt::Signal< AsioWrapper::error_code, Wt::Http::Message >, Wt::Signal< Wt::WModelIndex, Wt::WModelIndex >, Wt::Signal< Wt::WFileDropWidget::File *,::uint64_t >, Wt::Signal< Wt::WString >, Wt::Signal< int, Wt::WMouseEvent >, Wt::Signal< ::int64_t >, Wt::Signal< const Wt::Chart::WDataSeries *, Wt::WPointF >, Wt::Signal< Wt::WRadioButton * >, Wt::Signal< Wt::WFileDropWidget::File * >, Wt::Signal< Wt::WMenuItem * >, and Wt::Signal< Wt::WDialog * >.

template<class T , class V >
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).

virtual bool Wt::SignalBase::isConnected ( ) const
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::WModelIndex, Wt::WMouseEvent >, Wt::Signal< Wt::Http::Message >, Wt::Signal< Wt::WWidget *, bool >, Wt::Signal< ::uint64_t,::uint64_t >, Wt::Signal< Wt::Auth::OAuthProcess *, Wt::Auth::Identity >, Wt::Signal< Wt::WModelIndex >, Wt::Signal< double >, Wt::Signal< std::vector< Wt::WFileDropWidget::File * > >, Wt::Signal< Orientation, int, int >, Wt::Signal< int, Wt::WLength >, Wt::Signal< std::string >, Wt::Signal< Wt::Payment::Result >, Wt::Signal< Wt::WStandardItem * >, Wt::Signal< int, int >, Wt::Signal< int64_t, int64_t >, Wt::Signal< int >, Wt::Signal< Wt::WModelIndex, Wt::WTouchEvent >, Wt::Signal< Wt::Payment::Approval >, Wt::Signal< Wt::WModelIndex, int, int >, Wt::Signal< Wt::Auth::Identity >, Wt::Signal<::uint64_t,::uint64_t >, Wt::Signal< int, Wt::WFormWidget * >, Wt::Signal< Wt::AsioWrapper::error_code, Wt::Http::Message >, Wt::Signal< Wt::WDate >, Wt::Signal< double, double >, Wt::Signal< Wt::WPopupMenu * >, Wt::Signal< StandardButton >, Wt::Signal< ::uint64_t >, Wt::Signal< Wt::Auth::OAuthAccessToken >, Wt::Signal< bool >, Wt::Signal< Wt::WValidator::Result >, Wt::Signal< DialogCode >, Wt::Signal< AsioWrapper::error_code, Wt::Http::Message >, Wt::Signal< Wt::WModelIndex, Wt::WModelIndex >, Wt::Signal< Wt::WFileDropWidget::File *,::uint64_t >, Wt::Signal< Wt::WString >, Wt::Signal< int, Wt::WMouseEvent >, Wt::Signal< ::int64_t >, Wt::Signal< const Wt::Chart::WDataSeries *, Wt::WPointF >, Wt::Signal< Wt::WRadioButton * >, Wt::Signal< Wt::WFileDropWidget::File * >, Wt::Signal< Wt::WMenuItem * >, Wt::Signal< Wt::WDialog * >, Wt::JSignal< A >, Wt::JSignal<>, Wt::JSignal< double >, Wt::JSignal< std::string, std::string, std::string, std::string, Wt::WTouchEvent >, 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< std::string, std::string, Wt::WMouseEvent >, Wt::JSignal< int >, Wt::JSignal< double, double >, Wt::JSignal< ::uint64_t >, Wt::JSignal< std::string, std::string, Wt::WTouchEvent >, Wt::JSignal< Wt::WTouchEvent >, Wt::JSignal< bool >, Wt::JSignal<::int64_t >, Wt::JSignal< std::string, std::string >, Wt::JSignal< std::string, std::string, std::string, std::string, Wt::WMouseEvent >, and Wt::JSignal< int, int, int, int >.


Generated on Fri Nov 24 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11