creativity  v1.3.0
Agent-based model of creativity and piracy
Public Attributes | List of all members
creativity::gui::GUI::Parameter Struct Reference

The parameter struct for passing a configured value back from the GUI. More...

#include <creativity/gui/GUI.hpp>

Public Attributes

ParamType param
 The parameter type.
 
union {
   bool   bl
 
   unsigned long   ul
 
   long   l
 
   unsigned int   ui
 
   int   i
 
   double   dbl
 
   std::chrono::milliseconds   dur_ms
 
   void *   ptr
 
}; 
 A value of various primitive types.
 

Detailed Description

The parameter struct for passing a configured value back from the GUI.

The GUI always sends a begin followed by zero or more settings then either erred or finished (the former if one or more exceptions occurred in the settings, the latter if no exceptions occurred).


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