gusimplewhiteboard
guWhiteboard::VisionDetectionFeatures Class Reference

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

#include <VisionDetectionFeatures.hpp>

Inheritance diagram for guWhiteboard::VisionDetectionFeatures:
Collaboration diagram for guWhiteboard::VisionDetectionFeatures:

Public Member Functions

 VisionDetectionFeatures (uint64_t t_frameNumber=0, const struct wb_vision_detection_feature_array t_features[2]=NULLPTR)
 Create a new VisionDetectionFeatures. More...
 
 VisionDetectionFeatures (const VisionDetectionFeatures &t_other)
 Copy Constructor. More...
 
 VisionDetectionFeatures (const struct wb_vision_detection_features &t_other)
 Copy Constructor. More...
 
VisionDetectionFeaturesoperator= (const VisionDetectionFeatures &t_other)
 Copy Assignment Operator. More...
 
VisionDetectionFeaturesoperator= (const struct wb_vision_detection_features &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const VisionDetectionFeatures &t_other) const
 
bool operator!= (const VisionDetectionFeatures &t_other) const
 
bool operator== (const wb_vision_detection_features &t_other) const
 
bool operator!= (const wb_vision_detection_features &t_other) const
 
uint64_t & frameNumber ()
 
const uint64_t & frameNumber () const
 
void set_frameNumber (const uint64_t &t_newValue)
 
const VisionDetectionFeatureArrayfeatures () const
 
size_t features_size () const
 
VisionDetectionFeatureArrayfeatures (int t_i)
 
const VisionDetectionFeatureArrayfeatures (int t_i) const
 
void set_features (const VisionDetectionFeatureArray *t_newValue)
 
void set_features (const VisionDetectionFeatureArray &t_newValue, int t_i)
 
 VisionDetectionFeatures (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_features
uint64_t frameNumber
 The frame number that these lines were seen in. More...
 
struct wb_vision_detection_feature_array features [2]
 Features reported for each camera. More...
 

Detailed Description

Provides a C++ wrapper around wb_vision_detection_features.

Definition at line 85 of file VisionDetectionFeatures.hpp.

Constructor & Destructor Documentation

◆ VisionDetectionFeatures() [1/4]

guWhiteboard::VisionDetectionFeatures::VisionDetectionFeatures ( uint64_t  t_frameNumber = 0,
const struct wb_vision_detection_feature_array  t_features[2] = NULLPTR 
)
inline

Create a new VisionDetectionFeatures.

Definition at line 107 of file VisionDetectionFeatures.hpp.

Referenced by operator==().

◆ VisionDetectionFeatures() [2/4]

guWhiteboard::VisionDetectionFeatures::VisionDetectionFeatures ( const VisionDetectionFeatures t_other)
inline

Copy Constructor.

Definition at line 114 of file VisionDetectionFeatures.hpp.

References features(), and frameNumber().

◆ VisionDetectionFeatures() [3/4]

guWhiteboard::VisionDetectionFeatures::VisionDetectionFeatures ( const struct wb_vision_detection_features t_other)
inline

◆ VisionDetectionFeatures() [4/4]

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

String Constructor.

Definition at line 218 of file VisionDetectionFeatures.hpp.

References from_string().

Member Function Documentation

◆ description()

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

◆ features() [1/3]

const VisionDetectionFeatureArray * guWhiteboard::VisionDetectionFeatures::features ( ) const
inline

◆ features() [2/3]

VisionDetectionFeatureArray & guWhiteboard::VisionDetectionFeatures::features ( int  t_i)
inline

◆ features() [3/3]

const VisionDetectionFeatureArray & guWhiteboard::VisionDetectionFeatures::features ( int  t_i) const
inline

◆ features_size()

size_t guWhiteboard::VisionDetectionFeatures::features_size ( ) const
inline

◆ frameNumber() [1/2]

uint64_t & guWhiteboard::VisionDetectionFeatures::frameNumber ( )
inline

◆ frameNumber() [2/2]

const uint64_t & guWhiteboard::VisionDetectionFeatures::frameNumber ( ) const
inline

◆ from_string()

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

◆ operator!=() [1/2]

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

Definition at line 154 of file VisionDetectionFeatures.hpp.

◆ operator!=() [2/2]

bool guWhiteboard::VisionDetectionFeatures::operator!= ( const wb_vision_detection_features t_other) const
inline

Definition at line 164 of file VisionDetectionFeatures.hpp.

◆ operator=() [1/2]

VisionDetectionFeatures & guWhiteboard::VisionDetectionFeatures::operator= ( const struct wb_vision_detection_features t_other)
inline

Copy Assignment Operator.

Definition at line 136 of file VisionDetectionFeatures.hpp.

References wb_vision_detection_features::features, and wb_vision_detection_features::frameNumber.

◆ operator=() [2/2]

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

Copy Assignment Operator.

Definition at line 128 of file VisionDetectionFeatures.hpp.

References features(), and frameNumber().

◆ operator==() [1/2]

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

Definition at line 141 of file VisionDetectionFeatures.hpp.

References features(), and frameNumber().

◆ operator==() [2/2]

bool guWhiteboard::VisionDetectionFeatures::operator== ( const wb_vision_detection_features t_other) const
inline

Definition at line 159 of file VisionDetectionFeatures.hpp.

References VisionDetectionFeatures().

◆ set_features() [1/2]

void guWhiteboard::VisionDetectionFeatures::set_features ( const VisionDetectionFeatureArray t_newValue,
int  t_i 
)
inline

◆ set_features() [2/2]

void guWhiteboard::VisionDetectionFeatures::set_features ( const VisionDetectionFeatureArray t_newValue)
inline

◆ set_frameNumber()

void guWhiteboard::VisionDetectionFeatures::set_frameNumber ( const uint64_t &  t_newValue)
inline

Definition at line 179 of file VisionDetectionFeatures.hpp.

References wb_vision_detection_features::frameNumber.

Referenced by from_string().

◆ to_string()

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

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