Inheritance diagram for HPS.Stream.ImportEventHandler:

Public Member Functions

virtual void Dispose ()
delegate void DtorDelegate (IntPtr cPtr)
virtual bool Handle (HPS.Stream.ImportEvent in_event)
ImportEventHandler (HPS.Stream.ImportEventHandler in_that)

Protected Member Functions

virtual void deleteCptr ()
virtual bool DerivedClassHasMethod (string methodName, System.Type[] methodTypes)
virtual bool IsUserDerived ()

Protected Attributes

bool cMemOwn
HandleRef cptr

Static Protected Attributes

static Dictionary< ImportEventHandler, Dictionary< IntPtr, HashSet< IntPtr > > > cachedObjects = new Dictionary<ImportEventHandler, Dictionary<IntPtr, HashSet<IntPtr>>> ()
static ReaderWriterLockSlim mapLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion)

Detailed Description

The ImportEventHandler class is the base class for user-defined ImportEvent handlers. If your ImportEventHandler elects not to import incoming geometry, then subsequent operations on that geometry along with follow-up attributes (priority, user-data, etc...) will throw an InvalidObjectException.

Member Function Documentation

◆ Handle()

virtual bool HPS.Stream.ImportEventHandler.Handle ( HPS.Stream.ImportEvent  in_event)

The handler function for Stream ImportEvents. Override this function to process the ImportEvent to suit your needs. This function is called synchronously as data is imported by Stream; Stream import will be paused until this function returns.

in_eventA pointer to the ImportEvent representing the impending change to the database.
A bool that specifies if the database change indicated by in_event should be applied. true means that the change will be applied to the database; false means that no change will be made.

The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.Stream.cs