gusimplewhiteboard
guwhiteboardgetter.h
Go to the documentation of this file.
1
9#ifndef WB_GUWHITEBOARDGETTER_H
10#define WB_GUWHITEBOARDGETTER_H
11
14#include "guwhiteboardposter.h"
15
16#ifdef __cplusplus
17extern "C"
18{
19#endif
20
26char *whiteboard_get(const char *message_type, gu_simple_message *msg);
27
33char *whiteboard_get_from(gu_simple_whiteboard_descriptor *wbd, const char *message_type);
34
40char *whiteboard_getmsg(int message_index, gu_simple_message *msg);
41
47char *whiteboard_getmsg_from(gu_simple_whiteboard_descriptor *wbd, int message_index);
48
49#ifdef __cplusplus
50} // extern "C"
51
52namespace guWhiteboard {
53
62 std::string getmsg(std::string message_type, gu_simple_message *msg = NULLPTR, gu_simple_whiteboard_descriptor *wbd = NULLPTR);
63
72 std::string getmsg(guWhiteboard::wb_types message_index, gu_simple_message *msg = NULLPTR, gu_simple_whiteboard_descriptor *wbd = NULLPTR);
73
74} // guWhiteboard
75
76#endif // __cplusplus
77
78#endif //WB_GUWHITEBOARDGETTER_H
char * whiteboard_get(const char *message_type, gu_simple_message *msg)
/file guwhiteboardgetter.h
char * whiteboard_getmsg_from(gu_simple_whiteboard_descriptor *wbd, int message_index)
Generic C function that gets a message with a given message number from the given whiteboard.
char * whiteboard_get_from(gu_simple_whiteboard_descriptor *wbd, const char *message_type)
A generic C function that gets a message from the given whiteboard.
char * whiteboard_getmsg(int message_index, gu_simple_message *msg)
Generic C function that gets a message with a given message number from the whiteboard.
/file APM_Interface.h
typedef::wb_types wb_types
string getmsg(string message_type, gu_simple_message *msg, gu_simple_whiteboard_descriptor *wbd)
A generic C++ function that gets a string from the whiteboard.
the underlying whiteboard object
union type that is used to store data in shared memory