Libzeug is a collection of C++ functions, classes and libraries that are too small to be standalone. It acts like a storage point for useful and reusable code for everyone using C++. Libzeug is a cross-platform library licenced under the MIT license.
The current modules in libzeug are:
The latest release is libzeug-v0.5.0.
Our wiki contains information to help you get started.
ToDo
A first basic libzeug documentation can be found here.
The following dev-libraries and programs need to be provided for correct CMake configuration:
iozeug contains a function to read a file into an std::string.
loggingzeug provides stream like logging functionality with customizable outputs (default output is to the console).
propertyguizeug contains the automatic generation of a GUI from a set of properties from reflectionzeug.
reflectionzeug allows the definition of properties that can be used to parameterize a program.
It supports saving and loading properties to and from a file.
The currently implemented property types are bool
, float
, double
, std::string
, FilePath
, Color
, every integral type, user-defined enums and glm types. Every prior type can be wrapped in an std::array
. You can extend reflectionzeug and add your own types.
scriptzeug offers a scripting environment to which one can register reflectionzeug objects that then can be manipulated within a scripting language. Currently implemented as scripting environment is Javascript, both with V8 (must be compiled and provided externally) and Duktape (default, included in scriptzeug).
signalzeug is a small library that provides classes for a simple signal system. Objects can define signals they can fire and other objects can register on those signals. Arbitrary parameters and even signal chaining are allowed.
threadingzeug provides a parallel_for
function that uses either OpenMP or the std::thread
classes to execute a for loop concurrently.