OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
src
base
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 $
11
#include <
ossim/base/ossimRefreshEvent.h
>
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
}
ossimRefreshEvent::REFRESH_ALL
Definition:
ossimRefreshEvent.h:25
ossimRefreshEvent
Definition:
ossimRefreshEvent.h:16
ossimRefreshEvent::setRefreshType
void setRefreshType(int refreshType, bool on=true)
Definition:
ossimRefreshEvent.cpp:16
RTTI_DEF1
RTTI_DEF1(ossimRefreshEvent, "ossimRefreshEvent", ossimEvent)
ossimRefreshEvent::RefreshType
RefreshType
Definition:
ossimRefreshEvent.h:19
ossimRefreshEvent.h
ossimRefreshEvent::m_refreshType
RefreshType m_refreshType
Definition:
ossimRefreshEvent.h:70
ossimEvent
Definition:
ossimEvent.h:16
Generated on Fri Aug 3 2018 08:46:52 for OSSIM - Open Source Software Image Map by
1.8.14