OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimEvent.h>
Public Types | |
enum | PropagationType { PROPAGATION_NONE = 0, PROPAGATION_INPUT = 1, PROPAGATION_OUTPUT = 2 } |
Public Member Functions | |
ossimEvent (ossimObject *object=NULL, long id=OSSIM_EVENT_NULL_ID) | |
ossimEvent (const ossimEvent &rhs) | |
long | getId () const |
void | setId (long id) |
bool | isConsumed () const |
void | setConsumedFlag (bool flag=true) |
void | consume () |
const ossimObject * | getObject () const |
This is the originating object that originally produced the event. More... | |
ossimObject * | getObject () |
const ossimObject * | getCurrentObject () const |
ossimObject * | getCurrentObject () |
void | setObject (ossimObject *object) |
void | setCurrentObject (ossimObject *object) |
void | setPropagationType (PropagationType type) |
bool | isPropagatingToOutputs () const |
bool | isPropagatingToInputs () const |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Attributes | |
ossimObject * | theObject |
ossimObject * | theCurrentObject |
long | theId |
bool | theIsConsumedFlag |
PropagationType | thePropagationType |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 16 of file ossimEvent.h.
Enumerator | |
---|---|
PROPAGATION_NONE | |
PROPAGATION_INPUT | |
PROPAGATION_OUTPUT |
Definition at line 19 of file ossimEvent.h.
ossimEvent::ossimEvent | ( | ossimObject * | object = NULL , |
long | id = OSSIM_EVENT_NULL_ID |
||
) |
object | The object associated with the event if any. |
id | The event id. |
Definition at line 16 of file ossimEvent.cpp.
ossimEvent::ossimEvent | ( | const ossimEvent & | rhs | ) |
Definition at line 27 of file ossimEvent.cpp.
void ossimEvent::consume | ( | ) |
const ossimObject * ossimEvent::getCurrentObject | ( | ) | const |
Definition at line 74 of file ossimEvent.cpp.
References theCurrentObject.
Referenced by ossimImageChain::processEvent().
ossimObject * ossimEvent::getCurrentObject | ( | ) |
long ossimEvent::getId | ( | ) | const |
Definition at line 39 of file ossimEvent.cpp.
References theId.
Referenced by ossimConnectionEvent::isConnect(), ossimConnectionEvent::isDisconnect(), ossimImageGeometryEventListener::processEvent(), ossimImageAoiListener::processEvent(), ossimProcessListener::processEvent(), ossimConnectableObjectListener::processEvent(), and ossimConnectableDisplayListener::processEvent().
const ossimObject * ossimEvent::getObject | ( | ) | const |
This is the originating object that originally produced the event.
Definition at line 64 of file ossimEvent.cpp.
References theObject.
Referenced by ossimHistogramWriter::connectInputEvent(), ossimImageChain::connectInputEvent(), ossimImageChain::disconnectInputEvent(), ossimConnectableContainerChildListener::objectDestructingEvent(), ossimImageChain::objectDestructingEvent(), ossimHistogramWriter::processProgressEvent(), ossimConnectableContainerChildListener::propagatePropertyEvent(), and ossimImageRenderer::refreshEvent().
ossimObject * ossimEvent::getObject | ( | ) |
bool ossimEvent::isConsumed | ( | ) | const |
Definition at line 49 of file ossimEvent.cpp.
References theIsConsumedFlag.
Referenced by ossimListenerManager::fireEvent(), and ossimROIEventListener::processEvent().
bool ossimEvent::isPropagatingToInputs | ( | ) | const |
Definition at line 104 of file ossimEvent.cpp.
References PROPAGATION_INPUT, and thePropagationType.
bool ossimEvent::isPropagatingToOutputs | ( | ) | const |
Definition at line 99 of file ossimEvent.cpp.
References PROPAGATION_OUTPUT, and thePropagationType.
Referenced by ossimImageChain::processEvent().
void ossimEvent::setConsumedFlag | ( | bool | flag = true | ) |
Definition at line 54 of file ossimEvent.cpp.
References theIsConsumedFlag.
Referenced by consume().
void ossimEvent::setCurrentObject | ( | ossimObject * | object | ) |
void ossimEvent::setId | ( | long | id | ) |
Definition at line 44 of file ossimEvent.cpp.
References theId.
void ossimEvent::setObject | ( | ossimObject * | object | ) |
void ossimEvent::setPropagationType | ( | PropagationType | type | ) |
|
protected |
Definition at line 59 of file ossimEvent.h.
Referenced by getCurrentObject(), and setCurrentObject().
|
protected |
Definition at line 60 of file ossimEvent.h.
|
protected |
Definition at line 61 of file ossimEvent.h.
Referenced by isConsumed(), and setConsumedFlag().
|
protected |
Definition at line 58 of file ossimEvent.h.
Referenced by getObject(), and setObject().
|
protected |
Definition at line 62 of file ossimEvent.h.
Referenced by isPropagatingToInputs(), isPropagatingToOutputs(), and setPropagationType().