Public Types | |
typedef void(ListenerT::* | PtrMember )(ParamT) |
Public Member Functions | |
NSlot1 (ListenerT *object, PtrMember member) | |
Constructs a NSlot1 object. | |
~NSlot1 () | |
Destroys a NSlot1 object. | |
int | connect (NEvent1< ParamT > *event) |
Connects a event to the slot. | |
void | disconnect () |
Disconnects the slot from the event/signal. |
Definition at line 63 of file nslot1.hpp.
typedef void(ListenerT::* PtrMember)(ParamT) |
Listener type definition
Constructs a NSlot1 object.
object | The object for which a event will be attached to | |
member | Method to be executed on reaction to a given signal/event |
Definition at line 107 of file nslot1.hpp.
int connect | ( | NEvent1< ParamT > * | event | ) | [inline, virtual] |
Connects a event to the slot.
event | Event/Signal to connect this slot to |
Implements NSlotBase1.
Definition at line 127 of file nslot1.hpp.