gusimplewhiteboard
callback_helper Struct Reference

An internal stuct for passing callback information to dispatch queues. More...

#include <guwhiteboardwatcher.h>

Collaboration diagram for callback_helper:

Public Member Functions

 callback_helper (gu_simple_whiteboard *w, int o, WBFunctorBase *d, uint16_t t, bool use_t, uint8_t gen)
 Constructor. More...
 
 callback_helper (Whiteboard *s, gu_simple_whiteboard *w, int o, int c, const Whiteboard::callback_descr &d)
 

Public Attributes

gu_simple_whiteboardwb
 wb pointer More...
 
WBFunctorBasef
 callback functor pointer More...
 
int offs
 type offset in shared memory, aka type enum value More...
 
uint16_t t_overwrite
 the type offset / enum value to 'fake' see comment for 'use_type_overwrite' More...
 
bool use_type_overwrite
 use the type overwrite of WBFunctor (used by the simpleposter to 'fake' messages without a huge amount of generated code) More...
 
uint8_t gen_to_use
 the message generation slot that contains the data for this callback More...
 
Whiteboardself
 
int curr
 
Whiteboard::callback_descr descr
 

Detailed Description

An internal stuct for passing callback information to dispatch queues.

Definition at line 57 of file guwhiteboardwatcher.h.

Constructor & Destructor Documentation

◆ callback_helper() [1/2]

callback_helper::callback_helper ( gu_simple_whiteboard w,
int  o,
WBFunctorBase d,
uint16_t  t,
bool  use_t,
uint8_t  gen 
)
inline

Constructor.

Definition at line 67 of file guwhiteboardwatcher.h.

◆ callback_helper() [2/2]

callback_helper::callback_helper ( Whiteboard s,
gu_simple_whiteboard w,
int  o,
int  c,
const Whiteboard::callback_descr d 
)
inline

Definition at line 254 of file Whiteboard.cc.

Member Data Documentation

◆ curr

int callback_helper::curr

Definition at line 251 of file Whiteboard.cc.

◆ descr

Whiteboard::callback_descr callback_helper::descr

Definition at line 252 of file Whiteboard.cc.

◆ f

WBFunctorBase* callback_helper::f

callback functor pointer

Definition at line 60 of file guwhiteboardwatcher.h.

◆ gen_to_use

uint8_t callback_helper::gen_to_use

the message generation slot that contains the data for this callback

Definition at line 64 of file guwhiteboardwatcher.h.

◆ offs

int callback_helper::offs

type offset in shared memory, aka type enum value

Definition at line 61 of file guwhiteboardwatcher.h.

◆ self

Whiteboard* callback_helper::self

Definition at line 249 of file Whiteboard.cc.

◆ t_overwrite

uint16_t callback_helper::t_overwrite

the type offset / enum value to 'fake' see comment for 'use_type_overwrite'

Definition at line 62 of file guwhiteboardwatcher.h.

◆ use_type_overwrite

bool callback_helper::use_type_overwrite

use the type overwrite of WBFunctor (used by the simpleposter to 'fake' messages without a huge amount of generated code)

Definition at line 63 of file guwhiteboardwatcher.h.

◆ wb

gu_simple_whiteboard * callback_helper::wb

wb pointer

Definition at line 59 of file guwhiteboardwatcher.h.


The documentation for this struct was generated from the following files: