#include <config_giveda.h>#include <gGlobal.h>#include <gEvent.h>#include <string.h>#include <string>#include <cxxabi.h>#include <stdlib.h>#include <list>类 | |
| class | GSlotAPI< F > |
| class | GSlotAPI< Ret(Args...)> |
| class | GSlotCpp< Receiver, F > |
| class | GSlotCpp< Receiver, Ret(Args...)> |
| class | GSignal< F > |
| GSignal 类用来定义信号,所述信号的函数类型为Ret (*)(Args...)。 比如:GSignal<void(int)> intSig;//定义一个函数类型为void intSig(int); 比如:GSignal<void(int, float)> ifSig;//定义一个函数类型为void ifSig(int, float);. 更多... | |
| class | GSignal< Ret(Args...)> |
| class | GSlot |
| class | GObject |
| GObject 几乎是这个世界中所有元素的基类和祖先。 更多... | |
宏定义 | |
| #define | slots |
| #define | signals public |
| #define | SIGNAL_TYPE(SlotFuncType) list<GSlot*> |
| #define | SIGNAL_POINTER(SlotFuncType) list<GSlot*>* |
| #define | SIGNAL_TYPE_ITERATOR(SlotFuncType) list<GSlot*>::iterator |
| #define | SET_CLASS_NAME(any_type) |
| 如果你要在运行期获得某个对象的类名,可以使用此宏定义 更多... | |
枚举 | |
| enum | E_SLOT_TYPE { C_SLOT_TYPE, CPP_SLOT_TYPE } |
| #define SET_CLASS_NAME | ( | any_type | ) |
如果你要在运行期获得某个对象的类名,可以使用此宏定义
| #define SIGNAL_POINTER | ( | SlotFuncType | ) | list<GSlot*>* |
| #define SIGNAL_TYPE | ( | SlotFuncType | ) | list<GSlot*> |
| #define SIGNAL_TYPE_ITERATOR | ( | SlotFuncType | ) | list<GSlot*>::iterator |
| #define signals public |
| #define slots |
| enum E_SLOT_TYPE |
1.8.6