OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Private Attributes | List of all members
ossimStateChangedEvent Class Reference

#include <ossimStateChangedEvent.h>

Inheritance diagram for ossimStateChangedEvent:
ossimEvent ossimObject ossimReferenced

Public Member Functions

 ossimStateChangedEvent (ossimObject *object=NULL, long id=OSSIM_EVENT_STATE_CHANGED_ID)
 
void setObjId (std::string objId)
 
void setNewKeywordlist (ossimKeywordlist kwl)
 
void setOldKeywordlist (ossimKeywordlist kwl)
 
std::string getObjId ()
 
ossimKeywordlist getNewKeywordlist ()
 
ossimKeywordlist getOldKeywordlist ()
 
virtual ossimObjectdup () const
 
- Public Member Functions inherited from ossimEvent
 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 ossimObjectgetObject () const
 This is the originating object that originally produced the event. More...
 
ossimObjectgetObject ()
 
const ossimObjectgetCurrentObject () const
 
ossimObjectgetCurrentObject ()
 
void setObject (ossimObject *object)
 
void setCurrentObject (ossimObject *object)
 
void setPropagationType (PropagationType type)
 
bool isPropagatingToOutputs () const
 
bool isPropagatingToInputs () const
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
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)
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (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
 

Private Attributes

std::string theObjId
 
ossimKeywordlist theNewKeywordlist
 
ossimKeywordlist theOldKeywordlist
 

Additional Inherited Members

- Public Types inherited from ossimEvent
enum  PropagationType { PROPAGATION_NONE = 0, PROPAGATION_INPUT = 1, PROPAGATION_OUTPUT = 2 }
 
- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 
- Protected Attributes inherited from ossimEvent
ossimObjecttheObject
 
ossimObjecttheCurrentObject
 
long theId
 
bool theIsConsumedFlag
 
PropagationType thePropagationType
 

Detailed Description

Definition at line 11 of file ossimStateChangedEvent.h.

Constructor & Destructor Documentation

◆ ossimStateChangedEvent()

ossimStateChangedEvent::ossimStateChangedEvent ( ossimObject object = NULL,
long  id = OSSIM_EVENT_STATE_CHANGED_ID 
)

Definition at line 3 of file ossimStateChangedEvent.cpp.

5  : ossimEvent( object, id )
6 {
7 }
ossimEvent(ossimObject *object=NULL, long id=OSSIM_EVENT_NULL_ID)
Definition: ossimEvent.cpp:16

Member Function Documentation

◆ dup()

virtual ossimObject* ossimStateChangedEvent::dup ( ) const
inlinevirtual

Reimplemented from ossimObject.

Definition at line 26 of file ossimStateChangedEvent.h.

26 {return new ossimStateChangedEvent(*this);}
ossimStateChangedEvent(ossimObject *object=NULL, long id=OSSIM_EVENT_STATE_CHANGED_ID)

◆ getNewKeywordlist()

ossimKeywordlist ossimStateChangedEvent::getNewKeywordlist ( )

Definition at line 14 of file ossimStateChangedEvent.cpp.

References theNewKeywordlist.

15 {
16  return theNewKeywordlist;
17 }
ossimKeywordlist theNewKeywordlist

◆ getObjId()

std::string ossimStateChangedEvent::getObjId ( )

Definition at line 35 of file ossimStateChangedEvent.cpp.

References theObjId.

36 {
37  return theObjId;
38 }

◆ getOldKeywordlist()

ossimKeywordlist ossimStateChangedEvent::getOldKeywordlist ( )

Definition at line 25 of file ossimStateChangedEvent.cpp.

References theOldKeywordlist.

26 {
27  return theOldKeywordlist;
28 }
ossimKeywordlist theOldKeywordlist

◆ setNewKeywordlist()

void ossimStateChangedEvent::setNewKeywordlist ( ossimKeywordlist  kwl)

Definition at line 9 of file ossimStateChangedEvent.cpp.

References theNewKeywordlist.

10 {
11  theNewKeywordlist = kwl;
12 }
ossimKeywordlist theNewKeywordlist

◆ setObjId()

void ossimStateChangedEvent::setObjId ( std::string  objId)

Definition at line 30 of file ossimStateChangedEvent.cpp.

References theObjId.

31 {
32  theObjId = objId;
33 }

◆ setOldKeywordlist()

void ossimStateChangedEvent::setOldKeywordlist ( ossimKeywordlist  kwl)

Definition at line 20 of file ossimStateChangedEvent.cpp.

References theOldKeywordlist.

21 {
22  theOldKeywordlist = kwl;
23 }
ossimKeywordlist theOldKeywordlist

Member Data Documentation

◆ theNewKeywordlist

ossimKeywordlist ossimStateChangedEvent::theNewKeywordlist
private

Definition at line 30 of file ossimStateChangedEvent.h.

Referenced by getNewKeywordlist(), and setNewKeywordlist().

◆ theObjId

std::string ossimStateChangedEvent::theObjId
private

Definition at line 29 of file ossimStateChangedEvent.h.

Referenced by getObjId(), and setObjId().

◆ theOldKeywordlist

ossimKeywordlist ossimStateChangedEvent::theOldKeywordlist
private

Definition at line 31 of file ossimStateChangedEvent.h.

Referenced by getOldKeywordlist(), and setOldKeywordlist().


The documentation for this class was generated from the following files: