Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9361 in orxonox.OLD for branches/proxy/src/lib


Ignore:
Timestamp:
Jul 20, 2006, 3:54:38 PM (18 years ago)
Author:
bensch
Message:

more and better adaptions

Location:
branches/proxy/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/lang/base_object.h

    r9347 r9361  
    1717#include <string>
    1818
     19#include "sigslot/slot.h"
     20
    1921class TiXmlNode;
    2022class TiXmlElement;
     
    2224
    2325//! A class all other classes are derived from
    24 class BaseObject
     26class BaseObject : public sigslot::has_slots<>
    2527{
    2628
  • 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
    16// sigslot.h: Signal/Slot classes
    27//
     
    8287#include <list>
    8388
    84 #if defined(SIGSLOT_PURE_ISO) || (!defined(WIN32) && !defined(__GNUG__) && !defined(SIGSLOT_USE_POSIX_THREADS))
    85 #       define _SIGSLOT_SINGLE_THREADED
    86 #elif defined(WIN32)
    87 #       define _SIGSLOT_HAS_WIN32_THREADS
    88 #       include <windows.h>
    89 #elif defined(__GNUG__) || defined(SIGSLOT_USE_POSIX_THREADS)
    90 #       define _SIGSLOT_HAS_POSIX_THREADS
    91 #       include <pthread.h>
    92 #else
    93 #       define _SIGSLOT_SINGLE_THREADED
    94 #endif
    95 
    96 #ifndef SIGSLOT_DEFAULT_MT_POLICY
    97 #       ifdef _SIGSLOT_SINGLE_THREADED
    98 #               define SIGSLOT_DEFAULT_MT_POLICY single_threaded
    99 #       else
    100 #               define SIGSLOT_DEFAULT_MT_POLICY multi_threaded_local
    101 #       endif
    102 #endif
    103 
    10489#include "slot.h"
    10590
  • 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__
    58
    69#include <set>
     
    2831#endif
    2932
    30 
    31 
    32 
    3333namespace sigslot
    3434{
     
    303303  };
    304304}
     305
     306#endif /* SLOT_H__ */
Note: See TracChangeset for help on using the changeset viewer.