Changeset 9361 in orxonox.OLD
- Timestamp:
- Jul 20, 2006, 3:54:38 PM (18 years ago)
- Location:
- branches/proxy/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/lang/base_object.h
r9347 r9361 17 17 #include <string> 18 18 19 #include "sigslot/slot.h" 20 19 21 class TiXmlNode; 20 22 class TiXmlElement; … … 22 24 23 25 //! A class all other classes are derived from 24 class BaseObject 26 class BaseObject : public sigslot::has_slots<> 25 27 { 26 28 -
branches/proxy/src/lib/util/sigslot/signal.h
r9359 r9361 1 /** 2 * @file signal.h 3 * @adaption from the beautiful sigslot implementation of sarah Thompson 4 */ 5 1 6 // sigslot.h: Signal/Slot classes 2 7 // … … 82 87 #include <list> 83 88 84 #if defined(SIGSLOT_PURE_ISO) || (!defined(WIN32) && !defined(__GNUG__) && !defined(SIGSLOT_USE_POSIX_THREADS))85 # define _SIGSLOT_SINGLE_THREADED86 #elif defined(WIN32)87 # define _SIGSLOT_HAS_WIN32_THREADS88 # include <windows.h>89 #elif defined(__GNUG__) || defined(SIGSLOT_USE_POSIX_THREADS)90 # define _SIGSLOT_HAS_POSIX_THREADS91 # include <pthread.h>92 #else93 # define _SIGSLOT_SINGLE_THREADED94 #endif95 96 #ifndef SIGSLOT_DEFAULT_MT_POLICY97 # ifdef _SIGSLOT_SINGLE_THREADED98 # define SIGSLOT_DEFAULT_MT_POLICY single_threaded99 # else100 # define SIGSLOT_DEFAULT_MT_POLICY multi_threaded_local101 # endif102 #endif103 104 89 #include "slot.h" 105 90 -
branches/proxy/src/lib/util/sigslot/slot.h
r9359 r9361 1 2 3 4 1 /** 2 * @file slot.h 3 * @brief Slots part of Signal Slot library from Sarah Thopson 4 */ 5 6 #ifndef SLOT_H__ 7 #define SLOT_H__ 5 8 6 9 #include <set> … … 28 31 #endif 29 32 30 31 32 33 33 namespace sigslot 34 34 { … … 303 303 }; 304 304 } 305 306 #endif /* SLOT_H__ */
Note: See TracChangeset
for help on using the changeset viewer.