WarningEvent

class HPS.WarningEvent : public HPS.Event

The WarningEvent class is the event that will be generated if an asynchronous warning occurs.

Public Functions

override HPS.Event Clone ()

Allocates and returns a copy of this WarningEvent.

Return

A copy of this WarningEvent.

override void Dispose ()
bool Equals (HPS.WarningEvent 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)
override int GetHashCode ()
WarningEvent ()

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

WarningEvent (HPS.Event in_event)

This constructor converts an EventObject to a WarningEvent object.

Param in_event

The EventObject to be converted.

WarningEvent (HPS.WarningEvent in_that)
WarningEvent (string in_message)

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

Param in_message

A message describing the nature of the warning.

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

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

Param in_message

A message describing the nature of the warning.

Param in_code

A code describing the nature of the warning.

Properties

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

Public Static Functions

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