3#include <NDEVR/Buffer.h>
4#include <NDEVR/TranslatedString.h>
The equivelent of std::vector but with a bit more control.
Stores a collection of translated messages and provides random selection from them.
void addMessage(const TranslatedString &message)
Adds a single translated message to the collection.
TranslatedString randomMessage() const
Selects and returns a random message from the stored collection.
static RandomMessageGenerator & Default()
Returns the singleton default RandomMessageGenerator instance.
void addAll(const RandomMessageGenerator &messages)
Appends all messages from another RandomMessageGenerator into this one.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.