Equalizer  1.10.1
Parallel Rendering Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
canvas.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_CANVAS_H
19 #define EQ_CANVAS_H
20 
21 #include <eq/types.h>
22 #include <eq/api.h>
23 #include <eq/fabric/canvas.h> // base class
24 
25 namespace eq
26 {
27 namespace detail { class Canvas; }
28 
50 class Canvas : public fabric::Canvas< Config, Canvas, Segment, Layout >
51 {
52 public:
54  EQ_API explicit Canvas( Config* parent );
55 
57  EQ_API virtual ~Canvas();
58 
62  EQ_API ServerPtr getServer();
64 
65 private:
66  detail::Canvas* const _impl;
67 };
68 }
69 #endif // EQ_CANVAS_H
virtual EQ_API ~Canvas()
Destruct this canvas.
EQ_API Canvas(Config *parent)
Construct a new canvas.
A configuration is a visualization session driven by an application.
Definition: config.h:55
A canvas represents a logical 2D projection surface.
Definition: canvas.h:50
lunchbox::RefPtr< Server > ServerPtr
A reference-counted pointer to an eq::Server.
Definition: eq/types.h:210
EQ_API ServerPtr getServer()
A canvas represents a logical 2D projection surface.
Definition: fabric/canvas.h:35