ErrorEvent

class HPS.ErrorEvent : public HPS.Event

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

Public Functions

override HPS.Event Clone ()

Allocates and returns a copy of this ErrorEvent.

Return

A copy of this ErrorEvent.

override void Dispose ()
bool Equals (HPS.ErrorEvent in_that)

Check if the source object is equivalent to this object.

Return

true if the objects are equivalent, false otherwise.

override bool Equals (Object obj)
ErrorEvent ()

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

ErrorEvent (HPS.ErrorEvent in_that)
ErrorEvent (HPS.Event in_event)

This constructor converts an EventObject to an ErrorEvent object.

Param in_event

The EventObject to be converted.

ErrorEvent (string in_message)

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

Param in_message

A message describing the nature of the error.

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

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

Param in_message

A message describing the nature of the error.

Param in_code

A code describing the nature of the error.

override int GetHashCode ()

Properties

HPS.Info.Code code { get; set; }
string message { get; set; }

Public Static Functions

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