oaObserver<oaChangeMgr> Class Template Reference


Public Methods

 oaObserver (oaUInt4 priorityIn, oaBoolean enabledIn=true)
virtual ~oaObserver ()
virtual void onInvalidate (oaChangeMgrModTypeEnum modType)
virtual void onPreImport ()
virtual void onPostImport ()
virtual void onPreExport ()
virtual void onPostExport ()

Detailed Description

template<>
class oaObserver<oaChangeMgr>

This base template class can be used to derive observers for oaChangeMgr objects.

See oaObserver for information on using OpenAccess observer template classes to derive and instantiate observers in an application.


Constructor & Destructor Documentation

oaObserver<oaChangeMgr>::oaObserver oaUInt4    priorityIn,
oaBoolean    enabledIn = true
 

This is the default constructor for the oaObserver<oaChangeMgr> class. It adds this observer to the list of observers. 'priorityIn' is used to determine where the observer should be inserted. The observers are ordered by the priority from lowest to highest.

Parameters:
priorityIn Priority of this observer relative to other oaChangeMgr observers
enabledIn Determines whether this observer is called when an observed event occurs

oaObserver<oaChangeMgr>::~oaObserver   [virtual]
 

This is the default destructor for the oaObserver<oaChangeMgr> class. It removes this observer from the oaChangeMgr observer list.


Member Function Documentation

void oaObserver<oaChangeMgr>::onInvalidate oaChangeMgrModTypeEnum    modType [virtual]
 

This function is called when a change set becomes invalid, possibly resulting from an undo operation that crosses the boundary of a change set.

Parameters:
modType An oaChangeMgrModTypeEnum.

void oaObserver<oaChangeMgr>::onPostExport   [virtual]
 

This function is called after an export is performed.

void oaObserver<oaChangeMgr>::onPostImport   [virtual]
 

This function is called after an import is performed.

void oaObserver<oaChangeMgr>::onPreExport   [virtual]
 

This function is called before an export is performed.

void oaObserver<oaChangeMgr>::onPreImport   [virtual]
 

This function is called before an import is performed.


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

Return to top of page