Equalizer  1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
fabric/types.h
1 
2 /* Copyright (c) 2007-2013, Stefan Eilemann <eile@equalizergraphics.com>
3  * 2011-2014, Daniel Nachbaur <danielnachbaur@gmail.com>
4  * 2010, Cedric Stalder <cedric.stalder@gmail.com>
5  *
6  * This library is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License version 2.1 as published
8  * by the Free Software Foundation.
9  *
10  * This library is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13  * details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with this library; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef EQFABRIC_TYPES_H
21 #define EQFABRIC_TYPES_H
22 
23 #include <eq/fabric/api.h>
24 #include <eq/fabric/error.h>
25 #include <eq/fabric/vmmlib.h>
26 #include <co/types.h>
27 #include <lunchbox/refPtr.h>
28 #include <lunchbox/uint128_t.h>
29 #include <lunchbox/visitorResult.h>
30 
31 #ifdef _WIN32
32 # define EQ_DEFAULT_PORT (4242)
33 #else
34 // #241: Avoid using privilege ports below 1024
35 # define EQ_DEFAULT_PORT ( (getuid() % 64511) + 1024 )
36 #endif
37 
38 namespace eq
39 {
40 namespace fabric
41 {
42 class Client;
43 class ColorMask;
44 class ConfigParams;
45 class Equalizer;
46 class ErrorRegistry;
47 class Frustum;
48 class Pixel;
49 class PixelViewport;
50 class Projection;
51 class Range;
52 class RenderContext;
53 class SubPixel;
54 class SwapBarrier;
55 class Tile;
56 class Viewport;
57 class Wall;
58 class WindowSettings;
59 class Zoom;
60 struct CanvasPath;
61 struct ChannelPath;
62 struct DrawableConfig;
63 struct GPUInfo;
64 struct LayoutPath;
65 struct NodePath;
66 struct ObserverPath;
67 struct PipePath;
68 struct SegmentPath;
69 struct ViewPath;
70 struct WindowPath;
71 
72 template< class, class > class Channel;
73 template< class, class > class Observer;
74 template< class, class, class > class Layout;
75 template< class, class, class > class Segment;
76 template< class, class, class > class View;
77 template< class, class, class, class > class Window;
78 template< class, class, class, class > class Canvas;
79 template< class, class, class, class > class Node;
80 template< class, class, class, class > class Pipe;
81 template< class, class, class, class, class, class > class Server;
82 template< class, class, class, class, class, class, class > class Config;
83 
84 template< class > class LeafVisitor;
85 template< class, class > class ElementVisitor;
86 template< class, class, class, class, class> class ConfigVisitor;
87 
88 using co::Strings;
89 using co::StringsCIter;
90 typedef co::ObjectOCommand EventOCommand;
91 
92 using lunchbox::uint128_t;
93 using lunchbox::UUID;
94 using lunchbox::VisitorResult;
95 using lunchbox::TRAVERSE_CONTINUE;
96 using lunchbox::TRAVERSE_PRUNE;
97 using lunchbox::TRAVERSE_TERMINATE;
98 typedef lunchbox::RefPtr< Client > ClientPtr;
99 typedef lunchbox::RefPtr< const Client > ConstClientPtr;
100 typedef lunchbox::RefPtr< SwapBarrier > SwapBarrierPtr;
101 typedef lunchbox::RefPtr< const SwapBarrier > SwapBarrierConstPtr;
102 
103 }
104 }
105 
106 #endif // EQFABRIC_TYPES_H
A visitor to traverse configs and all children.
Definition: admin/types.h:30
A visitor to traverse leaf nodes of a graph.
Definition: admin/types.h:32
Base data transport class for pipes.
Definition: fabric/pipe.h:31
A visitor to traverse non-leaf elements and their children in a tree.
Definition: admin/types.h:31
Base co::Node class for a server.
Definition: fabric/server.h:32
Base data transport class for views.
Definition: fabric/types.h:76
Base data transport class for nodes.
Definition: fabric/node.h:30
A canvas represents a logical 2D projection surface.
Definition: fabric/canvas.h:34
Base data transport class for windows.
Definition: fabric/types.h:77
Base data class for a configuration.
Definition: fabric/config.h:33