PDF
AuboStudio SDK  0.6.3
arcs::aubo_scope::FeatureModel Class Reference

FeatureModel Provides methods that returns features from the current robot installation. More...

#include <feature_model.h>

Public Member Functions

 FeatureModel (FeatureModel &f)
 FeatureModel (FeatureModel &&f)
 ~FeatureModel ()
std::vector< FeaturePtr > getAll ()
template<typename T>
std::vector< FeaturePtr > getGeomFeture ()
 Returns the geometric features of the current installation.
FeaturePtr getByName (const std::string &name)
 Returns a feature by name.
FeaturePtr getBaseFeature ()
 Returns the base feature of the current installation.
FeaturePtr getToolFeature ()
 Returns the tool feature of the current installation.
std::vector< FeaturePtr > getFeatures (std::function< bool(FeaturePtr)> filter)
 Returns features matching the given filter.

Private Member Functions

 FeatureModel ()

Private Attributes

void * d_ { nullptr }

Friends

class DataSwitch

Detailed Description

FeatureModel Provides methods that returns features from the current robot installation.

Definition at line 24 of file feature_model.h.

Constructor & Destructor Documentation

◆ FeatureModel() [1/3]

arcs::aubo_scope::FeatureModel::FeatureModel ( FeatureModel & f)

References FeatureModel().

Referenced by FeatureModel(), and FeatureModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FeatureModel() [2/3]

arcs::aubo_scope::FeatureModel::FeatureModel ( FeatureModel && f)

References FeatureModel().

Here is the call graph for this function:

◆ ~FeatureModel()

arcs::aubo_scope::FeatureModel::~FeatureModel ( )

◆ FeatureModel() [3/3]

arcs::aubo_scope::FeatureModel::FeatureModel ( )
private

Member Function Documentation

◆ getAll()

std::vector< FeaturePtr > arcs::aubo_scope::FeatureModel::getAll ( )

◆ getBaseFeature()

FeaturePtr arcs::aubo_scope::FeatureModel::getBaseFeature ( )

Returns the base feature of the current installation.

Returns
the base feature of the current installation.

◆ getByName()

FeaturePtr arcs::aubo_scope::FeatureModel::getByName ( const std::string & name)

Returns a feature by name.

Parameters
namethe name of the feature.
Returns
the feature with the given name.

◆ getFeatures()

std::vector< FeaturePtr > arcs::aubo_scope::FeatureModel::getFeatures ( std::function< bool(FeaturePtr)> filter)

Returns features matching the given filter.

Parameters
filterthe filter to apply.
Returns
a collection of features that match the filter.

◆ getGeomFeture()

template<typename T>
std::vector< FeaturePtr > arcs::aubo_scope::FeatureModel::getGeomFeture ( )

Returns the geometric features of the current installation.

Returns
the geometric features of the current installation.

◆ getToolFeature()

FeaturePtr arcs::aubo_scope::FeatureModel::getToolFeature ( )

Returns the tool feature of the current installation.

Returns
the tool feature of the current installation.

◆ DataSwitch

friend class DataSwitch
friend

Definition at line 104 of file feature_model.h.

References DataSwitch.

Referenced by DataSwitch.

Member Data Documentation

◆ d_

void* arcs::aubo_scope::FeatureModel::d_ { nullptr }
private

Definition at line 106 of file feature_model.h.


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