Inheritance diagram for HPS.ErrorEvent:
HPS.Event

Public Member Functions

override HPS.Event Clone ()
 
override void Dispose ()
 
override bool Equals (System.Object obj)
 
virtual bool Equals (HPS.ErrorEvent in_that)
 
 ErrorEvent ()
 
 ErrorEvent (string in_message)
 
 ErrorEvent (string in_message, HPS.Info.Code in_code)
 
 ErrorEvent (HPS.Event in_event)
 
 ErrorEvent (HPS.ErrorEvent in_that)
 
override int GetHashCode ()
 
- Public Member Functions inherited from HPS.Event
virtual bool Drop (HPS.Event in_that_event)
 
delegate void DtorDelegate (IntPtr cPtr)
 
 Event (IntPtr in_channel)
 
 Event ()
 
 Event (HPS.Event in_that)
 
virtual IntPtr Freshen ()
 
IntPtr GetChannel ()
 
IntPtr GetClassID ()
 
double GetTimeStamp ()
 
bool IsConsumable ()
 

Static Public Member Functions

static bool operator!= (HPS.ErrorEvent a, HPS.ErrorEvent b)
 
static bool operator== (HPS.ErrorEvent a, HPS.ErrorEvent b)
 

Protected Member Functions

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

Properties

HPS.Info.Code code [get, set]
 
string message [get, set]
 

Additional Inherited Members

- Public Types inherited from HPS.Event
enum  Status : uint { Status.InProgress = 0x00000000, Status.Completed = 0x00000001, Status.Failed = 0x00000002 }
 
- Static Protected Member Functions inherited from HPS.Event
static void DtorCallback (IntPtr p)
 
- Protected Attributes inherited from HPS.Event
bool cMemOwn
 
HandleRef cptr
 
- Static Protected Attributes inherited from HPS.Event
static Dictionary< IntPtr, EventcachedObjects = new Dictionary<IntPtr, Event>()
 
static ReaderWriterLockSlim mapLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion)
 

Detailed Description

The ErrorEvent class is the event that will be generated if an asynchronous error occurs.

Constructor & Destructor Documentation

◆ ErrorEvent() [1/4]

HPS.ErrorEvent.ErrorEvent ( )
inline

The default constructor creates an ErrorEvent object with an empty message and code of Unknown.

◆ ErrorEvent() [2/4]

HPS.ErrorEvent.ErrorEvent ( string  in_message)
inline

This constructor creates an ErrorEvent object with a specified message and code of Unknown.

Parameters
in_messageA message describing the nature of the error.

◆ ErrorEvent() [3/4]

HPS.ErrorEvent.ErrorEvent ( string  in_message,
HPS.Info.Code  in_code 
)
inline

This constructor creates a ErrorEvent object with a specified message and code.

Parameters
in_messageA message describing the nature of the error.
in_codeA code describing the nature of the error.

◆ ErrorEvent() [4/4]

HPS.ErrorEvent.ErrorEvent ( HPS.Event  in_event)
inline

This constructor converts an EventObject to an ErrorEvent object.

Parameters
in_eventThe EventObject to be converted.

Member Function Documentation

◆ Clone()

override HPS.Event HPS.ErrorEvent.Clone ( )
inlinevirtual

Allocates and returns a copy of this ErrorEvent.

Returns
A copy of this ErrorEvent.

Implements HPS.Event.

◆ Equals()

virtual bool HPS.ErrorEvent.Equals ( HPS.ErrorEvent  in_that)
inlinevirtual

Check if the source object is equivalent to this object.

Returns
true if the objects are equivalent, false otherwise.

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