![]() |
dnp3 (C++ API) 1.1.0
|
Internal database access. More...
#include <dnp3.hpp>
Public Member Functions | |
| Database (Database &&other) noexcept | |
| Transfer ownership of the underlying C-type to this instance and invalidate the other instance. More... | |
| bool | add_binary_input (uint16_t index, EventClass point_class, const BinaryInputConfig &config) |
| Add a new BinaryInput point. More... | |
| bool | remove_binary_input (uint16_t index) |
| Remove a BinaryInput point. More... | |
| bool | update_binary_input (const BinaryInput &value, const UpdateOptions &options) |
| Update a BinaryInput point. More... | |
| BinaryInput | get_binary_input (uint16_t index) |
| Get a BinaryInput point. More... | |
| bool | add_double_bit_binary_input (uint16_t index, EventClass point_class, const DoubleBitBinaryInputConfig &config) |
| Add a new Double-Bit Binary Input point. More... | |
| bool | remove_double_bit_binary_input (uint16_t index) |
| Remove a Double-Bit Binary Input point. More... | |
| bool | update_double_bit_binary_input (const DoubleBitBinaryInput &value, const UpdateOptions &options) |
| Update a Double-Bit Binary Input point. More... | |
| DoubleBitBinaryInput | get_double_bit_binary_input (uint16_t index) |
| Get a Double-Bit Binary Input point. More... | |
| bool | add_binary_output_status (uint16_t index, EventClass point_class, const BinaryOutputStatusConfig &config) |
| Add a new Binary Output Status point. More... | |
| bool | remove_binary_output_status (uint16_t index) |
| Remove a Binary Output Status point. More... | |
| bool | update_binary_output_status (const BinaryOutputStatus &value, const UpdateOptions &options) |
| Update a Binary Output Status point. More... | |
| BinaryOutputStatus | get_binary_output_status (uint16_t index) |
| Get a Binary Output Status point. More... | |
| bool | add_counter (uint16_t index, EventClass point_class, const CounterConfig &config) |
| Add a new Counter point. More... | |
| bool | remove_counter (uint16_t index) |
| Remove a Counter point. More... | |
| bool | update_counter (const Counter &value, const UpdateOptions &options) |
| Update a Counter point. More... | |
| Counter | get_counter (uint16_t index) |
| Get a Counter point. More... | |
| bool | add_frozen_counter (uint16_t index, EventClass point_class, const FrozenCounterConfig &config) |
| Add a new Frozen Counter point. More... | |
| bool | remove_frozen_counter (uint16_t index) |
| Remove a Frozen Counter point. More... | |
| bool | update_frozen_counter (const FrozenCounter &value, const UpdateOptions &options) |
| Update an Frozen Counter point. More... | |
| FrozenCounter | get_frozen_counter (uint16_t index) |
| Get a Frozen Counter point. More... | |
| bool | add_analog_input (uint16_t index, EventClass point_class, const AnalogInputConfig &config) |
| Add a new AnalogInput point. More... | |
| bool | remove_analog_input (uint16_t index) |
| Remove an AnalogInput point. More... | |
| bool | update_analog_input (const AnalogInput &value, const UpdateOptions &options) |
| Update a AnalogInput point. More... | |
| AnalogInput | get_analog_input (uint16_t index) |
| Get a AnalogInput point. More... | |
| bool | add_analog_output_status (uint16_t index, EventClass point_class, const AnalogOutputStatusConfig &config) |
| Add a new Analog Output Status point. More... | |
| bool | remove_analog_output_status (uint16_t index) |
| Remove an Analog Output Status point. More... | |
| bool | update_analog_output_status (const AnalogOutputStatus &value, const UpdateOptions &options) |
| Update a Analog Output Status point. More... | |
| AnalogOutputStatus | get_analog_output_status (uint16_t index) |
| Get a Analog Output Status point. More... | |
| bool | add_octet_string (uint16_t index, EventClass point_class) |
| Add a new Octet String point. More... | |
| bool | remove_octet_string (uint16_t index) |
| Remove an Octet String point. More... | |
| bool | update_octet_string (uint16_t index, const std::vector< uint8_t > &value, const UpdateOptions &options) |
| Update an Octet String point. More... | |
Friends | |
| class | CppDatabaseFriend |
Internal database access.
|
inlinenoexcept |
Transfer ownership of the underlying C-type to this instance and invalidate the other instance.
| other | Class from which ownership will be transfer to this instance |
| bool dnp3::Database::add_analog_input | ( | uint16_t | index, |
| EventClass | point_class, | ||
| const AnalogInputConfig & | config | ||
| ) |
Add a new AnalogInput point.
| index | Index of the point |
| point_class | Event class |
| config | Configuration |
| bool dnp3::Database::add_analog_output_status | ( | uint16_t | index, |
| EventClass | point_class, | ||
| const AnalogOutputStatusConfig & | config | ||
| ) |
Add a new Analog Output Status point.
| index | Index of the point |
| point_class | Event class |
| config | Configuration |
| bool dnp3::Database::add_binary_input | ( | uint16_t | index, |
| EventClass | point_class, | ||
| const BinaryInputConfig & | config | ||
| ) |
Add a new BinaryInput point.
| index | Index of the point |
| point_class | Event class |
| config | Configuration |
| bool dnp3::Database::add_binary_output_status | ( | uint16_t | index, |
| EventClass | point_class, | ||
| const BinaryOutputStatusConfig & | config | ||
| ) |
Add a new Binary Output Status point.
| index | Index of the point |
| point_class | Event class |
| config | Configuration |
| bool dnp3::Database::add_counter | ( | uint16_t | index, |
| EventClass | point_class, | ||
| const CounterConfig & | config | ||
| ) |
Add a new Counter point.
| index | Index of the point |
| point_class | Event class |
| config | Configuration |
| bool dnp3::Database::add_double_bit_binary_input | ( | uint16_t | index, |
| EventClass | point_class, | ||
| const DoubleBitBinaryInputConfig & | config | ||
| ) |
Add a new Double-Bit Binary Input point.
| index | Index of the point |
| point_class | Event class |
| config | Configuration |
| bool dnp3::Database::add_frozen_counter | ( | uint16_t | index, |
| EventClass | point_class, | ||
| const FrozenCounterConfig & | config | ||
| ) |
Add a new Frozen Counter point.
| index | Index of the point |
| point_class | Event class |
| config | Configuration |
| bool dnp3::Database::add_octet_string | ( | uint16_t | index, |
| EventClass | point_class | ||
| ) |
Add a new Octet String point.
| index | Index of the point |
| point_class | Event class |
| AnalogInput dnp3::Database::get_analog_input | ( | uint16_t | index | ) |
Get a AnalogInput point.
| index | Index of the point to get |
| ParamException |
| AnalogOutputStatus dnp3::Database::get_analog_output_status | ( | uint16_t | index | ) |
Get a Analog Output Status point.
| index | Index of the point to get |
| ParamException |
| BinaryInput dnp3::Database::get_binary_input | ( | uint16_t | index | ) |
Get a BinaryInput point.
| index | Index of the point to get |
| ParamException |
| BinaryOutputStatus dnp3::Database::get_binary_output_status | ( | uint16_t | index | ) |
Get a Binary Output Status point.
| index | Index of the point to get |
| ParamException |
| Counter dnp3::Database::get_counter | ( | uint16_t | index | ) |
Get a Counter point.
| index | Index of the point to get |
| ParamException |
| DoubleBitBinaryInput dnp3::Database::get_double_bit_binary_input | ( | uint16_t | index | ) |
Get a Double-Bit Binary Input point.
| index | Index of the point to get |
| ParamException |
| FrozenCounter dnp3::Database::get_frozen_counter | ( | uint16_t | index | ) |
Get a Frozen Counter point.
| index | Index of the point to get |
| ParamException |
| bool dnp3::Database::remove_analog_input | ( | uint16_t | index | ) |
Remove an AnalogInput point.
| index | Index of the point |
| bool dnp3::Database::remove_analog_output_status | ( | uint16_t | index | ) |
Remove an Analog Output Status point.
| index | Index of the point |
| bool dnp3::Database::remove_binary_input | ( | uint16_t | index | ) |
Remove a BinaryInput point.
| index | Index of the point |
| bool dnp3::Database::remove_binary_output_status | ( | uint16_t | index | ) |
Remove a Binary Output Status point.
| index | Index of the point |
| bool dnp3::Database::remove_counter | ( | uint16_t | index | ) |
Remove a Counter point.
| index | Index of the point |
| bool dnp3::Database::remove_double_bit_binary_input | ( | uint16_t | index | ) |
Remove a Double-Bit Binary Input point.
| index | Index of the point |
| bool dnp3::Database::remove_frozen_counter | ( | uint16_t | index | ) |
Remove a Frozen Counter point.
| index | Index of the point |
| bool dnp3::Database::remove_octet_string | ( | uint16_t | index | ) |
Remove an Octet String point.
| index | Index of the point |
| bool dnp3::Database::update_analog_input | ( | const AnalogInput & | value, |
| const UpdateOptions & | options | ||
| ) |
Update a AnalogInput point.
| value | New value of the point |
| options | Update options |
| bool dnp3::Database::update_analog_output_status | ( | const AnalogOutputStatus & | value, |
| const UpdateOptions & | options | ||
| ) |
Update a Analog Output Status point.
| value | New value of the point |
| options | Update options |
| bool dnp3::Database::update_binary_input | ( | const BinaryInput & | value, |
| const UpdateOptions & | options | ||
| ) |
Update a BinaryInput point.
| value | New value of the point |
| options | Update options |
| bool dnp3::Database::update_binary_output_status | ( | const BinaryOutputStatus & | value, |
| const UpdateOptions & | options | ||
| ) |
Update a Binary Output Status point.
| value | New value of the point |
| options | Update options |
| bool dnp3::Database::update_counter | ( | const Counter & | value, |
| const UpdateOptions & | options | ||
| ) |
Update a Counter point.
| value | New value of the point |
| options | Update options |
| bool dnp3::Database::update_double_bit_binary_input | ( | const DoubleBitBinaryInput & | value, |
| const UpdateOptions & | options | ||
| ) |
Update a Double-Bit Binary Input point.
| value | New value of the point |
| options | Update options |
| bool dnp3::Database::update_frozen_counter | ( | const FrozenCounter & | value, |
| const UpdateOptions & | options | ||
| ) |
Update an Frozen Counter point.
| value | New value of the point |
| options | Update options |
| bool dnp3::Database::update_octet_string | ( | uint16_t | index, |
| const std::vector< uint8_t > & | value, | ||
| const UpdateOptions & | options | ||
| ) |
Update an Octet String point.
| index | Index of the octet string |
| value | New value of the point |
| options | Update options |