kameloso.constants

A collection of constants used throughout the program.

This acts as a compile-time configuration file to reduce ad-hoc magic numbers.

Members

Enums

BufferSize
enum BufferSize

Buffer sizes in bytes.

ConnectionDefaultFloats
enum ConnectionDefaultFloats

Connection defaults, floating point version.

ConnectionDefaultIntegers
enum ConnectionDefaultIntegers

Connection defaults, integers version.

KamelosoDefaultIntegers
enum KamelosoDefaultIntegers

Kameloso defaults, integers version.

KamelosoDefaults
enum KamelosoDefaults

Kameloso defaults, strings version.

KamelosoFilenames
enum KamelosoFilenames

Kameloso filenames.

KamelosoInfo
enum KamelosoInfo

Meta-information about the program.

MagicErrorStrings
enum MagicErrorStrings

Hardcoded error strings.

Periodicals
enum Periodicals

Timings and timeouts of various periodical events.

ShellReturnValue
enum ShellReturnValue

Magic number shell exit codes.

Timeout
enum Timeout

Various timeouts, in seconds unless specified otherwise.

Structs

DefaultColours
struct DefaultColours

Default colours gathered in one struct namespace.

Meta