Slot.h

Go to the documentation of this file.
00001 #ifndef __SLOT_H__
00002 #define __SLOT_H__
00003 
00004 /*
00005 
00006 $Header$
00007 
00008 */
00009 
00010 #include <vector>
00011 #include <map>
00012 
00013 #include "Object.h"
00014 
00015 using namespace std;
00016 
00017 typedef int (Object::*SlotMethod)(...);
00018 
00019 typedef vector<SlotMethod> SlotList;
00020 
00021 typedef map<const Object *, SlotList> SlotMap;
00022 
00023 #define SLOT(methodName, ...) \
00024 typedef int (Object::*SlotMethod_##methodName)(__VA_ARGS__); \
00025 virtual int methodName(__VA_ARGS__);
00026 
00027 #endif

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1