gusimplewhiteboard
guWhiteboard::VisionDetectionFeature Class Reference

Provides a C++ wrapper around wb_vision_detection_feature. More...

#include <VisionDetectionFeature.hpp>

Inheritance diagram for guWhiteboard::VisionDetectionFeature:
Collaboration diagram for guWhiteboard::VisionDetectionFeature:

Public Member Functions

 VisionDetectionFeature (enum FeatureTypes t_featureType=NUMBER_OF_FEATURE_TYPES, struct wb_polar_coordinate t_coordinate=wb_polar_coordinate())
 Create a new VisionDetectionFeature. More...
 
 VisionDetectionFeature (const VisionDetectionFeature &t_other)
 Copy Constructor. More...
 
 VisionDetectionFeature (const struct wb_vision_detection_feature &t_other)
 Copy Constructor. More...
 
VisionDetectionFeatureoperator= (const VisionDetectionFeature &t_other)
 Copy Assignment Operator. More...
 
VisionDetectionFeatureoperator= (const struct wb_vision_detection_feature &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const VisionDetectionFeature &t_other) const
 
bool operator!= (const VisionDetectionFeature &t_other) const
 
bool operator== (const wb_vision_detection_feature &t_other) const
 
bool operator!= (const wb_vision_detection_feature &t_other) const
 
enum FeatureTypesfeatureType ()
 
enum FeatureTypesfeatureType () const
 
void set_featureType (const enum FeatureTypes &t_newValue)
 
PolarCoordinatecoordinate ()
 
const PolarCoordinatecoordinate () const
 
void set_coordinate (const PolarCoordinate &t_newValue)
 
 VisionDetectionFeature (const std::string &t_str)
 String Constructor. More...
 
std::string description ()
 
std::string to_string ()
 
void from_string (const std::string &t_str)
 

Additional Inherited Members

- Public Attributes inherited from wb_vision_detection_feature
enum FeatureTypes featureType
 Type of the Feature. More...
 
struct wb_polar_coordinate coordinate
 Where the feature is. More...
 

Detailed Description

Provides a C++ wrapper around wb_vision_detection_feature.

Definition at line 85 of file VisionDetectionFeature.hpp.

Constructor & Destructor Documentation

◆ VisionDetectionFeature() [1/4]

guWhiteboard::VisionDetectionFeature::VisionDetectionFeature ( enum FeatureTypes  t_featureType = NUMBER_OF_FEATURE_TYPES,
struct wb_polar_coordinate  t_coordinate = wb_polar_coordinate() 
)
inline

Create a new VisionDetectionFeature.

Definition at line 102 of file VisionDetectionFeature.hpp.

Referenced by operator==().

◆ VisionDetectionFeature() [2/4]

guWhiteboard::VisionDetectionFeature::VisionDetectionFeature ( const VisionDetectionFeature t_other)
inline

Copy Constructor.

Definition at line 109 of file VisionDetectionFeature.hpp.

References coordinate(), and featureType().

◆ VisionDetectionFeature() [3/4]

guWhiteboard::VisionDetectionFeature::VisionDetectionFeature ( const struct wb_vision_detection_feature t_other)
inline

◆ VisionDetectionFeature() [4/4]

guWhiteboard::VisionDetectionFeature::VisionDetectionFeature ( const std::string &  t_str)
inline

String Constructor.

Definition at line 191 of file VisionDetectionFeature.hpp.

References from_string().

Member Function Documentation

◆ coordinate() [1/2]

PolarCoordinate & guWhiteboard::VisionDetectionFeature::coordinate ( )
inline

◆ coordinate() [2/2]

const PolarCoordinate & guWhiteboard::VisionDetectionFeature::coordinate ( ) const
inline

◆ description()

std::string guWhiteboard::VisionDetectionFeature::description ( )
inline

◆ featureType() [1/2]

enum FeatureTypes & guWhiteboard::VisionDetectionFeature::featureType ( )
inline

◆ featureType() [2/2]

enum FeatureTypes & guWhiteboard::VisionDetectionFeature::featureType ( ) const
inline

◆ from_string()

void guWhiteboard::VisionDetectionFeature::from_string ( const std::string &  t_str)
inline

◆ operator!=() [1/2]

bool guWhiteboard::VisionDetectionFeature::operator!= ( const VisionDetectionFeature t_other) const
inline

Definition at line 142 of file VisionDetectionFeature.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::VisionDetectionFeature::operator!= ( const wb_vision_detection_feature t_other) const
inline

Definition at line 152 of file VisionDetectionFeature.hpp.

◆ operator=() [1/2]

VisionDetectionFeature & guWhiteboard::VisionDetectionFeature::operator= ( const struct wb_vision_detection_feature t_other)
inline

Copy Assignment Operator.

Definition at line 131 of file VisionDetectionFeature.hpp.

References wb_vision_detection_feature::coordinate, and wb_vision_detection_feature::featureType.

◆ operator=() [2/2]

VisionDetectionFeature & guWhiteboard::VisionDetectionFeature::operator= ( const VisionDetectionFeature t_other)
inline

Copy Assignment Operator.

Definition at line 123 of file VisionDetectionFeature.hpp.

References coordinate(), and featureType().

◆ operator==() [1/2]

bool guWhiteboard::VisionDetectionFeature::operator== ( const VisionDetectionFeature t_other) const
inline

Definition at line 136 of file VisionDetectionFeature.hpp.

References coordinate(), and featureType().

◆ operator==() [2/2]

bool guWhiteboard::VisionDetectionFeature::operator== ( const wb_vision_detection_feature t_other) const
inline

Definition at line 147 of file VisionDetectionFeature.hpp.

References VisionDetectionFeature().

◆ set_coordinate()

void guWhiteboard::VisionDetectionFeature::set_coordinate ( const PolarCoordinate t_newValue)
inline

Definition at line 182 of file VisionDetectionFeature.hpp.

References wb_vision_detection_feature::coordinate.

Referenced by from_string().

◆ set_featureType()

void guWhiteboard::VisionDetectionFeature::set_featureType ( const enum FeatureTypes t_newValue)
inline

Definition at line 167 of file VisionDetectionFeature.hpp.

References wb_vision_detection_feature::featureType.

Referenced by from_string().

◆ to_string()

std::string guWhiteboard::VisionDetectionFeature::to_string ( )
inline

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