Developer Application Interface (ARC API) v4.5.8
ARC, Inc. GenIV Application Interface
ArcErrorDefs.h
1// +------------------------------------------------------------------------------------------------------------------+
2// | FILE: ArcErrorDefs.h ( GenIV ) |
3// +------------------------------------------------------------------------------------------------------------------+
4// | PURPOSE: This file defines the controller error codes returned when a command status returns cmds_e::EROR |
5// | |
6// | AUTHOR: Scott Streit DATE: Feb 26, 2020 |
7// | |
8// | Copyright 2020 Astronomical Research Cameras, Inc. All rights reserved. |
9// +------------------------------------------------------------------------------------------------------------------+
12#pragma once
13
14
15#ifdef __cplusplus
16
17 #include <array>
18
19 namespace arc
20 {
21 namespace gen4
22 {
23
24#endif
25
26
50#ifdef __cplusplus
51 enum class errorCodes_e : std::uint32_t
52#else
53 typedef enum errorCodesType
54#endif
55 {
56 eNoError = 0,
66#ifdef __cplusplus
67 };
68#else
69 } errorCodes_e;
70#endif
71
72
73#ifdef __cplusplus
74
76 extern const std::array<const std::string, static_cast< size_t >( errorCodes_e::eErrorCodeCount )> sErrorCodeDetails;
77
78#endif
79
80
81#ifdef __cplusplus
82
83 } // end gen4 namespace
84 } // end arc namespace
85
86#endif
Definition: CArcBase.h:50