dnp3 (C++ API) 1.1.0
dnp3::EventBufferConfig Struct Reference

Maximum number of events for each type. More...

#include <dnp3.hpp>

Public Member Functions

 EventBufferConfig (uint16_t max_binary, uint16_t max_double_bit_binary, uint16_t max_binary_output_status, uint16_t max_counter, uint16_t max_frozen_counter, uint16_t max_analog, uint16_t max_analog_output_status, uint16_t max_octet_string)
 Fully construct EventBufferConfig specifying the value of each field. More...
 

Static Public Member Functions

static EventBufferConfig no_events ()
 Create a configuration where no events are buffered. More...
 

Public Attributes

uint16_t max_binary
 Maximum number of Binary Input events (g2) More...
 
uint16_t max_double_bit_binary
 Maximum number of Double-Bit Binary Input events (g4) More...
 
uint16_t max_binary_output_status
 Maximum number of Binary Output Status events (g11) More...
 
uint16_t max_counter
 Maximum number of Counter events (g22) More...
 
uint16_t max_frozen_counter
 Maximum number of Frozen Counter events (g23) More...
 
uint16_t max_analog
 Maximum number of Analog Input events (g32) More...
 
uint16_t max_analog_output_status
 Maximum number of Analog Output Status events (g42) More...
 
uint16_t max_octet_string
 Maximum number of Octet String events (g111) More...
 

Friends

class CppEventBufferConfigFriend
 

Detailed Description

Maximum number of events for each type.

A value of zero means that events will not be buffered for that type.

Constructor & Destructor Documentation

◆ EventBufferConfig()

dnp3::EventBufferConfig::EventBufferConfig ( uint16_t  max_binary,
uint16_t  max_double_bit_binary,
uint16_t  max_binary_output_status,
uint16_t  max_counter,
uint16_t  max_frozen_counter,
uint16_t  max_analog,
uint16_t  max_analog_output_status,
uint16_t  max_octet_string 
)

Fully construct EventBufferConfig specifying the value of each field.

Parameters
max_binaryMaximum number of Binary Input events (g2)
max_double_bit_binaryMaximum number of Double-Bit Binary Input events (g4)
max_binary_output_statusMaximum number of Binary Output Status events (g11)
max_counterMaximum number of Counter events (g22)
max_frozen_counterMaximum number of Frozen Counter events (g23)
max_analogMaximum number of Analog Input events (g32)
max_analog_output_statusMaximum number of Analog Output Status events (g42)
max_octet_stringMaximum number of Octet String events (g111)
Returns
New instance of EventBufferConfig

Member Function Documentation

◆ no_events()

Member Data Documentation

◆ max_analog

uint16_t dnp3::EventBufferConfig::max_analog

Maximum number of Analog Input events (g32)

◆ max_analog_output_status

uint16_t dnp3::EventBufferConfig::max_analog_output_status

Maximum number of Analog Output Status events (g42)

◆ max_binary

uint16_t dnp3::EventBufferConfig::max_binary

Maximum number of Binary Input events (g2)

◆ max_binary_output_status

uint16_t dnp3::EventBufferConfig::max_binary_output_status

Maximum number of Binary Output Status events (g11)

◆ max_counter

uint16_t dnp3::EventBufferConfig::max_counter

Maximum number of Counter events (g22)

◆ max_double_bit_binary

uint16_t dnp3::EventBufferConfig::max_double_bit_binary

Maximum number of Double-Bit Binary Input events (g4)

◆ max_frozen_counter

uint16_t dnp3::EventBufferConfig::max_frozen_counter

Maximum number of Frozen Counter events (g23)

◆ max_octet_string

uint16_t dnp3::EventBufferConfig::max_octet_string

Maximum number of Octet String events (g111)


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