gusimplewhiteboard
|
Provides a C++ wrapper around wb_vision_detection_balls
.
More...
#include <VisionDetectionBalls.hpp>
Public Member Functions | |
VisionDetectionBalls (uint64_t t_frameNumber=0, const struct wb_vision_detection_ball t_balls[2]=NULLPTR, uint16_t t_res_width=0, uint16_t t_res_height=0) | |
Create a new VisionDetectionBalls . More... | |
VisionDetectionBalls (const VisionDetectionBalls &t_other) | |
Copy Constructor. More... | |
VisionDetectionBalls (const struct wb_vision_detection_balls &t_other) | |
Copy Constructor. More... | |
VisionDetectionBalls & | operator= (const VisionDetectionBalls &t_other) |
Copy Assignment Operator. More... | |
VisionDetectionBalls & | operator= (const struct wb_vision_detection_balls &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const VisionDetectionBalls &t_other) const |
bool | operator!= (const VisionDetectionBalls &t_other) const |
bool | operator== (const wb_vision_detection_balls &t_other) const |
bool | operator!= (const wb_vision_detection_balls &t_other) const |
uint64_t & | frameNumber () |
const uint64_t & | frameNumber () const |
void | set_frameNumber (const uint64_t &t_newValue) |
const VisionDetectionBall * | balls () const |
size_t | balls_size () const |
VisionDetectionBall & | balls (int t_i) |
const VisionDetectionBall & | balls (int t_i) const |
void | set_balls (const VisionDetectionBall *t_newValue) |
void | set_balls (const VisionDetectionBall &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) |
VisionDetectionBalls (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_ball | balls [2] |
ball 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_balls
.
Definition at line 85 of file VisionDetectionBalls.hpp.
|
inline |
Create a new VisionDetectionBalls
.
Definition at line 109 of file VisionDetectionBalls.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 116 of file VisionDetectionBalls.hpp.
References balls(), frameNumber(), res_height(), and res_width().
|
inline |
Copy Constructor.
Definition at line 123 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::balls, wb_vision_detection_balls::frameNumber, wb_vision_detection_balls::res_height, and wb_vision_detection_balls::res_width.
|
inline |
String Constructor.
Definition at line 252 of file VisionDetectionBalls.hpp.
References from_string().
|
inline |
Definition at line 188 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::balls.
Referenced by VisionDetectionBalls(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 198 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::balls.
|
inline |
Definition at line 203 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::balls.
|
inline |
Definition at line 193 of file VisionDetectionBalls.hpp.
References VISION_DETECTION_BALLS_BALLS_ARRAY_SIZE.
|
inline |
USE_WB_VISION_DETECTION_BALLS_C_CONVERSION
Definition at line 257 of file VisionDetectionBalls.hpp.
References balls(), description(), frameNumber(), res_height(), res_width(), VISION_DETECTION_BALLS_BALLS_ARRAY_SIZE, VISION_DETECTION_BALLS_DESC_BUFFER_SIZE, and wb_vision_detection_balls_description().
Referenced by description().
|
inline |
Definition at line 173 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::frameNumber.
Referenced by VisionDetectionBalls(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 178 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::frameNumber.
|
inline |
USE_WB_VISION_DETECTION_BALLS_C_CONVERSION
Definition at line 311 of file VisionDetectionBalls.hpp.
References guWhiteboard::VisionDetectionBall::from_string(), set_balls(), set_frameNumber(), set_res_height(), set_res_width(), VISION_DETECTION_BALLS_BALLS_ARRAY_SIZE, and VISION_DETECTION_BALLS_DESC_BUFFER_SIZE.
Referenced by VisionDetectionBalls().
|
inline |
Definition at line 158 of file VisionDetectionBalls.hpp.
|
inline |
Definition at line 168 of file VisionDetectionBalls.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 138 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::balls, wb_vision_detection_balls::frameNumber, wb_vision_detection_balls::res_height, and wb_vision_detection_balls::res_width.
|
inline |
Copy Assignment Operator.
Definition at line 130 of file VisionDetectionBalls.hpp.
References balls(), frameNumber(), res_height(), and res_width().
|
inline |
Definition at line 143 of file VisionDetectionBalls.hpp.
References balls(), frameNumber(), res_height(), and res_width().
|
inline |
Definition at line 163 of file VisionDetectionBalls.hpp.
References VisionDetectionBalls().
|
inline |
Definition at line 233 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::res_height.
Referenced by VisionDetectionBalls(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 238 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::res_height.
|
inline |
Definition at line 218 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::res_width.
Referenced by VisionDetectionBalls(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 223 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::res_width.
|
inline |
Definition at line 213 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::balls.
|
inline |
Definition at line 208 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::balls, and VISION_DETECTION_BALLS_BALLS_ARRAY_SIZE.
Referenced by from_string().
|
inline |
Definition at line 183 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::frameNumber.
Referenced by from_string().
|
inline |
Definition at line 243 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::res_height.
Referenced by from_string().
|
inline |
Definition at line 228 of file VisionDetectionBalls.hpp.
References wb_vision_detection_balls::res_width.
Referenced by from_string().
|
inline |
USE_WB_VISION_DETECTION_BALLS_C_CONVERSION
Definition at line 282 of file VisionDetectionBalls.hpp.
References balls(), frameNumber(), res_height(), res_width(), to_string(), VISION_DETECTION_BALLS_BALLS_ARRAY_SIZE, VISION_DETECTION_BALLS_TO_STRING_BUFFER_SIZE, and wb_vision_detection_balls_to_string().
Referenced by to_string().