#include <omgui/event.h>
Public Member Functions | |
void | block (bool b=true) |
bool | blocked () const |
bool | connected () const |
Connection () | |
void | disconnect () |
void | unblock () |
~Connection () | |
Private Member Functions | |
Connection (const Pointer< ConnectionBody > &body) | |
Private Attributes | |
Pointer< ConnectionBody > | body |
Friends | |
class | Signal |
omgui::Connection::Connection | ( | ) |
omgui::Connection::~Connection | ( | ) |
omgui::Connection::Connection | ( | const Pointer< ConnectionBody > & | body | ) | [private] |
void omgui::Connection::block | ( | bool | b = true |
) |
Blocks the slot, preventing it from being signalled, but does not disconnect the slot.
bool omgui::Connection::blocked | ( | ) | const |
Returns whether or not the slot is blocked
bool omgui::Connection::connected | ( | ) | const |
Returns whether or not the slot is connected
void omgui::Connection::disconnect | ( | ) |
Disconnects the slot. The slot will no longer be signalled.
void omgui::Connection::unblock | ( | ) | [inline] |
Unblock the slot, allowing it to be signalled again.
friend class Signal [friend] |
Pointer<ConnectionBody> omgui::Connection::body [private] |