Public Member Functions | Public Attributes | List of all members
HPS::InformationEvent Class Reference

#include <hps.h>

Inheritance diagram for HPS::InformationEvent:
HPS::Event

Public Member Functions

 InformationEvent ()
 
 InformationEvent (char const *in_message)
 
 InformationEvent (char const *in_message, HPS::Info::Code in_code)
 
 InformationEvent (Event const &in_event)
 
EventClone () const
 
virtual bool Equals (InformationEvent const &in_that) const
 
virtual bool operator== (InformationEvent const &in_that) const
 
virtual bool operator!= (InformationEvent const &in_that) const
 
- Public Member Functions inherited from HPS::Event
 Event (intptr_t in_channel=0)
 
intptr_t GetClassID () const
 
virtual bool Drop (Event const *in_that_event) const
 
virtual intptr_t Freshen () const
 
intptr_t GetChannel () const
 
Time GetTimeStamp () const
 
bool IsConsumable () const
 

Public Attributes

UTF8 message
 The warning information for this WarningEvent.
 
HPS::Info::Code code
 The warning code for this InformationEvent.
 

Additional Inherited Members

- Public Types inherited from HPS::Event
enum  Status { Status::InProgress, Status::Completed, Status::Failed }
 
- Static Public Member Functions inherited from HPS::Event
static void * operator new (size_t in_size)
 
static void operator delete (void *in_ptr, size_t in_size) throw ()
 
- Protected Attributes inherited from HPS::Event
intptr_t channel
 
bool consumable
 

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 ( char const *  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 ( char const *  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 ( Event const &  in_event)
inline

This constructor converts an Event Object to a InformationEvent object.

Parameters
in_eventThe Event Object to be converted.

Member Function Documentation

Event* HPS::InformationEvent::Clone ( ) const
inlinevirtual

Allocates and returns a copy of this InformationEvent.

Returns
A copy of this InformationEvent.

Implements HPS::Event.

virtual bool HPS::InformationEvent::Equals ( InformationEvent const &  in_that) const
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.
virtual bool HPS::InformationEvent::operator!= ( InformationEvent const &  in_that) const
inlinevirtual

Check if the source object is not equivalent to this object.

Parameters
in_thatThe source object to compare to this object.
Returns
true if the objects are not equivalent, false otherwise.
virtual bool HPS::InformationEvent::operator== ( InformationEvent const &  in_that) const
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: