OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimRefreshEvent.cpp
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks.com)
6 // Description: A brief description of the contents of the file.
7 //
8 //
9 //*************************************************************************
10 // $Id: ossimRefreshEvent.cpp 19717 2011-06-03 17:26:52Z gpotts $
12 
13 RTTI_DEF1(ossimRefreshEvent, "ossimRefreshEvent", ossimEvent);
14 
15 
16 void ossimRefreshEvent::setRefreshType(int refreshType, bool on)
17 {
18  if(on)
19  {
20  m_refreshType = static_cast<RefreshType>(m_refreshType | refreshType);
21  }
22  else
23  {
24  m_refreshType = static_cast<RefreshType>(((~refreshType)&(m_refreshType))&REFRESH_ALL);
25  }
26 }
void setRefreshType(int refreshType, bool on=true)
RTTI_DEF1(ossimRefreshEvent, "ossimRefreshEvent", ossimEvent)
RefreshType m_refreshType