|
gusimplewhiteboard
|
WB Ptr Class: Arduino4PinValue_t. More...
#include <guwhiteboardtypelist_generated.h>
Public Member Functions | |
| Arduino4PinValue_t (gu_simple_whiteboard_descriptor *wbd=NULLPTR) | |
| Constructor: Arduino4PinValue_t. More... | |
| Arduino4PinValue_t (bool 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< bool > | |
| 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 bool &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_Arduino4PinValue_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 |
WB Ptr Class: Arduino4PinValue_t.
The value of the 4 pin for the arduino.
Definition at line 2387 of file guwhiteboardtypelist_generated.h.
|
inline |
Constructor: Arduino4PinValue_t.
Definition at line 2390 of file guwhiteboardtypelist_generated.h.
|
inline |
Convenience constructor for non-class types.
Pass a value and it'll be set in the Whiteboard: Arduino4PinValue_t
Definition at line 2392 of file guwhiteboardtypelist_generated.h.
|
inline |
Definition at line 2396 of file guwhiteboardtypelist_generated.h.
References generic_whiteboard_object< object_type >::_wbd, gsw_simple_whiteboard_s::event_counters, slot, and gsw_whiteboard_s::wb.
|
static |
Definition at line 2394 of file guwhiteboardtypelist_generated.h.
Referenced by eventCounter().