#include </home/zeitlin/src/wx/github/interface/wx/socket.h>
このイベントクラスはソケットイベントに関する情報を含んでいます。
This kind of events are sent to the event handler specified with wxSocketBase::SetEventHandler.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
Public Member Functions | |
wxSocketEvent (int id=0) | |
Constructor. | |
void * | GetClientData () const |
Gets the client data of the socket which generated this event, as set with wxSocketBase::SetClientData(). | |
wxSocketBase * | GetSocket () const |
Returns the socket object to which this event refers to. | |
wxSocketNotify | GetSocketEvent () const |
Returns the socket event type. |
wxSocketEvent::wxSocketEvent | ( | int | id = 0 | ) |
Constructor.
void* wxSocketEvent::GetClientData | ( | ) | const |
Gets the client data of the socket which generated this event, as set with wxSocketBase::SetClientData().
wxSocketBase* wxSocketEvent::GetSocket | ( | ) | const |
Returns the socket object to which this event refers to.
This makes it possible to use the same event handler for different sockets.
wxSocketNotify wxSocketEvent::GetSocketEvent | ( | ) | const |
Returns the socket event type.