OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
include
ossim
base
ossimEvent.h
Go to the documentation of this file.
1
//*******************************************************************
2
//
3
// License: See top level LICENSE.txt file.
4
//
5
// Author: Garrett Potts
6
// Description: A brief description of the contents of the file.
7
//
8
//
9
//*************************************************************************
10
// $Id: ossimEvent.h 13362 2008-08-01 14:02:32Z gpotts $
11
#ifndef ossimEvent_HEADER
12
#define ossimEvent_HEADER
13
#include <
ossim/base/ossimEventIds.h
>
14
#include <
ossim/base/ossimObject.h
>
15
16
class
OSSIMDLLEXPORT
ossimEvent
:
public
ossimObject
17
{
18
public
:
19
enum
PropagationType
20
{
21
PROPAGATION_NONE = 0,
22
PROPAGATION_INPUT = 1,
23
PROPAGATION_OUTPUT = 2
24
};
30
ossimEvent
(
ossimObject
*
object
=NULL,
31
long
id
=
OSSIM_EVENT_NULL_ID
);
32
33
ossimEvent
(
const
ossimEvent
& rhs);
34
35
long
getId()
const
;
36
void
setId(
long
id
);
37
38
bool
isConsumed()
const
;
39
void
setConsumedFlag(
bool
flag=
true
);
40
void
consume();
41
46
const
ossimObject
* getObject()
const
;
47
ossimObject
* getObject();
48
const
ossimObject
* getCurrentObject()
const
;
49
ossimObject
* getCurrentObject();
50
51
void
setObject(
ossimObject
*
object
);
52
void
setCurrentObject(
ossimObject
*
object
);
53
54
void
setPropagationType(PropagationType type);
55
bool
isPropagatingToOutputs()
const
;
56
bool
isPropagatingToInputs()
const
;
57
protected
:
58
ossimObject
*
theObject
;
59
ossimObject
*
theCurrentObject
;
60
long
theId
;
61
bool
theIsConsumedFlag
;
62
PropagationType
thePropagationType
;
63
64
TYPE_DATA
65
};
66
67
#endif
/* #ifndef ossimEvent_HEADER */
ossimObject
Definition:
ossimObject.h:25
OSSIMDLLEXPORT
#define OSSIMDLLEXPORT
Definition:
ossimConstants.h:71
ossimEvent::theObject
ossimObject * theObject
Definition:
ossimEvent.h:58
ossimObject.h
OSSIM_EVENT_NULL_ID
#define OSSIM_EVENT_NULL_ID
Definition:
ossimEventIds.h:14
TYPE_DATA
#define TYPE_DATA
Definition:
ossimRtti.h:339
ossimEvent::thePropagationType
PropagationType thePropagationType
Definition:
ossimEvent.h:62
ossimEvent::theIsConsumedFlag
bool theIsConsumedFlag
Definition:
ossimEvent.h:61
ossimEvent::theCurrentObject
ossimObject * theCurrentObject
Definition:
ossimEvent.h:59
ossimEvent::PropagationType
PropagationType
Definition:
ossimEvent.h:19
ossimEventIds.h
ossimEvent
Definition:
ossimEvent.h:16
ossimEvent::theId
long theId
Definition:
ossimEvent.h:60
Generated on Fri Aug 3 2018 08:46:47 for OSSIM - Open Source Software Image Map by
1.8.14