HPS.Exchange.ReloadNotifier Class Reference

The ReloadNotifier class is a smart-pointer that is tied to a Component.Reload or a CADModel.Reload. It is used to interact with an ongoing reload. More...

Inheritance diagram for HPS.Exchange.ReloadNotifier:
HPS.IONotifier HPS.Object

Public Member Functions

void Assign (HPS.Exchange.ReloadNotifier in_that)
 Associate this ReloadNotifier with the same component reload as the source ReloadNotifier. More...
 
override void Dispose ()
 
override HPS.Type ObjectType ()
 This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More...
 
 ReloadNotifier ()
 The default constructor creates an ReloadNotifier object which is not tied to any component reload. More...
 
 ReloadNotifier (HPS.Exchange.ReloadNotifier in_that)
 The copy constructor creates a new ReloadNotifier object that is associated with the same component reload as the source ReloadNotifier. More...
 
 ReloadNotifier (HPS.IONotifier in_that)
 The conversion constructor creates a new derived ReloadNotifier object from a base IONotifier object. The copy will only be successful if the source notifier is really an upcast of this notifier type. Otherwise the copy will fail and the resulting ReloadNotifier will be invalid. More...
 
- Public Member Functions inherited from HPS.IONotifier
void Assign (HPS.IONotifier in_that)
 Associate this IONotifier with the same file import as the source IONotifier. More...
 
void Cancel ()
 Cancels the import if it is still in progress. There may be some delay between when the cancel request is made and when the import stops and any associated data is deleted as the importer checks for a cancel request periodically during import. More...
 
 IONotifier ()
 The default constructor creates an IONotifier object which is not tied to any file import. More...
 
 IONotifier (HPS.IONotifier in_that)
 The copy constructor creates a new IONotifier object that is associated with the same file import as the source IONotifier. More...
 
HPS.IOResult Status ()
 Query the status of the file import this notifier is tied to. More...
 
HPS.IOResult Status (out float out_percent_complete)
 Query the status of the file import this notifier is tied to and its percentage complete. More...
 
void Wait ()
 Cause this thread to sleep until the file import this notifier is tied to has been handled. More...
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 Indicates whether this object has any values set on it. More...
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More...
 
bool HasType (HPS.Type in_mask)
 This function indicates whether this Object has the given Type mask. More...
 
 Object (HPS.Object that)
 
virtual void Reset ()
 Resets this object to its initial, uninitialized state. More...
 
HPS.Type Type ()
 This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 
- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The ReloadNotifier class is a smart-pointer that is tied to a Component.Reload or a CADModel.Reload. It is used to interact with an ongoing reload.

Constructor & Destructor Documentation

HPS.Exchange.ReloadNotifier.ReloadNotifier ( )
inline

The default constructor creates an ReloadNotifier object which is not tied to any component reload.

HPS.Exchange.ReloadNotifier.ReloadNotifier ( HPS.Exchange.ReloadNotifier  in_that)
inline

The copy constructor creates a new ReloadNotifier object that is associated with the same component reload as the source ReloadNotifier.

Parameters
in_thatThe source ReloadNotifier to copy.
HPS.Exchange.ReloadNotifier.ReloadNotifier ( HPS.IONotifier  in_that)
inline

The conversion constructor creates a new derived ReloadNotifier object from a base IONotifier object. The copy will only be successful if the source notifier is really an upcast of this notifier type. Otherwise the copy will fail and the resulting ReloadNotifier will be invalid.

Parameters
in_thatThe source IONotifier to copy.

Member Function Documentation

void HPS.Exchange.ReloadNotifier.Assign ( HPS.Exchange.ReloadNotifier  in_that)
inline

Associate this ReloadNotifier with the same component reload as the source ReloadNotifier.

Parameters
in_thatThe source ReloadNotifier for the assignment.
override HPS.Type HPS.Exchange.ReloadNotifier.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS.IONotifier.


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