Overview

Sample Code

Programming Guide

API Reference

Support

HPS::WarningEvent Class Reference

#include <hps.h>

Inheritance diagram for HPS::WarningEvent:
HPS::Event

Public Member Functions

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

Public Attributes

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

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 delete (void *in_ptr, size_t in_size) throw ()
 
static void * operator new (size_t in_size)
 
- Protected Attributes inherited from HPS::Event
intptr_t channel
 
bool consumable
 

Detailed Description

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

Constructor & Destructor Documentation

HPS::WarningEvent::WarningEvent ( )
inline

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

HPS::WarningEvent::WarningEvent ( char const *  in_message)
inline

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

Parameters
in_messageA message describing the nature of the warning.
HPS::WarningEvent::WarningEvent ( char const *  in_message,
HPS::Info::Code  in_code 
)
inline

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

Parameters
in_messageA message describing the nature of the warning.
in_codeA code describing the nature of the warning.
HPS::WarningEvent::WarningEvent ( Event const &  in_event)
inline

This constructor converts an Event Object to a WarningEvent object.

Parameters
in_eventThe Event Object to be converted.

Member Function Documentation

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

Allocates and returns a copy of this WarningEvent.

Returns
A copy of this WarningEvent.

Implements HPS::Event.

virtual bool HPS::WarningEvent::Equals ( WarningEvent const &  in_that) const
inlinevirtual

Check if the source object is equivalent to this object.

Parameters
in_kitThe source object to compare to this object.
Returns
true if the objects are equivalent, false otherwise.
virtual bool HPS::WarningEvent::operator!= ( WarningEvent const &  in_that) const
inlinevirtual

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

Parameters
in_kitThe source object to compare to this object.
Returns
true if the objects are not equivalent, false otherwise.
virtual bool HPS::WarningEvent::operator== ( WarningEvent const &  in_that) const
inlinevirtual

Check if the source object is equivalent to this object.

Parameters
in_kitThe 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: