Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
HPS.InformationEvent Class Reference

The InformationEvent class is the event that will be generated if an asynchronous informational message occurs. More...

Inheritance diagram for HPS.InformationEvent:
HPS.Event

Public Member Functions

override void Dispose ()
 
 InformationEvent ()
 The default constructor creates a InformationEvent object with an empty message and code of Unknown. More...
 
 InformationEvent (string in_message)
 This constructor creates a InformationEvent object with a specified information and code of Unknown. More...
 
 InformationEvent (string in_message, HPS.Info.Code in_code)
 This constructor creates a InformationEvent object with a specified information and code. More...
 
 InformationEvent (HPS.Event in_event)
 This constructor converts an EventObject to a InformationEvent object. More...
 
 InformationEvent (HPS.InformationEvent in_that)
 
override HPS.Event Clone ()
 Allocates and returns a copy of this InformationEvent. More...
 
override bool Equals (System.Object obj)
 
override int GetHashCode ()
 
virtual bool Equals (HPS.InformationEvent in_that)
 Check if the source object is equivalent to this object. More...
 
- Public Member Functions inherited from HPS.Event
IntPtr GetClassID ()
 
 Event (IntPtr in_channel)
 A constructor for generating events from built-in or custom event ID's. More...
 
 Event ()
 A constructor for generating events from built-in or custom event ID's. More...
 
 Event (HPS.Event in_that)
 
virtual bool Drop (HPS.Event in_that_event)
 This optional function is used to determine if the current event can be dropped based on the following event in the queue. More...
 
virtual IntPtr Freshen ()
 This optional function is used to determine if the current event can be dropped in favor of newer event of the same type if one is available. More...
 
IntPtr GetChannel ()
 Returns the channel ID assigned to an event. More...
 
double GetTimeStamp ()
 Returns the time an event was injected into the event queue. More...
 
bool IsConsumable ()
 Indicates whether an event will be consumed when it is handled or passed on to the next handler anyway. More...
 
delegate IntPtr EventDelegate_0 ()
 
delegate bool EventDelegate_1 (IntPtr in_that_event)
 
delegate IntPtr EventDelegate_2 ()
 
delegate void DtorDelegate (IntPtr cPtr)
 

Static Public Member Functions

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

Protected Member Functions

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

Properties

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

Additional Inherited Members

- Public Types inherited from HPS.Event
enum  Status { Status.InProgress = 0, Status.Completed = 1, Status.Failed = 2 }
 Event Status - returned from a notifier to give the status of the event. More...
 
- Protected Attributes inherited from HPS.Event
HandleRef cptr
 
HandleRef scptr
 
bool cMemOwn
 

Detailed Description

The InformationEvent class is the event that will be generated if an asynchronous informational message occurs.

Constructor & Destructor Documentation

HPS.InformationEvent.InformationEvent ( )
inline

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

HPS.InformationEvent.InformationEvent ( string  in_message)
inline

This constructor creates a InformationEvent object with a specified information and code of Unknown.

Parameters
in_messageA message describing the nature of the information.
HPS.InformationEvent.InformationEvent ( string  in_message,
HPS.Info.Code  in_code 
)
inline

This constructor creates a InformationEvent object with a specified information and code.

Parameters
in_messageA message describing the nature of the information.
in_codeA code describing the nature of the information.
HPS.InformationEvent.InformationEvent ( HPS.Event  in_event)
inline

This constructor converts an EventObject to a InformationEvent object.

Parameters
in_eventThe <ref refid="class_h_p_s_1_1_event" kindref="compound">Event</ref><ref refid="class_h_p_s_1_1_object" kindref="compound">Object</ref> to be converted.

Member Function Documentation

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

Allocates and returns a copy of this InformationEvent.

Returns
A copy of this InformationEvent.

Implements HPS.Event.

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

Check if the source object is equivalent to this object.

Parameters
in_thatThe source object to compare to this object.
Returns
true if the objects are equivalent, false otherwise.

The documentation for this class was generated from the following file: