LuciadCPillar 2023.1.04
luciad::FeatureModelUpdate Class Referencefinal

This class represents a single update to the model. More...

#include <luciad/models/features/IFeatureModelUpdater.h>

Classes

class  Builder
 Builder that allows FeatureModelUpdate instances to be created. More...
 

Public Member Functions

 ~FeatureModelUpdate ()
 
const std::vector< FeatureChange > & getFeatureChanges ()
 
std::shared_ptr< IFeatureUpdaterCallbackgetUpdaterCallback ()
 

Static Public Member Functions

static Builder newBuilder ()
 Returns a new FeatureModelUpdate builder. More...
 

Detailed Description

This class represents a single update to the model.

It consists of one or more changes to one or more features.

This class can be used to make changes to a model by passing it as parameter to IFeatureModelUpdater::update.

Since
2020.1

Constructor & Destructor Documentation

◆ ~FeatureModelUpdate()

luciad::FeatureModelUpdate::~FeatureModelUpdate ( )

Member Function Documentation

◆ getFeatureChanges()

const std::vector< FeatureChange > & luciad::FeatureModelUpdate::getFeatureChanges ( )
Returns
the list of feature changes that should be applied to the model.

◆ getUpdaterCallback()

std::shared_ptr< IFeatureUpdaterCallback > luciad::FeatureModelUpdate::getUpdaterCallback ( )
Returns
the callback that should be called by IFeatureModelUpdater to inform the caller of IFeatureModelUpdater::update if the update was successful or not. Can be nullptr.

◆ newBuilder()

static Builder luciad::FeatureModelUpdate::newBuilder ( )
static

Returns a new FeatureModelUpdate builder.

Returns
a new FeatureModelUpdate builder.