UtilityNetworkTraceController Class

  • UtilityNetworkTraceController
  • class Esri::ArcGISRuntime::Toolkit::UtilityNetworkTraceController

    In MVC architecture, this is the controller for the corresponding Utility Network Trace that enables trace analysis to be performed on a Utility Network with the selected named trace configuration and starting points. More...

    Header: #include <UtilityNetworkTraceController>
    Inherits: QObject

    Public Functions

    UtilityNetworkTraceController(QObject *parent = nullptr)
    QAbstractItemModel *functionResults() const
    QObject *geoView() const
    bool isAboveMinimumStartingPoint() const
    bool isAddingStartingPointEnabled() const
    bool isAddingStartingPointInProgress() const
    bool isInsufficientStartingPoints() const
    bool isResetResultsEnabled() const
    bool isTraceInProgress() const
    Esri::ArcGISRuntime::UtilityNamedTraceConfiguration *selectedTraceConfiguration() const
    Esri::ArcGISRuntime::UtilityNetwork *selectedUtilityNetwork() const
    void setGeoView(QObject *geoView)
    void setIsAboveMinimumStartingPoint(bool isAboveMinimumStartingPoint)
    void setIsAddingStartingPointEnabled(const bool isAddingStartingPointEnabled)
    void setIsAddingStartingPointInProgress(const bool isAddingStartingPointInProgress)
    void setIsInsufficientStartingPoints(bool isInsufficientStartingPoints)
    void setIsResetResultsEnabled(bool isResetResultsEnabled)
    void setIsTraceInProgress(const bool isTraceInProgress)
    void setSelectedTraceConfiguration(Esri::ArcGISRuntime::UtilityNamedTraceConfiguration *selectedTraceConfiguration)
    void setSelectedUtilityNetwork(Esri::ArcGISRuntime::UtilityNetwork *selectedUtilityNetwork)
    void setStartingPointSymbol(Esri::ArcGISRuntime::Symbol *startingPointSymbol)
    Esri::ArcGISRuntime::Symbol *startingPointSymbol() const
    QAbstractItemModel *startingPoints() const
    QStringList traceConfigurationNames() const

    Signals

    Detailed Description

    Member Function Documentation

    [invokable] UtilityNetworkTraceController::UtilityNetworkTraceController(QObject *parent = nullptr)

    Constructor.

    • parent owning parent object.

    Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

    QObject *UtilityNetworkTraceController::geoView() const

    Returns the GeoView as a QObject.

    Note: Getter function for property geoView.

    See also setGeoView().

    void UtilityNetworkTraceController::setGeoView(QObject *geoView)

    Set the GeoView object this Controller uses.

    Internally this is cast to a MapView using qobject_cast, which is why the paremeter is of form QObject and not GeoView.

    • geoView Object which must inherit from GeoView* and QObject*.

    Note: Setter function for property geoView.

    See also geoView().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close