Defines | Typedefs | Functions
core/vgui/vgui_soview.cxx File Reference

See vgui_soview.h for a description of this file. More...

#include "vgui_soview.h"
#include <vcl_iostream.h>
#include <vcl_map.h>
#include <vgui/vgui_gl.h>
#include <vgui/vgui_observer.h>
#include <vgui/vgui_style.h>

Go to the source code of this file.

Defines

#define VGUI_STATIC_OBJECT(T, var)
#define AWF_USE_MAP   1

Typedefs

typedef vcl_map< unsigned,
void *, vcl_less< unsigned > > 
Map_soview
typedef vcl_multimap< void
*, void *, vcl_less< void * > > 
mmap_Pv_Pv

Functions

 VGUI_STATIC_OBJECT (Map_soview, object_map)

Detailed Description

See vgui_soview.h for a description of this file.

Author:
Philip C. Pritchett, RRG, University of Oxford
Date:
24 Mar 1999
Modified 14 Nov 2006, by B. McCane. Set AWF_USE_MAP to 1 so the map is used by default and added a destructor that removes the id from the map and therefore prevents a memory leak.

Definition in file vgui_soview.cxx.


Define Documentation

#define AWF_USE_MAP   1

Definition at line 31 of file vgui_soview.cxx.

#define VGUI_STATIC_OBJECT (   T,
  var 
)
Value:
static T& var () { \
  static T * t = 0; \
  if (t == 0) t = new T(); \
  return *t; \
}

Definition at line 24 of file vgui_soview.cxx.


Typedef Documentation

typedef vcl_map<unsigned, void*, vcl_less<unsigned> > Map_soview

Definition at line 36 of file vgui_soview.cxx.

typedef vcl_multimap<void *, void *, vcl_less<void *> > mmap_Pv_Pv

Definition at line 174 of file vgui_soview.cxx.


Function Documentation

VGUI_STATIC_OBJECT ( Map_soview  ,
object_map   
)