gusimplewhiteboard
|
Provides a C++ wrapper around wb_top_particles
.
More...
#include <TopParticles.hpp>
Public Member Functions | |
TopParticles (const struct wb_particle_position t_particles[4]=NULLPTR) | |
Create a new TopParticles . More... | |
TopParticles (const TopParticles &t_other) | |
Copy Constructor. More... | |
TopParticles (const struct wb_top_particles &t_other) | |
Copy Constructor. More... | |
TopParticles & | operator= (const TopParticles &t_other) |
Copy Assignment Operator. More... | |
TopParticles & | operator= (const struct wb_top_particles &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const TopParticles &t_other) const |
bool | operator!= (const TopParticles &t_other) const |
bool | operator== (const wb_top_particles &t_other) const |
bool | operator!= (const wb_top_particles &t_other) const |
const ParticlePosition * | particles () const |
size_t | particles_size () const |
ParticlePosition & | particles (int t_i) |
const ParticlePosition & | particles (int t_i) const |
void | set_particles (const ParticlePosition *t_newValue) |
void | set_particles (const ParticlePosition &t_newValue, int t_i) |
TopParticles (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
const ParticlePosition | topParticle () |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Additional Inherited Members | |
![]() | |
struct wb_particle_position | particles [4] |
these 4 should be the constant NUM_TOP_PARTICLES More... | |
Provides a C++ wrapper around wb_top_particles
.
Definition at line 87 of file TopParticles.hpp.
|
inline |
Create a new TopParticles
.
Definition at line 108 of file TopParticles.hpp.
Referenced by operator==().
|
inline |
|
inline |
Copy Constructor.
Definition at line 122 of file TopParticles.hpp.
References wb_top_particles::particles.
|
inline |
|
inline |
USE_WB_TOP_PARTICLES_C_CONVERSION
Definition at line 205 of file TopParticles.hpp.
References description(), particles(), TOPPARTICLES_DESC_BUFFER_SIZE, TOPPARTICLES_PARTICLES_ARRAY_SIZE, and wb_top_particles_description().
Referenced by description().
|
inline |
USE_WB_TOP_PARTICLES_C_CONVERSION
Definition at line 247 of file TopParticles.hpp.
References guWhiteboard::ParticlePosition::from_string(), set_particles(), TOPPARTICLES_DESC_BUFFER_SIZE, and TOPPARTICLES_PARTICLES_ARRAY_SIZE.
Referenced by TopParticles().
|
inline |
Definition at line 151 of file TopParticles.hpp.
|
inline |
Definition at line 161 of file TopParticles.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 137 of file TopParticles.hpp.
References wb_top_particles::particles.
|
inline |
|
inline |
Definition at line 142 of file TopParticles.hpp.
References particles().
|
inline |
Definition at line 156 of file TopParticles.hpp.
References TopParticles().
|
inline |
Definition at line 166 of file TopParticles.hpp.
References wb_top_particles::particles.
Referenced by TopParticles(), description(), operator=(), operator==(), to_string(), and topParticle().
|
inline |
Definition at line 176 of file TopParticles.hpp.
References wb_top_particles::particles.
|
inline |
Definition at line 181 of file TopParticles.hpp.
References wb_top_particles::particles.
|
inline |
Definition at line 171 of file TopParticles.hpp.
References TOPPARTICLES_PARTICLES_ARRAY_SIZE.
|
inline |
Definition at line 191 of file TopParticles.hpp.
References wb_top_particles::particles.
|
inline |
Definition at line 186 of file TopParticles.hpp.
References wb_top_particles::particles, and TOPPARTICLES_PARTICLES_ARRAY_SIZE.
Referenced by from_string().
|
inline |
USE_WB_TOP_PARTICLES_C_CONVERSION
Definition at line 224 of file TopParticles.hpp.
References particles(), to_string(), TOPPARTICLES_PARTICLES_ARRAY_SIZE, TOPPARTICLES_TO_STRING_BUFFER_SIZE, and wb_top_particles_to_string().
Referenced by to_string().
|
inline |
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 401 of file TopParticles.hpp.
References particles().