Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

Pantheios Low-level Initialisation Codes


Detailed Description

Status codes for use by the implementors of the various sub-systems, including core, back-ends, front-ends, and so on.


Modules

 Pantheios Core Low-level Initialisation Codes
 Status codes used in the implementation of the core.
 Pantheios Back-End Low-level Initialisation Codes
 Status codes for use by the implementors of back-ends.
 Pantheios Front-End Low-level Initialisation Codes
 Status codes for use by the implementors of front-ends.

Defines

#define PANTHEIOS_INIT_RC_SUCCESS   (0)
 Specifies that the operation completed successfully.
#define PANTHEIOS_INIT_RC_OUT_OF_MEMORY   (-1)
 Specifies that the operation failed due to memory exhaustion.
#define PANTHEIOS_INIT_RC_UNSPECIFIED_EXCEPTION   (-2)
 Specifies that the operation failed because a general, standard-derived, exception was thrown.
#define PANTHEIOS_INIT_RC_UNKNOWN_FAILURE   (-3)
 Specifies that the operation failed because a bespoke, non-standard-derived, exception was thrown; this may indicate a design failure.
#define PANTHEIOS_INIT_RC_UNSPECIFIED_FAILURE   (-4)
 Specifies that the operation failed in an unspecified manner.
#define PANTHEIOS_INIT_RC_NOT_IMPLEMENTED   (-5)
 Specifies that the operation failed because it is not implemented.
#define PANTHEIOS_INIT_RC_CANNOT_CREATE_TSS_INDEX   (-6)
 Specifies that the operation failed because a Thread-Specific Storage key could not be created.
#define PANTHEIOS_INIT_RC_CANNOT_CREATE_THREAD   (-7)
 Specifies that the operation failed because a thread could not be created.


Define Documentation

#define PANTHEIOS_INIT_RC_CANNOT_CREATE_THREAD   (-7)

Specifies that the operation failed because a thread could not be created.

#define PANTHEIOS_INIT_RC_CANNOT_CREATE_TSS_INDEX   (-6)

Specifies that the operation failed because a Thread-Specific Storage key could not be created.

#define PANTHEIOS_INIT_RC_NOT_IMPLEMENTED   (-5)

Specifies that the operation failed because it is not implemented.

#define PANTHEIOS_INIT_RC_OUT_OF_MEMORY   (-1)

Specifies that the operation failed due to memory exhaustion.

Examples:
cpp/custom/example.cpp.custom.wrap_log4cplus/example.cpp.custom.wrap_log4cplus.cpp, cpp/custom/example.cpp.custom.wrap_log4cxx/example.cpp.custom.wrap_log4cxx.cpp, and cpp/misc/example.cpp.misc.extended_severity_information/example.cpp.misc.extended_severity_information.cpp.

#define PANTHEIOS_INIT_RC_SUCCESS   (0)

Specifies that the operation completed successfully.

Examples:
cpp/custom/example.cpp.custom.wrap_log4cplus/example.cpp.custom.wrap_log4cplus.cpp, cpp/custom/example.cpp.custom.wrap_log4cxx/example.cpp.custom.wrap_log4cxx.cpp, and cpp/misc/example.cpp.misc.extended_severity_information/example.cpp.misc.extended_severity_information.cpp.

#define PANTHEIOS_INIT_RC_UNKNOWN_FAILURE   (-3)

Specifies that the operation failed because a bespoke, non-standard-derived, exception was thrown; this may indicate a design failure.

#define PANTHEIOS_INIT_RC_UNSPECIFIED_EXCEPTION   (-2)

Specifies that the operation failed because a general, standard-derived, exception was thrown.

Examples:
cpp/custom/example.cpp.custom.wrap_log4cplus/example.cpp.custom.wrap_log4cplus.cpp, and cpp/custom/example.cpp.custom.wrap_log4cxx/example.cpp.custom.wrap_log4cxx.cpp.

#define PANTHEIOS_INIT_RC_UNSPECIFIED_FAILURE   (-4)

Specifies that the operation failed in an unspecified manner.

Callers may be able to retrieve more specific information from the platform-specific error mechanism (e.g. errno / GetLastError()).


pantheios Library documentation Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo