gusimplewhiteboard
guWhiteboard::IOPins_t Class Reference

WB Ptr Class: IOPins_t. More...

#include <guwhiteboardtypelist_generated.h>

Inheritance diagram for guWhiteboard::IOPins_t:
Collaboration diagram for guWhiteboard::IOPins_t:

Public Member Functions

 IOPins_t (gu_simple_whiteboard_descriptor *wbd=NULLPTR)
 Constructor: IOPins_t. More...
 
uint16_t eventCounter () const
 
- Public Member Functions inherited from wb_generic_whiteboard_object< class IOPins >
 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 class IOPins &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_IOPins_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: IOPins_t.

Arduino-style I/O pins

Definition at line 1061 of file guwhiteboardtypelist_generated.h.

Constructor & Destructor Documentation

◆ IOPins_t()

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

Constructor: IOPins_t.

Definition at line 1064 of file guwhiteboardtypelist_generated.h.

Member Function Documentation

◆ eventCounter()

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

Member Data Documentation

◆ slot

const wb_types guWhiteboard::IOPins_t::slot = kwb_IOPins_v
static

Definition at line 1067 of file guwhiteboardtypelist_generated.h.

Referenced by eventCounter().


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