#include <osPipe.h>
Public Member Functions | |
| OSPipe (Pipe *parent) | |
| const std::string & | getErrorMessage () const |
| Pipe * | getPipe () |
| const Pipe * | getPipe () const |
| WGLEWContext * | wglewGetContext () |
Methods forwarded from eq::Pipe | |
| virtual bool | configInit ()=0 |
| Initialize the GPU. | |
| virtual void | configExit ()=0 |
| De-initialize the GPU. | |
Protected Member Functions | |
Error information. | |
| void | setErrorMessage (const std::string &message) |
| Set a message why the last operation failed. | |
Protected Attributes | |
| Pipe *const | _pipe |
| The parent eq::Pipe. | |
| std::string | _error |
| The reason for the last error. | |
| WGLEWContext * | _wglewContext |
| Extended OpenGL function entries - WGL. | |
| union { | |
| char dummy [64] | |
| }; | |
The OSPipe abstracts all pipe system specific code and facilitates porting to new windowing systems. Each Pipe uses one OSPipe, which is initialized in Pipe::configInitOSPipe.
Definition at line 38 of file osPipe.h.
| virtual bool eq::OSPipe::configInit | ( | ) | [pure virtual] |
Initialize the GPU.
Implemented in eq::AGLPipe, eq::GLXPipe, and eq::WGLPipe.
Referenced by eq::Pipe::configInit().
| virtual void eq::OSPipe::configExit | ( | ) | [pure virtual] |
De-initialize the GPU.
Implemented in eq::AGLPipe, eq::GLXPipe, and eq::WGLPipe.
Referenced by eq::Pipe::configExit().
| const std::string& eq::OSPipe::getErrorMessage | ( | ) | const [inline] |
Definition at line 54 of file osPipe.h.
Referenced by eq::Pipe::configInit().
| Pipe* eq::OSPipe::getPipe | ( | ) | [inline] |
| const Pipe* eq::OSPipe::getPipe | ( | ) | const [inline] |
| WGLEWContext* eq::OSPipe::wglewGetContext | ( | ) | [inline] |
Definition at line 63 of file osPipe.h.
Referenced by eq::Pipe::wglewGetContext().
| void eq::OSPipe::setErrorMessage | ( | const std::string & | message | ) | [inline, protected] |
Set a message why the last operation failed.
The message will be transmitted to the originator of the request, for example to Config::init when set from within the configInit method.
| message | the error message. |
Definition at line 76 of file osPipe.h.
Referenced by eq::GLXPipe::configInit(), eq::AGLPipe::configInit(), and eq::WGLPipe::createWGLAffinityDC().
Pipe* const eq::OSPipe::_pipe [protected] |
The parent eq::Pipe.
Definition at line 80 of file osPipe.h.
Referenced by eq::WGLPipe::configExit(), eq::WGLPipe::configInit(), eq::GLXPipe::configInit(), eq::AGLPipe::configInit(), and eq::WGLPipe::createWGLDisplayDC().
std::string eq::OSPipe::_error [protected] |
WGLEWContext* eq::OSPipe::_wglewContext [protected] |
0.9 by
1.5.8