|

INTRODUCTION
Overview
Download and Install
Documentation
Publications
REPOSITORY
Libraries
DEVELOPER
Dev Guide
Dashboard
PEOPLE
Contributors
Users

Project
Download
Mailing lists
|
|
|
11#ifndef GBXUTILACFR_EXCEPTIONS_H
12#define GBXUTILACFR_EXCEPTIONS_H
15 #if defined (GBXUTILACFR_STATIC)
16 #define GBXUTILACFR_EXPORT
17 #elif defined (GBXUTILACFR_EXPORTS)
18 #define GBXUTILACFR_EXPORT __declspec (dllexport)
20 #define GBXUTILACFR_EXPORT __declspec (dllimport)
23 #define GBXUTILACFR_EXPORT
33#ifndef ERROR_MACROS_HPP_
34#define ERROR_MACROS_HPP_
36#if defined(STRINGIZE_HELPER) || defined(STRINGIZE) || defined(ERROR_INFO)
37# error GbxUtilAcfr error macros have already been defined elsewhere
40#define STRINGIZE_HELPER(exp) #exp
41#define STRINGIZE(exp) STRINGIZE_HELPER(exp)
43#define ERROR_INFO __FILE__, STRINGIZE(__LINE__)
65class GBXUTILACFR_EXPORT Exception : public std::exception
68 Exception( const char *file, const char *line, const std::string &message);
72 virtual const char* what() const throw() { return message_.c_str(); }
75 std::string toMessageString( const char *file, const char *line, const std::string &message ) const;
79std::string basename( const std::string &s );
80std::string dirname( const std::string &s );
Base class for all GbxUtilAcfr exceptions. Definition: gbxutilacfr/exceptions.h:66
This exception is raised when something is wrong with the hardware. Definition: gbxutilacfr/exceptions.h:84
ACFR utilities. Definition: gbxnovatelacfr/driver.h:24
|
|