SGCT
master (487fac4)
Simple Graphics Cluster Toolkit
Toggle main menu visibility
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1
/*****************************************************************************************
2
* SGCT *
3
* Simple Graphics Cluster Toolkit *
4
* *
5
* Copyright (c) 2012-2026 *
6
* For conditions of distribution and use, see copyright notice in LICENSE.md *
7
****************************************************************************************/
8
9
#ifndef __SGCT__ERROR__H__
10
#define __SGCT__ERROR__H__
11
12
#include <sgct/sgctexports.h>
13
14
#include <stdexcept>
15
#include <string>
16
17
namespace
sgct
{
18
19
struct
SGCT_EXPORT
Error
final :
public
std::runtime_error {
20
enum class
Component
{
21
Config,
22
CorrectionMesh
,
23
DomeProjection,
24
Engine
,
25
Image
,
26
Network
,
27
OBJ,
28
PaulBourke,
29
Pfm,
30
ReadConfig,
31
Scalable,
32
SCISS,
33
Shader,
34
SimCAD,
35
SkySkan,
36
Window
37
};
38
39
Error
(
Component
comp,
int
c, std::string msg);
40
~Error
() noexcept override;
41
42
const
Component
component
;
43
const
int
code
;
44
const std::
string
message
;
45
};
46
47
}
// namespace sgct
48
49
#endif
// __SGCT__ERROR__H__
sgct::CorrectionMesh
Helper class for reading and rendering a correction mesh.
Definition
correctionmesh.h:26
sgct::Engine
The Engine class is the central part of SGCT and handles most of the callbacks, rendering,...
Definition
engine.h:71
sgct::Image
Definition
image.h:19
sgct::Network
Network manages peer-to-peer tcp connections.
Definition
network.h:35
sgct::Window
Definition
window.h:46
sgct
Definition
actions.h:16
sgct::Error::message
const std::string message
Definition
error.h:44
sgct::Error::Component
Component
Definition
error.h:20
sgct::Error::Error
Error(Component comp, int c, std::string msg)
sgct::Error::code
const int code
Definition
error.h:43
sgct::Error::component
const Component component
Definition
error.h:42
sgct::Error::~Error
~Error() noexcept override
sgct
error.h
Generated by
1.18.0