aglPipe.h

00001 
00002 /* Copyright (c) 2009, Stefan Eilemann <eile@equalizergraphics.com>
00003                      , 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_OS_PIPE_AGL_H
00020 #define EQ_OS_PIPE_AGL_H
00021 
00022 #include <eq/client/osPipe.h> // base class
00023 #include <eq/client/os.h>     // CG types
00024 
00025 namespace eq
00026 {
00028     class EQ_EXPORT AGLPipe : public OSPipe
00029     {
00030     public:
00032         AGLPipe( Pipe* parent );
00033 
00035         virtual ~AGLPipe( );
00036 
00044         virtual bool configInit( );
00045 
00051         virtual void configExit( );
00053 
00055         CGDirectDisplayID getCGDisplayID() const { return _cgDisplayID; }
00056 
00057     private:
00058 
00069         void _setCGDisplayID( CGDirectDisplayID id );
00071 
00073         CGDirectDisplayID _cgDisplayID;
00074 
00075         union // placeholder for binary-compatible changes
00076         {
00077             char dummy[64];
00078         };
00079     };
00080 }
00081 
00082 #endif // EQ_OS_PIPE_AGL_H
Generated on Sat Feb 6 12:59:40 2010 for Equalizer 0.9.1 by  doxygen 1.6.1