OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
include
ossim
base
ossimStateChangedEvent.h
Go to the documentation of this file.
1
#ifndef ossimStateChangedEvent_HEADER
2
#define ossimStateChangedEvent_HEADER
3
4
#include <string>
5
6
#include <
ossim/base/ossimEvent.h
>
7
#include <
ossim/base/ossimEventIds.h
>
8
#include <
ossim/base/ossimKeywordlist.h
>
9
#include <
ossim/base/ossimString.h
>
10
11
class
OSSIMDLLEXPORT
ossimStateChangedEvent
:
public
ossimEvent
12
{
13
public
:
14
ossimStateChangedEvent
(
ossimObject
*
object
=NULL,
15
long
id
=
OSSIM_EVENT_STATE_CHANGED_ID
);
16
17
void
setObjId( std::string objId );
18
void
setNewKeywordlist(
ossimKeywordlist
kwl );
19
void
setOldKeywordlist(
ossimKeywordlist
kwl );
20
21
std::string getObjId();
22
ossimKeywordlist
getNewKeywordlist();
23
ossimKeywordlist
getOldKeywordlist();
24
25
// HACK - Need to set keywordlists too!!!
26
virtual
ossimObject
*
dup
()
const
{
return
new
ossimStateChangedEvent
(*
this
);}
27
28
private
:
29
std::string
theObjId
;
30
ossimKeywordlist
theNewKeywordlist
;
31
ossimKeywordlist
theOldKeywordlist
;
32
};
33
34
#endif
ossimStateChangedEvent::theNewKeywordlist
ossimKeywordlist theNewKeywordlist
Definition:
ossimStateChangedEvent.h:30
ossimObject
Definition:
ossimObject.h:25
OSSIMDLLEXPORT
#define OSSIMDLLEXPORT
Definition:
ossimConstants.h:71
ossimKeywordlist
Represents serializable keyword/value map.
Definition:
ossimKeywordlist.h:50
ossimStateChangedEvent
Definition:
ossimStateChangedEvent.h:11
ossimStateChangedEvent::theOldKeywordlist
ossimKeywordlist theOldKeywordlist
Definition:
ossimStateChangedEvent.h:31
ossimKeywordlist.h
ossimString.h
OSSIM_EVENT_STATE_CHANGED_ID
#define OSSIM_EVENT_STATE_CHANGED_ID
Definition:
ossimEventIds.h:32
ossimStateChangedEvent::theObjId
std::string theObjId
Definition:
ossimStateChangedEvent.h:29
ossimEventIds.h
ossimEvent
Definition:
ossimEvent.h:16
ossimStateChangedEvent::dup
virtual ossimObject * dup() const
Definition:
ossimStateChangedEvent.h:26
ossimEvent.h
Generated on Fri Aug 3 2018 08:46:53 for OSSIM - Open Source Software Image Map by
1.8.14