gusimplewhiteboard
guWhiteboard::ManuallyPenalized_t Class Reference

WB Ptr Class: ManuallyPenalized_t. More...

#include <guwhiteboardtypelist_generated.h>

Inheritance diagram for guWhiteboard::ManuallyPenalized_t:
Collaboration diagram for guWhiteboard::ManuallyPenalized_t:

Public Member Functions

 ManuallyPenalized_t (gu_simple_whiteboard_descriptor *wbd=NULLPTR)
 Constructor: ManuallyPenalized_t. More...
 
 ManuallyPenalized_t (int8_t value, gu_simple_whiteboard_descriptor *wbd=NULLPTR)
 Convenience constructor for non-class types. More...
 
uint16_t eventCounter () const
 
- Public Member Functions inherited from wb_generic_whiteboard_object< int8_t >
 wb_generic_whiteboard_object (gu_simple_whiteboard_descriptor *wbd, uint16_t toffs, bool want_atomic=true, bool do_notify_subscribers=true)
 designated constructor More...
 
 wb_generic_whiteboard_object (const int8_t &value, uint16_t toffs, gu_simple_whiteboard_descriptor *wbd=NULLPTR, bool want_atomic=true)
 value conversion reference constructor More...
 
void init (uint16_t toffs, gu_simple_whiteboard_descriptor *wbd=NULLPTR, bool want_atomic=true, bool do_notify_subscribers=true)
 intialiser (called from constructors) This is specific to a custom whiteboard, this way the default singleton whiteboard is correct. More...
 
- Public Member Functions inherited from generic_whiteboard_object< object_type >
 generic_whiteboard_object (gu_simple_whiteboard_descriptor *wbd, uint16_t toffs, bool want_atomic=true, bool do_notify_subscribers=true)
 designated constructor More...
 
 generic_whiteboard_object (const generic_whiteboard_object< object_type > &source)
 copy constructor More...
 
 generic_whiteboard_object (const object_type &value, uint16_t toffs, gu_simple_whiteboard_descriptor *wbd=NULLPTR, bool want_atomic=true)
 value conversion reference constructor (needs to be overridden by subclasses to set toffs to be useful) More...
 
void init (uint16_t toffs, gu_simple_whiteboard_descriptor *wbd=NULLPTR, bool want_atomic=true, bool do_notify_subscribers=true)
 intialiser (called from constructors) More...
 
void set (const object_type &msg)
 designated setter for posting whiteboard messages More...
 
object_type get ()
 designated getter for getting a whiteboard message More...
 
object_type get_from (gu_simple_message *msg)
 access method to get data from an existing, low-level message More...
 
void post (const object_type &msg)
 post method (calls set()) More...
 
const object_type & operator<< (const object_type &value)
 shift left operator (calls set()) More...
 
generic_whiteboard_object< object_type > & operator>> (object_type &value)
 shift right operator (calls get()) More...
 
const object_type & operator= (const object_type &value)
 assignment operator (calls set()) More...
 
object_type operator= (object_type value)
 assignment copy operator (calls set()) More...
 
 operator object_type ()
 cast operator (calls get()) More...
 
object_type operator() ()
 empty function operator (calls get()) More...
 
void operator() (object_type value)
 function operator with object_type copy parameter (calls set()) More...
 
bool hasNewMessage ()
 
void set (const std::string &msg)
 Generic object method for setting data into a specific whiteboard type. More...
 
void set (const std::vector< int > &msg)
 Generic object method for setting data into a specific whiteboard type. More...
 
void set (const std::vector< bool > &msg)
 Generic object method for setting data into a specific whiteboard type. More...
 
std::string get_from (gu_simple_message *msg)
 Generic object method for unwrapping data from the underlying whiteboard storage union. More...
 
std::vector< int > get_from (gu_simple_message *msg)
 Generic object method for unwrapping data from the underlying whiteboard storage union. More...
 
std::vector< bool > get_from (gu_simple_message *msg)
 Generic object method for unwrapping data from the underlying whiteboard storage union. More...
 
std::string get_from (gu_simple_message *msg)
 Generic object method for unwrapping data from the underlying whiteboard storage union. More...
 
std::vector< int > get_from (gu_simple_message *msg)
 Generic object method for unwrapping data from the underlying whiteboard storage union. More...
 
std::vector< bool > get_from (gu_simple_message *msg)
 Generic object method for unwrapping data from the underlying whiteboard storage union. More...
 
void set (const std::string &msg)
 Generic object method for setting data into a specific whiteboard type. More...
 
void set (const std::vector< int > &msg)
 Generic object method for setting data into a specific whiteboard type. More...
 
void set (const std::vector< bool > &msg)
 Generic object method for setting data into a specific whiteboard type. More...
 

Static Public Attributes

static const wb_types slot = kwb_ManuallyPenalized_v
 

Additional Inherited Members

- Protected Attributes inherited from generic_whiteboard_object< object_type >
gu_simple_whiteboard_descriptor_wbd
 
uint16_t type_offset
 
bool atomic
 
bool notify_subscribers
 
uint16_t last_count = 0
 
bool isFirst = true
 

Detailed Description

WB Ptr Class: ManuallyPenalized_t.

what player number is this robot wearing at RoboCup in its back whn manually penalized, from GameController FSM sent to the UDPreceiver to forward to the JAVA referee

Definition at line 450 of file guwhiteboardtypelist_generated.h.

Constructor & Destructor Documentation

◆ ManuallyPenalized_t() [1/2]

guWhiteboard::ManuallyPenalized_t::ManuallyPenalized_t ( gu_simple_whiteboard_descriptor wbd = NULLPTR)
inline

Constructor: ManuallyPenalized_t.

Definition at line 453 of file guwhiteboardtypelist_generated.h.

◆ ManuallyPenalized_t() [2/2]

guWhiteboard::ManuallyPenalized_t::ManuallyPenalized_t ( int8_t  value,
gu_simple_whiteboard_descriptor wbd = NULLPTR 
)
inline

Convenience constructor for non-class types.

Pass a value and it'll be set in the Whiteboard: ManuallyPenalized_t

Definition at line 455 of file guwhiteboardtypelist_generated.h.

Member Function Documentation

◆ eventCounter()

uint16_t guWhiteboard::ManuallyPenalized_t::eventCounter ( ) const
inline

Member Data Documentation

◆ slot

const wb_types guWhiteboard::ManuallyPenalized_t::slot = kwb_ManuallyPenalized_v
static

Definition at line 457 of file guwhiteboardtypelist_generated.h.

Referenced by eventCounter().


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