gusimplewhiteboard
guWhiteboard::gsw_hash_info Struct Reference

Message offset holder. More...

#include <Whiteboard.h>

Collaboration diagram for guWhiteboard::gsw_hash_info:

Public Member Functions

 gsw_hash_info ()
 create object with default value for index More...
 
 gsw_hash_info (int offset)
 create with real index value More...
 

Public Attributes

int msg_offset
 the index value to store More...
 

Detailed Description

Message offset holder.

Allows the user to avoid running the hashing function more than once to get a message offset

Definition at line 103 of file Whiteboard.h.

Constructor & Destructor Documentation

◆ gsw_hash_info() [1/2]

guWhiteboard::gsw_hash_info::gsw_hash_info ( )
inline

create object with default value for index

Definition at line 106 of file Whiteboard.h.

References msg_offset, and NEW_MSG_ID.

◆ gsw_hash_info() [2/2]

guWhiteboard::gsw_hash_info::gsw_hash_info ( int  offset)
inline

create with real index value

Definition at line 108 of file Whiteboard.h.

References msg_offset.

Member Data Documentation

◆ msg_offset


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