Compute Graph Framework SDK Reference
5.4.5418 Release
For Test and Development only

GraphHealthSignal.hpp File Reference

Go to the source code of this file.

Data Structures

struct  dw::framework::dwGraphHealthSignal
 Basic health signal that describes the health status of the graph. More...
 
struct  dw::framework::dwGraphHealthSignalArray
 
struct  dw::framework::dwKeyValuePair
 Defines a pair of a key and value used to provide additional debugging information to the dwGraphHealthSignal. More...
 

Namespaces

 dw
 
 dw::framework
 

Enumerations

enum  dw::framework::dwGraphState {
  dw::framework::DW_GRAPH_STATE_UNKNOWN = 0,
  dw::framework::DW_GRAPH_STATE_OK = 3,
  dw::framework::DW_GRAPH_STATE_WARN = 5,
  dw::framework::DW_GRAPH_STATE_ERROR = 7
}
 Enumerated levels describing the status of the graph. More...
 
enum  dw::framework::dwGraphStateLevel {
  dw::framework::DW_GRAPH_STATE_LEVEL_UNKNOWN = 0,
  dw::framework::DW_GRAPH_STATE_LEVEL_LOW = 3,
  dw::framework::DW_GRAPH_STATE_LEVEL_MEDIUM = 5,
  dw::framework::DW_GRAPH_STATE_LEVEL_HIGH = 6,
  dw::framework::DW_GRAPH_STATE_LEVEL_CRITICAL = 9
}
 Enumerated levels of severity describing the consequence of the graph signal on the entire system. More...
 

Functions

std::ostream & dw::framework::operator<< (std::ostream &os, dwGraphState state)
 
std::ostream & dw::framework::operator<< (std::ostream &os, dwGraphStateLevel level)
 
std::ostream & dw::framework::operator<< (std::ostream &os, const dwGraphHealthSignal &signal)
 

Variables

static const uint32_t dw::framework::DW_NODE_STATE_MAX_ERROR_COUNT = 16
 
static const uint32_t dw::framework::DW_NODE_STATE_MAX_ERROR_STRING_LENGTH = 256
 
static const uint32_t dw::framework::DW_NODE_STATE_MAX_KEY_VALUE_PAIR = 16
 

Data Structure Documentation

◆ dw::framework::dwGraphHealthSignal

struct dw::framework::dwGraphHealthSignal
Data Fields
uint32_t nValues
dwGraphStateLevel severity
char source[DW_NODE_STATE_MAX_ERROR_STRING_LENGTH]
dwGraphState state
dwTime_t timestamp
dwKeyValuePair values[DW_NODE_STATE_MAX_KEY_VALUE_PAIR]

◆ dw::framework::dwGraphHealthSignalArray

struct dw::framework::dwGraphHealthSignalArray
Data Fields
uint32_t count
dwGraphHealthSignal signal[DW_NODE_STATE_MAX_ERROR_COUNT]

◆ dw::framework::dwKeyValuePair

struct dw::framework::dwKeyValuePair