Part of the slot/signal system. More...
#include <gslot.h>
Public Member Functions | |
SlotBase () | |
Default constuctor. More... | |
virtual | ~SlotBase () |
Destructor. More... | |
void | up () |
Increments the reference count. More... | |
void | down () |
Decrements the reference count and does "delete this" on zero. More... | |
Part of the slot/signal system.
Used as a base class to all SlotImp<> classes allowing them to be used as bodies to the Slot<> reference-counting handle.
void G::SlotBase::down | ( | ) |
Decrements the reference count and does "delete this" on zero.
Definition at line 37 of file gslot.cpp.
Referenced by G::Slot0::~Slot0(), G::Slot1< bool >::~Slot1(), G::Slot2< std::string, std::string >::~Slot2(), and G::Slot3< bool, unsigned long, std::string >::~Slot3().
void G::SlotBase::up | ( | ) |
Increments the reference count.
Definition at line 32 of file gslot.cpp.
Referenced by G::Slot0::Slot0(), G::Slot1< bool >::Slot1(), G::Slot2< std::string, std::string >::Slot2(), and G::Slot3< bool, unsigned long, std::string >::Slot3().