Equalizer 1.0

include/eq/error.h

00001 
00002 /* Copyright (c) 2010, Stefan Eilemann <eile@eyescale.ch> 
00003  *
00004  * This library is free software; you can redistribute it and/or modify it under
00005  * the terms of the GNU Lesser General Public License version 2.1 as published
00006  * by the Free Software Foundation.
00007  *  
00008  * This library is distributed in the hope that it will be useful, but WITHOUT
00009  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00010  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00011  * details.
00012  * 
00013  * You should have received a copy of the GNU Lesser General Public License
00014  * along with this library; if not, write to the Free Software Foundation, Inc.,
00015  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00016  */
00017 
00018 #ifndef EQ_ERROR_H
00019 #define EQ_ERROR_H
00020 
00021 #include <eq/fabric/error.h>
00022 
00023 namespace eq
00024 {
00025     using fabric::ERROR_NONE;
00026 
00028     enum Error
00029     {
00030         ERROR_FBO_UNSUPPORTED = fabric::ERROR_CUSTOM,
00031         ERROR_FRAMEBUFFER_UNSUPPORTED,
00032         ERROR_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT,
00033         ERROR_FRAMEBUFFER_INCOMPLETE_ATTACHMENT,
00034         ERROR_FRAMEBUFFER_INCOMPLETE_DIMENSIONS,
00035         ERROR_FRAMEBUFFER_INCOMPLETE_FORMATS,
00036         ERROR_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER,
00037         ERROR_FRAMEBUFFER_INCOMPLETE_READ_BUFFER,
00038         ERROR_FRAMEBUFFER_FULL_COLOR_TEXTURES,
00039         ERROR_FRAMEBUFFER_INITIALIZED,
00040 
00041         ERROR_CUDACONTEXT_DEVICE_NOTFOUND,
00042         ERROR_CUDACONTEXT_INIT_FAILED,
00043         ERROR_CUDACONTEXT_MISSING_SUPPORT,
00044 
00045         ERROR_WINDOWSYSTEM_UNKNOWN,
00046 
00047         ERROR_NODE_LAUNCH,
00048         ERROR_NODE_CONNECT,
00049 
00050         ERROR_PIPE_NODE_NOTRUNNING,
00051 
00052         ERROR_SYSTEMPIPE_PIXELFORMAT_NOTFOUND,
00053         ERROR_SYSTEMPIPE_CREATECONTEXT_FAILED,
00054         ERROR_SYSTEMPIPE_CREATEWINDOW_FAILED,
00055 
00056         ERROR_AGLPIPE_DISPLAYS_NOTFOUND,
00057         ERROR_AGLPIPE_DEVICE_NOTFOUND,
00058 
00059         ERROR_GLXPIPE_DEVICE_NOTFOUND,
00060         ERROR_GLXPIPE_GLX_NOTFOUND,
00061         ERROR_GLXPIPE_GLXEWINIT_FAILED,
00062 
00063         ERROR_WGL_CREATEAFFINITYDC_FAILED,
00064         ERROR_WGLPIPE_ENUMDISPLAYS_FAILED,
00065         ERROR_WGLPIPE_CREATEDC_FAILED,
00066         ERROR_WGLPIPE_ENUMGPUS_FAILED,
00067         ERROR_WGLPIPE_REGISTERCLASS_FAILED,
00068         ERROR_WGLPIPE_SETPF_FAILED,
00069         ERROR_WGLPIPE_WGLEWINIT_FAILED,
00070 
00071         ERROR_WINDOW_PIPE_NOTRUNNING,
00072         ERROR_WINDOW_PVP_INVALID,
00073 
00074         ERROR_SYSTEMWINDOW_PIXELFORMAT_NOTFOUND,
00075         ERROR_SYSTEMWINDOW_NO_PIXELFORMAT,
00076         ERROR_SYSTEMWINDOW_ARB_FLOAT_FB_REQUIRED,
00077 
00078         ERROR_AGLWINDOW_NO_CONTEXT,
00079         ERROR_AGLWINDOW_CREATECONTEXT_FAILED,
00080         ERROR_AGLWINDOW_CREATEPBUFFER_FAILED,
00081         ERROR_AGLWINDOW_SETPBUFFER_FAILED,
00082         ERROR_AGLWINDOW_CREATEWINDOW_FAILED,
00083         ERROR_AGLWINDOW_SETWINDOW_FAILED,
00084 
00085         ERROR_GLXWINDOW_NO_DRAWABLE,
00086         ERROR_GLXWINDOW_NO_DISPLAY,
00087         ERROR_GLXWINDOW_CREATECONTEXT_FAILED,
00088         ERROR_GLXWINDOW_CREATEWINDOW_FAILED,
00089         ERROR_GLXWINDOW_GLXQUERYVERSION_FAILED,
00090         ERROR_GLXWINDOW_GLX_1_3_REQUIRED,
00091         ERROR_GLXWINDOW_NO_FBCONFIG,
00092         ERROR_GLXWINDOW_NO_VISUAL,
00093         ERROR_GLXWINDOW_CREATEPBUFFER_FAILED,
00094         ERROR_GLXWINDOW_FBCONFIG_REQUIRED,
00095 
00096         ERROR_WGLWINDOW_NO_DRAWABLE,
00097         ERROR_WGLWINDOW_SETPIXELFORMAT_FAILED,
00098         ERROR_WGLWINDOW_REGISTERCLASS_FAILED,
00099         ERROR_WGLWINDOW_FULLSCREEN_FAILED,
00100         ERROR_WGLWINDOW_CREATEWINDOW_FAILED,
00101         ERROR_WGLWINDOW_ARB_PBUFFER_REQUIRED,
00102         ERROR_WGLWINDOW_CREATEPBUFFER_FAILED,
00103         ERROR_WGLWINDOW_SETAFFINITY_PF_FAILED,
00104         ERROR_WGLWINDOW_CHOOSE_PF_ARB_FAILED,
00105         ERROR_WGLWINDOW_CREATECONTEXT_FAILED,
00106 
00107         ERROR_CHANNEL_WINDOW_NOTRUNNING,
00108 
00109         ERROR_CUSTOM = EQ_128KB
00110     };
00111 
00113     inline std::ostream& operator << ( std::ostream& os, const Error& error)
00114         { os << fabric::Error( error ); return os; }
00115 }
00116 #endif // EQ_ERROR_H
Generated on Sun May 8 2011 19:11:05 for Equalizer 1.0 by  doxygen 1.7.3