OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimDisplayListEvent.cpp
Go to the documentation of this file.
2 
3 RTTI_DEF1(ossimDisplayListEvent, "ossimDisplayListEvent", ossimEvent);
4 
6 {
7  std::map<void*, void*>::iterator iter = theDisplayMap.find(display);
8 
9  if(iter == theDisplayMap.end())
10  {
11  theDisplayMap.insert(std::make_pair(display, display));
12  }
13 }
14 
16 {
18 
20  {
21  return (*theDisplayIterator).first;
22  }
23 
24  return NULL;
25 }
26 
28 {
30 
32  {
33  return (*theDisplayIterator).first;
34  }
35 
36  return NULL;
37 }
38 
40 {
41  theDisplayMap.clear();
43 }
44 
void addDisplay(void *display)
std::map< void *, void * > theDisplayMap
std::map< void *, void * >::iterator theDisplayIterator
RTTI_DEF1(ossimDisplayListEvent, "ossimDisplayListEvent", ossimEvent)