StringKeybSharList.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00032
00033
00034 #ifndef __STRING_KEYB_SHAR_LIST_INCLUDED_
00035 #define __STRING_KEYB_SHAR_LIST_INCLUDED_
00036
00037 #ifdef MIP_HOST_APPLE
00038 #include <applePatch.h>
00039 #endif
00040
00041 #include <Time.h>
00042 #include <SharedListener.h>
00043
00044
00045 using namespace std;
00046
00048
00049
00050 namespace MipBaselib{
00051
00055 class StringKeybSharList : public SharedListener {
00056 static bool _instanceFlag;
00057 static StringKeybSharList *_singleInst;
00058
00059 StringKeybSharList();
00060
00061 void _receive(string& message, string& address);
00062
00063 template <class T> friend void* sharedListenerThread(void* p);
00064
00065 public:
00066
00068 ~StringKeybSharList();
00069
00071 static StringKeybSharList* getInstance();
00072
00073 };
00074
00075
00076
00077
00078 };
00079
00080
00081 #endif
00082
00083
00084
00085
00086
00087