|
Crazy Eddies GUI System
0.7.2
|
Event::Connection wrapper that automatically disconnects the connection when the object is deleted (or goes out of scope). More...
Inheritance diagram for CEGUI::Event::ScopedConnection:
Collaboration diagram for CEGUI::Event::ScopedConnection:Public Member Functions | |
| ScopedConnection (const Event::Connection &connection) | |
| ScopedConnection & | operator= (const Event::Connection &connection) |
| bool | connected () const |
| void | disconnect () |
Public Member Functions inherited from CEGUI::RefCounted< BoundSlot > | |
| RefCounted () | |
| Default constructor. | |
| RefCounted (BoundSlot *ob) | |
| Contruct a RefCounted object that wraps the pointer ob. | |
| RefCounted (const RefCounted< BoundSlot > &other) | |
| Copy constructor. | |
| ~RefCounted () | |
| Destructor. Only deletes the associated object if no further references exist. | |
| RefCounted< BoundSlot > & | operator= (const RefCounted< BoundSlot > &other) |
| Assignment operator. Previously held object gets its reference count reduced, and is deleted if no further references exist. The newly assigned object, taken from other, gets its count increased. | |
| bool | operator== (const RefCounted< BoundSlot > &other) const |
| Return whether the two RefCounted ptrs are equal (point to the same object) | |
| bool | operator!= (const RefCounted< BoundSlot > &other) const |
| Return whether the two RefCounted ptrs are not equal (point to different objects) | |
| const BoundSlot & | operator* () const |
| Return the object referred to by the wrapped pointer. (beware of null pointers when using this!) | |
| BoundSlot & | operator* () |
| const BoundSlot * | operator-> () const |
| Return the wrapped pointer. | |
| BoundSlot * | operator-> () |
| bool | isValid () const |
| Return whether the wrapped pointer is valid. i.e. that it is not null. | |
Event::Connection wrapper that automatically disconnects the connection when the object is deleted (or goes out of scope).
1.8.3.1