gusimplewhiteboard
guWhiteboard::FilteredArrayOneDimBall Class Reference

Class for for the array of ball sighthings TOP or Bottom. More...

#include <FilteredArrayOneDimBall.hpp>

Inheritance diagram for guWhiteboard::FilteredArrayOneDimBall:
Collaboration diagram for guWhiteboard::FilteredArrayOneDimBall:

Public Member Functions

 FilteredArrayOneDimBall ()
 designated constructor More...
 
 FilteredArrayOneDimBall (const class FilteredOneDimObject &obj, enum FilteredVisionObjectType landmarkType=FVOBallTop)
 constructor with one setter More...
 
 FilteredArrayOneDimBall (const FilteredArrayOneDimBall &other)
 copy constructor More...
 
FilteredArrayOneDimBalloperator= (const FilteredArrayOneDimBall &other)
 copy assignment operator More...
 
void set_objects (const class FilteredArrayOneDimBall *t_objects)
 property getter More...
 
void set_object (const class FilteredOneDimObject &obj, enum FilteredVisionObjectType landmarkType=FVOBallTop)
 single vision object setter More...
 
FilteredOneDimObject get_object (enum FilteredVisionObjectType landmarkType=FVOBallTop)
 single vision object setter More...
 
 FilteredArrayOneDimBall (const std::string &names)
 string constructor More...
 
 FilteredArrayOneDimBall (const char *names)
 const char * constructor More...
 
std::string description ()
 convert to a string; string serialization More...
 
void from_string (const std::string &str)
 build from string More...
 
- Public Member Functions inherited from guWhiteboard::FilteredArrayBallSightings
 FilteredArrayBallSightings (const struct wb_filtered_vision_object t_objects[2]=NULLPTR)
 Create a new FilteredArrayBallSightings. More...
 
 FilteredArrayBallSightings (const FilteredArrayBallSightings &t_other)
 Copy Constructor. More...
 
 FilteredArrayBallSightings (const struct wb_filtered_arrayballsightings &t_other)
 Copy Constructor. More...
 
FilteredArrayBallSightingsoperator= (const FilteredArrayBallSightings &t_other)
 Copy Assignment Operator. More...
 
FilteredArrayBallSightingsoperator= (const struct wb_filtered_arrayballsightings &t_other)
 Copy Assignment Operator. More...
 
bool operator== (const FilteredArrayBallSightings &t_other) const
 
bool operator!= (const FilteredArrayBallSightings &t_other) const
 
bool operator== (const wb_filtered_arrayballsightings &t_other) const
 
bool operator!= (const wb_filtered_arrayballsightings &t_other) const
 
const FilteredVisionObjectobjects () const
 
size_t objects_size () const
 
FilteredVisionObjectobjects (int t_i)
 
const FilteredVisionObjectobjects (int t_i) const
 
void set_objects (const FilteredVisionObject *t_newValue)
 
void set_objects (const FilteredVisionObject &t_newValue, int t_i)
 
 FilteredArrayBallSightings (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_filtered_arrayballsightings
struct wb_filtered_vision_object objects [2]
 the array containing filtered balls on separate cameras reported by vision FVO_NUM_CAMERAS =2 More...
 

Detailed Description

Class for for the array of ball sighthings TOP or Bottom.

Definition at line 75 of file FilteredArrayOneDimBall.hpp.

Constructor & Destructor Documentation

◆ FilteredArrayOneDimBall() [1/5]

guWhiteboard::FilteredArrayOneDimBall::FilteredArrayOneDimBall ( )
inline

designated constructor

Definition at line 85 of file FilteredArrayOneDimBall.hpp.

◆ FilteredArrayOneDimBall() [2/5]

guWhiteboard::FilteredArrayOneDimBall::FilteredArrayOneDimBall ( const class FilteredOneDimObject obj,
enum FilteredVisionObjectType  landmarkType = FVOBallTop 
)
inline

constructor with one setter

Definition at line 89 of file FilteredArrayOneDimBall.hpp.

References guWhiteboard::FilteredArrayBallSightings::set_objects().

◆ FilteredArrayOneDimBall() [3/5]

guWhiteboard::FilteredArrayOneDimBall::FilteredArrayOneDimBall ( const FilteredArrayOneDimBall other)
inline

copy constructor

Definition at line 98 of file FilteredArrayOneDimBall.hpp.

◆ FilteredArrayOneDimBall() [4/5]

guWhiteboard::FilteredArrayOneDimBall::FilteredArrayOneDimBall ( const std::string &  names)
inline

string constructor

Definition at line 141 of file FilteredArrayOneDimBall.hpp.

References from_string().

◆ FilteredArrayOneDimBall() [5/5]

guWhiteboard::FilteredArrayOneDimBall::FilteredArrayOneDimBall ( const char *  names)
inline

const char * constructor

Definition at line 144 of file FilteredArrayOneDimBall.hpp.

References from_string().

Member Function Documentation

◆ description()

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

◆ from_string()

void guWhiteboard::FilteredArrayOneDimBall::from_string ( const std::string &  str)
inline

build from string

Definition at line 170 of file FilteredArrayOneDimBall.hpp.

References BOTTM_ID, FVOBallBottom, FVOBallTop, SEPARATOR_IS_COLON, set_object(), and TOP_ID.

Referenced by FilteredArrayOneDimBall().

◆ get_object()

FilteredOneDimObject guWhiteboard::FilteredArrayOneDimBall::get_object ( enum FilteredVisionObjectType  landmarkType = FVOBallTop)
inline

single vision object setter

Definition at line 133 of file FilteredArrayOneDimBall.hpp.

References guWhiteboard::FilteredArrayBallSightings::objects().

Referenced by description().

◆ operator=()

FilteredArrayOneDimBall & guWhiteboard::FilteredArrayOneDimBall::operator= ( const FilteredArrayOneDimBall other)
inline

copy assignment operator

Definition at line 107 of file FilteredArrayOneDimBall.hpp.

◆ set_object()

void guWhiteboard::FilteredArrayOneDimBall::set_object ( const class FilteredOneDimObject obj,
enum FilteredVisionObjectType  landmarkType = FVOBallTop 
)
inline

single vision object setter

Definition at line 127 of file FilteredArrayOneDimBall.hpp.

References guWhiteboard::FilteredArrayBallSightings::set_objects().

Referenced by from_string().

◆ set_objects()

void guWhiteboard::FilteredArrayOneDimBall::set_objects ( const class FilteredArrayOneDimBall t_objects)
inline

property getter

property setter

Parameters
t_objectssetter object

Definition at line 121 of file FilteredArrayOneDimBall.hpp.

References guWhiteboard::FilteredArrayBallSightings::objects(), and wb_filtered_arrayballsightings::objects.


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