Equalizer  1.8.0
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
client/layout.h
1 
2 /* Copyright (c) 2009-2014, Stefan Eilemann <eile@equalizergraphics.com>
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License version 2.1 as published
6  * by the Free Software Foundation.
7  *
8  * This library is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11  * details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this library; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16  */
17 
18 #ifndef EQ_LAYOUT_H
19 #define EQ_LAYOUT_H
20 
21 #include <eq/client/api.h>
22 #include <eq/client/types.h>
23 #include <eq/client/visitorResult.h> // enum
24 
25 #include <eq/fabric/layout.h> // base class
26 
27 namespace eq
28 {
29 namespace detail { class Layout; }
30 
46 class Layout : public fabric::Layout< Config, Layout, View >
47 {
48 public:
50  EQ_API Layout( Config* parent );
51 
53  EQ_API virtual ~Layout();
54 
58  EQ_API ServerPtr getServer();
60 
61 private:
62  detail::Layout* const _impl;
63 };
64 }
65 #endif // EQ_LAYOUT_H
A configuration is a visualization session driven by an application.
EQ_API ServerPtr getServer()
virtual EQ_API ~Layout()
Destruct a layout.
lunchbox::RefPtr< Server > ServerPtr
A reference-counted pointer to an eq::Server.
EQ_API Layout(Config *parent)
Construct a new layout.
A layout groups one or more View, logically belonging together.
Definition: client/layout.h:46
Base data transport class for layouts.
Definition: fabric/layout.h:30