#include <opendnp3/outstation/UpdateBuilder.h>
|
Updates | Build () |
|
bool | FreezeCounter (uint16_t index, bool clear, EventMode mode=EventMode::Detect) override |
| Freeze a Counter measurement. More...
|
|
bool | Modify (FlagsType type, uint16_t start, uint16_t stop, uint8_t flags) override |
| Update the flags of a measurement without changing it's value. More...
|
|
bool | Update (const Analog &meas, uint16_t index, EventMode mode=EventMode::Detect) override |
| Update an Analog measurement. More...
|
|
bool | Update (const AnalogOutputStatus &meas, uint16_t index, EventMode mode=EventMode::Detect) override |
| Update a AnalogOutputStatus measurement. More...
|
|
bool | Update (const Binary &meas, uint16_t index, EventMode mode=EventMode::Detect) override |
| Update a Binary measurement. More...
|
|
bool | Update (const BinaryOutputStatus &meas, uint16_t index, EventMode mode=EventMode::Detect) override |
| Update a BinaryOutputStatus measurement. More...
|
|
bool | Update (const Counter &meas, uint16_t index, EventMode mode=EventMode::Detect) override |
| Update a Counter measurement. More...
|
|
bool | Update (const DoubleBitBinary &meas, uint16_t index, EventMode mode=EventMode::Detect) override |
| Update a DoubleBitBinary measurement. More...
|
|
bool | Update (const OctetString &meas, uint16_t index, EventMode mode=EventMode::Detect) override |
| Update an octet string value. More...
|
|
bool | Update (const TimeAndInterval &meas, uint16_t index) override |
| Update a TimeAndInterval valueindex. More...
|
|
Public Member Functions inherited from opendnp3::IUpdateHandler |
virtual | ~IUpdateHandler () |
|
Definition at line 29 of file UpdateBuilder.h.
◆ Add()
◆ AddMeas()
template<class T >
bool opendnp3::UpdateBuilder::AddMeas |
( |
const T & |
meas, |
|
|
uint16_t |
index, |
|
|
EventMode |
mode |
|
) |
| |
|
private |
◆ Build()
Updates opendnp3::UpdateBuilder::Build |
( |
| ) |
|
◆ FreezeCounter()
Freeze a Counter measurement.
- Parameters
-
index | index of the measurement |
clear | clear the original counter |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Modify()
bool opendnp3::UpdateBuilder::Modify |
( |
FlagsType |
type, |
|
|
uint16_t |
start, |
|
|
uint16_t |
stop, |
|
|
uint8_t |
flags |
|
) |
| |
|
overridevirtual |
Update the flags of a measurement without changing it's value.
- Parameters
-
type | enumeration specifiy the type to change |
start | the start index at which to begin changing flags |
stop | the stop index at which to end changing flags |
flags | the new value of the flags |
Implements opendnp3::IUpdateHandler.
◆ Update() [1/8]
Update an Analog measurement.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Update() [2/8]
Update a AnalogOutputStatus measurement.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Update() [3/8]
Update a Binary measurement.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Update() [4/8]
Update a BinaryOutputStatus measurement.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Update() [5/8]
Update a Counter measurement.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Update() [6/8]
Update a DoubleBitBinary measurement.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Update() [7/8]
Update an octet string value.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
mode | Describes how event generation is handled for this method |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ Update() [8/8]
Update a TimeAndInterval valueindex.
- Parameters
-
meas | measurement to be processed |
index | index of the measurement |
- Returns
- true if the value exists and it was updated
Implements opendnp3::IUpdateHandler.
◆ updates
The documentation for this class was generated from the following file: