exception_handler_pos.hpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Ifdefs
00010 *****************************************************************************/
00011 
00012 #ifndef ECL_DEVICES_EXCEPTION_HANDLER_POS_HPP_
00013 #define ECL_DEVICES_EXCEPTION_HANDLER_POS_HPP_
00014 
00015 /*****************************************************************************
00016 ** Cross Platform Check
00017 *****************************************************************************/
00018 
00019 #include <ecl/config/ecl.hpp>
00020 #ifdef ECL_IS_POSIX
00021 
00022 /*****************************************************************************
00023 ** Includes
00024 *****************************************************************************/
00025 
00026 #include <string>
00027 #include <ecl/exceptions/standard_exception.hpp>
00028 
00029 /*****************************************************************************
00030 ** Namespaces
00031 *****************************************************************************/
00032 
00033 namespace ecl {
00034 namespace devices {
00035 
00036 /*****************************************************************************
00037 ** Methods
00038 *****************************************************************************/
00039 
00047 StandardException open_exception(const char* loc, const std::string& file_name);
00055 StandardException close_exception(const char* loc, const std::string& file_name);
00063 StandardException sync_exception(const char* loc, const std::string& file_name);
00070 StandardException write_exception(const char* loc);
00077 StandardException read_exception(const char* loc);
00078 
00079 } // namespace devices
00080 } // namespace ecl
00081 
00082 #endif /* ECL_IS_POSIX */
00083 #endif /* ECL_DEVICES_EXCEPTION_HANDLER_POS_HPP_ */


ecl_devices
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:12:50