AuboCaps  0.6.0
arcs::aubo_scope::FeatureModel Class Reference

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 ()
 
FeaturePtr getByName (const std::string &name)
 
FeaturePtr getBaseFeature ()
 
FeaturePtr getToolFeature ()
 
std::vector< FeaturePtr > getFeatures (std::function< bool(FeaturePtr)> filter)
 

Private Member Functions

 FeatureModel ()
 

Private Attributes

void * d_ { nullptr }
 

Friends

class DataSwitch
 

Detailed Description

Provides methods that returns features from the current robot installation.

Definition at line 16 of file feature_model.h.

Constructor & Destructor Documentation

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

Member Function Documentation

std::vector<FeaturePtr> arcs::aubo_scope::FeatureModel::getAll ( )
FeaturePtr arcs::aubo_scope::FeatureModel::getBaseFeature ( )
Returns
the base feature of the current installation.
FeaturePtr arcs::aubo_scope::FeatureModel::getByName ( const std::string &  name)
std::vector<FeaturePtr> arcs::aubo_scope::FeatureModel::getFeatures ( std::function< bool(FeaturePtr)>  filter)
template<typename T >
std::vector<FeaturePtr> arcs::aubo_scope::FeatureModel::getGeomFeture ( )
Returns
the geometric features of the current installation
Parameters
clazzthe sort of geometric feature of interest, e.g. FeaturePoint.class, FeatureLine.class, FeaturePlane.class
<T>The Feature type
Returns
the collection of the corresponding features
FeaturePtr arcs::aubo_scope::FeatureModel::getToolFeature ( )
Returns
the tool feature of the current installation.

Friends And Related Function Documentation

friend class DataSwitch
friend

Definition at line 54 of file feature_model.h.

Member Data Documentation

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

Definition at line 56 of file feature_model.h.


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