Skip To Content ArcGIS for Developers Sign In Dashboard

UtilityTraceFunction Class

(Esri::ArcGISRuntime::UtilityTraceFunction)

A function for computing values during a network trace. More...

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

Public Functions

UtilityTraceFunction(UtilityTraceFunctionType functionType, UtilityNetworkAttribute *networkAttribute, QObject *parent = nullptr)
~UtilityTraceFunction()
UtilityTraceFunctionType functionType() const
UtilityNetworkAttribute *networkAttribute() const
  • 31 public functions inherited from QObject

Additional Inherited Members

Detailed Description

A function for computing values during a network trace.

Functions are evaluated at each applicable network element. The meaning of applicable varies depending on the Tracer. For an upstream trace, the functions are evaluated for each upstream element. For a downstream trace, the functions are evaluated for each element in the subnetwork.

Member Function Documentation

UtilityTraceFunction::UtilityTraceFunction(UtilityTraceFunctionType functionType, UtilityNetworkAttribute *networkAttribute, QObject *parent = nullptr)

Creates a function object to compute a value from a network attribute.

  • functionType - The calculation to perform.
  • networkAttribute - The UtilityNetworkAttribute to use with the calculation
  • parent - The optional parent QObject.

UtilityTraceFunction::~UtilityTraceFunction()

Destructor.

UtilityTraceFunctionType UtilityTraceFunction::functionType() const

Returns the calculation to perform.

UtilityNetworkAttribute *UtilityTraceFunction::networkAttribute() const

Returns the UtilityNetworkAttribute to use with the calculation.


Feedback on this topic?