hashWatch.h File Reference

#include <omnetpp.h>
#include <map>
#include <deque>
#include <oversim_mapset.h>

Go to the source code of this file.

Classes

class  cHashSetWatcher< T >
class  cDequeWatcher< T >
class  cHashMapWatcher< KeyT, ValueT, CmpT >
class  cPointerMapWatcher< KeyT, ValueT, CmpT >
class  cStdMultiMapWatcher< KeyT, ValueT, CmpT >

Defines

#define WATCH_UNORDERED_SET(variable)
 Makes unordered_sets inspectable in Tkenv.
#define WATCH_DEQUE(variable)
 Makes unordered_sets inspectable in Tkenv.
#define WATCH_UNORDERED_MAP(m)
 Makes unordered_maps inspectable in Tkenv.
#define WATCH_POINTER_MAP(m)
 Makes pointer_maps inspectable in Tkenv.
#define WATCH_MULTIMAP(m)
 Makes std::multimaps inspectable in Tkenv.

Functions

template<class T >
void createHashSetWatcher (const char *varname, UNORDERED_SET< T > &v)
template<class T >
void createDequeWatcher (const char *varname, std::deque< T > &v)
template<class KeyT , class ValueT , class CmpT >
void createHashMapWatcher (const char *varname, UNORDERED_MAP< KeyT, ValueT, CmpT > &m)
template<class KeyT , class ValueT , class CmpT >
void createPointerMapWatcher (const char *varname, std::map< KeyT, ValueT, CmpT > &m)
template<class KeyT , class ValueT , class CmpT >
void createStdMultiMapWatcher (const char *varname, std::multimap< KeyT, ValueT, CmpT > &m)

Detailed Description

Author:
Helge Backhaus

Definition in file hashWatch.h.


Define Documentation

#define WATCH_DEQUE ( variable   ) 

Makes unordered_sets inspectable in Tkenv.

Definition at line 269 of file hashWatch.h.

Referenced by oversim::ChordFingerTable::initialize().

#define WATCH_MULTIMAP (  ) 

Makes std::multimaps inspectable in Tkenv.

See also WATCH_MULTIPTRMAP().

Definition at line 290 of file hashWatch.h.

Referenced by DHTDataStorage::initialize().

#define WATCH_POINTER_MAP (  ) 

Makes pointer_maps inspectable in Tkenv.

Definition at line 283 of file hashWatch.h.

#define WATCH_UNORDERED_MAP (  ) 

Makes unordered_maps inspectable in Tkenv.

Definition at line 276 of file hashWatch.h.

Referenced by GlobalNodeList::initialize(), NeighborCache::initializeApp(), and BootstrapList::initializeApp().

#define WATCH_UNORDERED_SET ( variable   ) 

Makes unordered_sets inspectable in Tkenv.

Definition at line 262 of file hashWatch.h.


Function Documentation

template<class T >
void createDequeWatcher ( const char *  varname,
std::deque< T > &  v 
) [inline]

Definition at line 116 of file hashWatch.h.

00117 {
00118     new cDequeWatcher<T>(varname, v);
00119 };

template<class KeyT , class ValueT , class CmpT >
void createHashMapWatcher ( const char *  varname,
UNORDERED_MAP< KeyT, ValueT, CmpT > &  m 
) [inline]

Definition at line 160 of file hashWatch.h.

00161 {
00162     new cHashMapWatcher<KeyT,ValueT,CmpT>(varname, m);
00163 };

template<class T >
void createHashSetWatcher ( const char *  varname,
UNORDERED_SET< T > &  v 
) [inline]

Definition at line 72 of file hashWatch.h.

00073 {
00074     new cHashSetWatcher<T>(varname, v);
00075 };

template<class KeyT , class ValueT , class CmpT >
void createPointerMapWatcher ( const char *  varname,
std::map< KeyT, ValueT, CmpT > &  m 
) [inline]

Definition at line 204 of file hashWatch.h.

00205 {
00206     new cPointerMapWatcher<KeyT,ValueT,CmpT>(varname, m);
00207 };

template<class KeyT , class ValueT , class CmpT >
void createStdMultiMapWatcher ( const char *  varname,
std::multimap< KeyT, ValueT, CmpT > &  m 
) [inline]

Definition at line 251 of file hashWatch.h.

00252 {
00253     new cStdMultiMapWatcher<KeyT,ValueT,CmpT>(varname, m);
00254 };

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3