Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityTraceFunctionBarrier Class

(Esri::ArcGISRuntime::UtilityTraceFunctionBarrier)

A logical barrier that stops continued network traversal when a comparison expression evaluates as true. More...

Header: #include <UtilityTraceFunctionBarrier>
Since: Esri::ArcGISRuntime 100.7
Inherits: Object

Public Functions

UtilityTraceFunctionBarrier(UtilityTraceFunction *traceFunction, UtilityAttributeComparisonOperator comparisonOperator, const QVariant &value, QObject *parent = nullptr)
~UtilityTraceFunctionBarrier()
UtilityAttributeComparisonOperator comparisonOperator() const
UtilityTraceFunction *traceFunction() const
QVariant value() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

A logical barrier that stops continued network traversal when a comparison expression evaluates as true.

A UtilityTraceFunctionBarrier performs a comparison expression between the current results of a UtilityTraceFunction and a given value. A UtilityTraceFunction references a UtilityNetworkAttribute and a calculation that is applied to it (Min, Max, Count, and so on). Once the comparison evaluates as true, network traversal stops.

Member Function Documentation

UtilityTraceFunctionBarrier::UtilityTraceFunctionBarrier(UtilityTraceFunction *traceFunction, UtilityAttributeComparisonOperator comparisonOperator, const QVariant &value, QObject *parent = nullptr)

Creates a barrier that stops tracing when a UtilityTraceFunction compared to a value evaluates to true.

UtilityTraceFunctionBarrier::~UtilityTraceFunctionBarrier()

Destructor.

UtilityAttributeComparisonOperator UtilityTraceFunctionBarrier::comparisonOperator() const

Returns the operator used for the comparison.

UtilityTraceFunction *UtilityTraceFunctionBarrier::traceFunction() const

Returns the calculation to perform.

QVariant UtilityTraceFunctionBarrier::value() const

Returns the value to compare against.


Feedback on this topic?