Equalizer  1.4.1
include/eq/client/agl/pipe.h
00001 
00002 /* Copyright (c) 2009-2012, Stefan Eilemann <eile@equalizergraphics.com>
00003                       2009, Maxim Makhinya
00004  *
00005  * This library is free software; you can redistribute it and/or modify it under
00006  * the terms of the GNU Lesser General Public License version 2.1 as published
00007  * by the Free Software Foundation.
00008  *  
00009  * This library is distributed in the hope that it will be useful, but WITHOUT
00010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00012  * details.
00013  * 
00014  * You should have received a copy of the GNU Lesser General Public License
00015  * along with this library; if not, write to the Free Software Foundation, Inc.,
00016  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00017  */
00018 
00019 #ifndef EQ_AGL_PIPE_H
00020 #define EQ_AGL_PIPE_H
00021 
00022 #include <eq/client/defines.h>
00023 #ifdef AGL
00024 
00025 #include <eq/client/agl/types.h>
00026 #include <eq/client/systemPipe.h> // base class
00027 
00028 namespace eq
00029 {
00030 namespace agl
00031 {
00038     class Pipe : public SystemPipe
00039     {
00040     public:
00042         Pipe( eq::Pipe* parent );
00043 
00045         virtual ~Pipe( );
00046 
00055         virtual bool configInit( );
00056 
00063         virtual void configExit( );
00065 
00067         CGDirectDisplayID getCGDisplayID() const { return _cgDisplayID; }
00068 
00069     private:
00070 
00081         void _setCGDisplayID( CGDirectDisplayID id );
00083 
00085         CGDirectDisplayID _cgDisplayID;
00086 
00087         struct Private;
00088         Private* _private; // placeholder for binary-compatible changes
00089     };
00090 }
00091 }
00092 #endif // AGL
00093 #endif // EQ_AGL_PIPE_H
Generated on Mon Nov 26 2012 14:41:49 for Equalizer 1.4.1 by  doxygen 1.7.6.1