opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::ICommandTaskResult Class Reference

Abstract result type returned via callback to a command operation. More...

#include <opendnp3/master/ICommandTaskResult.h>

Public Member Functions

 ICommandTaskResult (TaskCompletion result_)
 
- Public Member Functions inherited from opendnp3::ICollection< CommandPointResult >
virtual size_t Count () const=0
 The number of elements in the collection. More...
 
virtual void Foreach (IVisitor< CommandPointResult > &visitor) const=0
 Visit all the elements of a collection. More...
 
void ForeachItem (const Fun &fun) const
 visit all of the elements of a collection More...
 
bool ReadOnlyValue (CommandPointResult &value) const
 Retrieve the only value from the collection. More...
 

Public Attributes

TaskCompletion summary
 A summary result for the entire task. More...
 

Detailed Description

Abstract result type returned via callback to a command operation.

Provides the TaskCompleton summary value and access to a collection of flatten results.

A result value is provided for every object in every header specified in the CommandSet used to start the operation.

Definition at line 41 of file ICommandTaskResult.h.

Constructor & Destructor Documentation

◆ ICommandTaskResult()

opendnp3::ICommandTaskResult::ICommandTaskResult ( TaskCompletion  result_)
inline

Definition at line 44 of file ICommandTaskResult.h.

Member Data Documentation

◆ summary

TaskCompletion opendnp3::ICommandTaskResult::summary

A summary result for the entire task.

Definition at line 47 of file ICommandTaskResult.h.


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