|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Visitor to update view and then propagate property event to outputs. More...
#include <ossimVisitor.h>
Public Member Functions | |
| ossimViewInterfaceVisitor (ossimObject *view, int visitorType=(VISIT_OUTPUTS|VISIT_CHILDREN)) | |
| ossimViewInterfaceVisitor (const ossimViewInterfaceVisitor &src) | |
| virtual ossimRefPtr< ossimVisitor > | dup () const |
| virtual void | visit (ossimObject *obj) |
| Calls ossimViewInterface::setView if obj cast to ossimViewInterface*. More... | |
| ossimObject * | getView () |
| const ossimObject * | getView () const |
Public Member Functions inherited from ossimVisitor | |
| ossimVisitor (int visitorType=VISIT_NONE) | |
| ossimVisitor (const ossimVisitor &src) | |
| virtual void | reset () |
| virtual void | visit (ossimConnectableObject *obj) |
| VisitorType | getVisitorType () const |
| void | setVisitorType (int vType, bool on=true) |
| void | turnOffVisitorType (int vType) |
| bool | hasVisited (ossimObject *obj) const |
| bool | stopTraversal () const |
Public Member Functions inherited from ossimReferenced | |
| 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 | |
| ossimRefPtr< ossimObject > | m_view |
Protected Attributes inherited from ossimVisitor | |
| VisitorType | m_visitorType |
| Collection | m_markNode |
| bool | m_stopTraversalFlag |
Additional Inherited Members | |
Public Types inherited from ossimVisitor | |
| enum | VisitorType { VISIT_NONE = 0, VISIT_CHILDREN = 1, VISIT_INPUTS = 2, VISIT_OUTPUTS = 4, VISIT_ALL = (VISIT_CHILDREN|VISIT_INPUTS|VISIT_OUTPUTS) } |
| Enumeration type can be a mask and will traverse a graph of connectables based on the values. More... | |
| typedef std::set< ossimRefPtr< ossimObject > > | MarkCollectionRef |
| typedef std::set< ossimRefPtr< ossimObject > > | CollectionRef |
| typedef std::vector< ossimRefPtr< ossimObject > > | ListRef |
| typedef std::set< ossimObject * > | Collection |
| typedef std::vector< ossimObject *> | List |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Visitor to update view and then propagate property event to outputs.
Definition at line 179 of file ossimVisitor.h.
| ossimViewInterfaceVisitor::ossimViewInterfaceVisitor | ( | ossimObject * | view, |
| int | visitorType = (VISIT_OUTPUTS|VISIT_CHILDREN) |
||
| ) |
| ossimViewInterfaceVisitor::ossimViewInterfaceVisitor | ( | const ossimViewInterfaceVisitor & | src | ) |
Definition at line 336 of file ossimVisitor.cpp.
|
virtual |
Implements ossimVisitor.
Definition at line 343 of file ossimVisitor.cpp.
References ossimViewInterfaceVisitor().
| ossimObject * ossimViewInterfaceVisitor::getView | ( | ) |
| const ossimObject * ossimViewInterfaceVisitor::getView | ( | ) | const |
|
virtual |
Calls ossimViewInterface::setView if obj cast to ossimViewInterface*.
On success a property event is sent to output side so that things like ossimCombiner can reinitialize if needed.
| obj | Object to visit. |
Reimplemented from ossimVisitor.
Definition at line 358 of file ossimVisitor.cpp.
References ossimObject::accept(), ossimRefPtr< T >::get(), ossimVisitor::hasVisited(), m_view, ossimViewInterface::setView(), ossimVisitor::visit(), and ossimVisitor::VISIT_OUTPUTS.
|
protected |
Definition at line 201 of file ossimVisitor.h.
1.8.14