gusimplewhiteboard
|
Provides a C++ wrapper around wb_vision_detection_goals
.
More...
#include <VisionDetectionGoals.hpp>
Public Member Functions | |
VisionDetectionGoals (uint64_t t_frameNumber=0, const struct wb_vision_detection_goal t_goals[2]=NULLPTR, uint16_t t_res_width=0, uint16_t t_res_height=0) | |
Create a new VisionDetectionGoals . More... | |
VisionDetectionGoals (const VisionDetectionGoals &t_other) | |
Copy Constructor. More... | |
VisionDetectionGoals (const struct wb_vision_detection_goals &t_other) | |
Copy Constructor. More... | |
VisionDetectionGoals & | operator= (const VisionDetectionGoals &t_other) |
Copy Assignment Operator. More... | |
VisionDetectionGoals & | operator= (const struct wb_vision_detection_goals &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const VisionDetectionGoals &t_other) const |
bool | operator!= (const VisionDetectionGoals &t_other) const |
bool | operator== (const wb_vision_detection_goals &t_other) const |
bool | operator!= (const wb_vision_detection_goals &t_other) const |
uint64_t & | frameNumber () |
const uint64_t & | frameNumber () const |
void | set_frameNumber (const uint64_t &t_newValue) |
const VisionDetectionGoal * | goals () const |
size_t | goals_size () const |
VisionDetectionGoal & | goals (int t_i) |
const VisionDetectionGoal & | goals (int t_i) const |
void | set_goals (const VisionDetectionGoal *t_newValue) |
void | set_goals (const VisionDetectionGoal &t_newValue, int t_i) |
uint16_t & | res_width () |
const uint16_t & | res_width () const |
void | set_res_width (const uint16_t &t_newValue) |
uint16_t & | res_height () |
const uint16_t & | res_height () const |
void | set_res_height (const uint16_t &t_newValue) |
VisionDetectionGoals (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 | |
![]() | |
uint64_t | frameNumber |
visionFrameNumber More... | |
struct wb_vision_detection_goal | goals [2] |
goal objects More... | |
uint16_t | res_width |
The resolution width. More... | |
uint16_t | res_height |
The resolution height. More... | |
Provides a C++ wrapper around wb_vision_detection_goals
.
Definition at line 85 of file VisionDetectionGoals.hpp.
|
inline |
Create a new VisionDetectionGoals
.
Definition at line 109 of file VisionDetectionGoals.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 116 of file VisionDetectionGoals.hpp.
References frameNumber(), goals(), res_height(), and res_width().
|
inline |
Copy Constructor.
Definition at line 123 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::frameNumber, wb_vision_detection_goals::goals, wb_vision_detection_goals::res_height, and wb_vision_detection_goals::res_width.
|
inline |
String Constructor.
Definition at line 252 of file VisionDetectionGoals.hpp.
References from_string().
|
inline |
USE_WB_VISION_DETECTION_GOALS_C_CONVERSION
Definition at line 257 of file VisionDetectionGoals.hpp.
References description(), frameNumber(), goals(), res_height(), res_width(), VISION_DETECTION_GOALS_DESC_BUFFER_SIZE, VISION_DETECTION_GOALS_GOALS_ARRAY_SIZE, and wb_vision_detection_goals_description().
Referenced by description().
|
inline |
Definition at line 173 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::frameNumber.
Referenced by VisionDetectionGoals(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 178 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::frameNumber.
|
inline |
USE_WB_VISION_DETECTION_GOALS_C_CONVERSION
Definition at line 311 of file VisionDetectionGoals.hpp.
References guWhiteboard::VisionDetectionGoal::from_string(), set_frameNumber(), set_goals(), set_res_height(), set_res_width(), VISION_DETECTION_GOALS_DESC_BUFFER_SIZE, and VISION_DETECTION_GOALS_GOALS_ARRAY_SIZE.
Referenced by VisionDetectionGoals().
|
inline |
Definition at line 188 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::goals.
Referenced by VisionDetectionGoals(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 198 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::goals.
|
inline |
Definition at line 203 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::goals.
|
inline |
Definition at line 193 of file VisionDetectionGoals.hpp.
References VISION_DETECTION_GOALS_GOALS_ARRAY_SIZE.
|
inline |
Definition at line 158 of file VisionDetectionGoals.hpp.
|
inline |
Definition at line 168 of file VisionDetectionGoals.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 138 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::frameNumber, wb_vision_detection_goals::goals, wb_vision_detection_goals::res_height, and wb_vision_detection_goals::res_width.
|
inline |
Copy Assignment Operator.
Definition at line 130 of file VisionDetectionGoals.hpp.
References frameNumber(), goals(), res_height(), and res_width().
|
inline |
Definition at line 143 of file VisionDetectionGoals.hpp.
References frameNumber(), goals(), res_height(), and res_width().
|
inline |
Definition at line 163 of file VisionDetectionGoals.hpp.
References VisionDetectionGoals().
|
inline |
Definition at line 233 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::res_height.
Referenced by VisionDetectionGoals(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 238 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::res_height.
|
inline |
Definition at line 218 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::res_width.
Referenced by VisionDetectionGoals(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 223 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::res_width.
|
inline |
Definition at line 183 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::frameNumber.
Referenced by from_string().
|
inline |
Definition at line 213 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::goals.
|
inline |
Definition at line 208 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::goals, and VISION_DETECTION_GOALS_GOALS_ARRAY_SIZE.
Referenced by from_string().
|
inline |
Definition at line 243 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::res_height.
Referenced by from_string().
|
inline |
Definition at line 228 of file VisionDetectionGoals.hpp.
References wb_vision_detection_goals::res_width.
Referenced by from_string().
|
inline |
USE_WB_VISION_DETECTION_GOALS_C_CONVERSION
Definition at line 282 of file VisionDetectionGoals.hpp.
References frameNumber(), goals(), res_height(), res_width(), to_string(), VISION_DETECTION_GOALS_GOALS_ARRAY_SIZE, VISION_DETECTION_GOALS_TO_STRING_BUFFER_SIZE, and wb_vision_detection_goals_to_string().
Referenced by to_string().