API Search || Global Search
HPS.Exchange.TranslationNotifier Class Reference

More...

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

Public Member Functions

void Assign (HPS.Exchange.TranslationNotifier in_that)
 Associate this TranslationNotifier with the same file translation as the source TranslationNotifier. More...
 
override void Dispose ()
 
double GetImportTime ()
 Get the number of milliseconds it took Exchange to read the CAD file(s) and generate the corresponding PRC data. Throws an IOException if the translation is not complete, was not successful or was canceled. More...
 
int[] GetParasolidParts ()
 Get the Parasolid parts obtained from the translation. Throws an IOException if the translation is not complete, was not successful or was canceled. More...
 
double GetTranslationTime ()
 Get the number of milliseconds it took Exchange to translate the PRC data into Parasolid data. Throws an IOException if the translation is not complete, was not successful or was canceled. More...
 
override HPS.Type ObjectType ()
 
 TranslationNotifier ()
 The default constructor creates an TranslationNotifier object which is not tied to any file translation. More...
 
 TranslationNotifier (HPS.Exchange.TranslationNotifier in_that)
 The copy constructor creates a new TranslationNotifier object that is associated with the same file translation as the source TranslationNotifier. More...
 
 TranslationNotifier (HPS.IONotifier in_that)
 The conversion constructor creates a new derived TranslationNotifier 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 TranslationNotifier will be invalid. More...
 
- Public Member Functions inherited from HPS.IONotifier
void Assign (HPS.IONotifier in_that)
 Associate this IONotifier with the same file IO operation as the source IONotifier. More...
 
HPS.IONotifier Cancel ()
 Requests to cancel the asynchronous file IO if it is still in progress. The Cancel() function will return synchronously, however there may be some delay between when the cancel request is made and when the asynchronous file IO stops. Call Wait() to ensure that the asynchronous file IO operation has stopped. More...
 
 IONotifier ()
 The default constructor creates an IONotifier object which is not associated with any file IO operation. More...
 
 IONotifier (HPS.IONotifier in_that)
 The copy constructor creates a new IONotifier object that is associated with the same file IO as the source IONotifier. More...
 
HPS.IOResult Status ()
 Query the status of the file IO operation for this notifier. More...
 
HPS.IOResult Status (out float out_percent_complete)
 Query the status and completion percentage of the file IO for this notifier. More...
 
HPS.IONotifier Wait ()
 Cause this thread to sleep until the asynchronous file IO operation associated with this notifier is complete. 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 the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. 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...
 
virtual 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 TranslationNotifier class is a smart-pointer that is tied to a file translation. It is used to interact with an ongoing translation or get the results from a completed translation.

Constructor & Destructor Documentation

HPS.Exchange.TranslationNotifier.TranslationNotifier ( )
inline

The default constructor creates an TranslationNotifier object which is not tied to any file translation.

HPS.Exchange.TranslationNotifier.TranslationNotifier ( HPS.Exchange.TranslationNotifier  in_that)
inline

The copy constructor creates a new TranslationNotifier object that is associated with the same file translation as the source TranslationNotifier.

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

The conversion constructor creates a new derived TranslationNotifier 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 TranslationNotifier will be invalid.

Parameters
in_thatThe source IONotifier to copy.

Member Function Documentation

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

Associate this TranslationNotifier with the same file translation as the source TranslationNotifier.

Parameters
in_thatThe source TranslationNotifier for the assignment.
double HPS.Exchange.TranslationNotifier.GetImportTime ( )
inline

Get the number of milliseconds it took Exchange to read the CAD file(s) and generate the corresponding PRC data. Throws an IOException if the translation is not complete, was not successful or was canceled.

int [] HPS.Exchange.TranslationNotifier.GetParasolidParts ( )
inline

Get the Parasolid parts obtained from the translation. Throws an IOException if the translation is not complete, was not successful or was canceled.

Returns
The Parasolid Parts for a successful file translation.
double HPS.Exchange.TranslationNotifier.GetTranslationTime ( )
inline

Get the number of milliseconds it took Exchange to translate the PRC data into Parasolid data. Throws an IOException if the translation is not complete, was not successful or was canceled.


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