RT::IAlert Class Reference

Abstract class, represents alert info from external Risk Management Service. More...

#include <IRiskInfoHelper.h>

List of all members.

Public Types

enum  AlertType { at_account, at_position, at_risk_alarm }
 

Alert Type enum.

More...

Public Member Functions

virtual const char * alert_id () const =0
 unique alert id
virtual const char * alert_name () const =0
 alert template name
virtual AlertType alert_type () const =0
 alert type
virtual const char * account () const =0
 account which triggered the alert
virtual const char * symbol () const =0
 position instrument's symbol (valid if alert type is at_position)
virtual const char * exchange_id () const =0
 position instrument's exchange (available if alert type is at_position)
virtual const char * xml_formula () const =0
 represents alert trigger condition serialized to xml
virtual time_t timestamp () const =0
 alert trigger time
virtual const char * alarm_description () const =0
 alarm_description (valid if alert type is at_risk_alarm)

Detailed Description

Abstract class, represents alert info from external Risk Management Service.


Member Enumeration Documentation

Alert Type enum.

Enumerator:
at_position 

alert has been triggered for account

at_risk_alarm 

alert has been triggered for position

alert has been triggered for risk_alarm condition


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Jun 7 15:51:19 2011 for RTAPI by  doxygen 1.6.3