Program Listing for File exception_handler_pos.hpp

Return to documentation for file (/tmp/ws/src/ecl_core/ecl_devices/include/ecl/devices/detail/exception_handler_pos.hpp)

/*****************************************************************************
** Ifdefs
*****************************************************************************/

#ifndef ECL_DEVICES_EXCEPTION_HANDLER_POS_HPP_
#define ECL_DEVICES_EXCEPTION_HANDLER_POS_HPP_

/*****************************************************************************
** Cross Platform Check
*****************************************************************************/

#include <ecl/config/ecl.hpp>

/*****************************************************************************
** Includes
*****************************************************************************/

#include <string>
#include <ecl/exceptions/standard_exception.hpp>

/*****************************************************************************
** Namespaces
*****************************************************************************/

namespace ecl {
namespace devices {

/*****************************************************************************
** Methods
*****************************************************************************/

StandardException open_exception(const char* loc, const std::string& file_name);
StandardException close_exception(const char* loc, const std::string& file_name);
StandardException sync_exception(const char* loc, const std::string& file_name);
StandardException write_exception(const char* loc);
StandardException read_exception(const char* loc);

} // namespace devices
} // namespace ecl

#endif /* ECL_DEVICES_EXCEPTION_HANDLER_POS_HPP_ */