|
Equalizer 1.1.3-git
|
00001 00002 /* Copyright (c) 2010-2011, Stefan Eilemann <eile@eyescale.ch> 00003 * 00004 * This library is free software; you can redistribute it and/or modify it under 00005 * the terms of the GNU Lesser General Public License version 2.1 as published 00006 * by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, but WITHOUT 00009 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00010 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 00011 * details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public License 00014 * along with this library; if not, write to the Free Software Foundation, Inc., 00015 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00016 */ 00017 00018 #ifndef EQADMIN_TYPES_H 00019 #define EQADMIN_TYPES_H 00020 00021 #include <eq/admin/api.h> 00022 #include <co/base/refPtr.h> 00023 #include <co/base/uint128_t.h> 00024 #include <vector> 00025 00026 namespace eq 00027 { 00028 namespace fabric 00029 { 00030 template< class C, class OV, class LV, class CV, class NV > class ConfigVisitor; 00031 template< class T, class C > class ElementVisitor; 00032 template< class T > class LeafVisitor; 00033 } 00034 00035 namespace admin 00036 { 00037 class Canvas; 00038 class Channel; 00039 class Client; 00040 class Config; 00041 class Layout; 00042 class Node; 00043 class Observer; 00044 class Pipe; 00045 class Segment; 00046 class Server; 00047 class View; 00048 class Window; 00049 00050 typedef co::base::RefPtr< Client > ClientPtr; 00051 typedef co::base::RefPtr< const Client > ConstClientPtr; 00052 typedef co::base::RefPtr< Server > ServerPtr; 00053 00055 typedef fabric::LeafVisitor< Segment > SegmentVisitor; 00056 00058 typedef fabric::LeafVisitor< View > ViewVisitor; 00059 00061 typedef fabric::LeafVisitor< Observer > ObserverVisitor; 00062 00064 typedef fabric::LeafVisitor< Channel > ChannelVisitor; 00065 00067 typedef fabric::ElementVisitor< Canvas, SegmentVisitor > CanvasVisitor; 00068 00070 typedef fabric::ElementVisitor< Window, ChannelVisitor > WindowVisitor; 00071 00073 typedef fabric::ElementVisitor< Pipe, WindowVisitor > PipeVisitor; 00074 00076 typedef fabric::ElementVisitor< Node, PipeVisitor > NodeVisitor; 00077 00079 typedef fabric::ElementVisitor< Layout, ViewVisitor > LayoutVisitor; 00080 00082 typedef fabric::ConfigVisitor< Config, ObserverVisitor, LayoutVisitor, 00083 CanvasVisitor, NodeVisitor > ConfigVisitor; 00084 00085 00086 //----- Vectors 00088 typedef std::vector< Config* > Configs; 00090 typedef std::vector< Node* > Nodes; 00092 typedef std::vector< Pipe* > Pipes; 00094 typedef std::vector< Window* > Windows; 00096 typedef std::vector< Channel* > Channels; 00098 typedef std::vector< Observer* > Observers; 00100 typedef std::vector< Canvas* > Canvass; 00102 typedef std::vector< Layout* > Layouts; 00104 typedef std::vector< Segment* > Segments; 00106 typedef std::vector< View* > Views; 00107 00108 typedef co::base::uint128_t uint128_t; 00109 } 00110 } 00111 #endif // EQADMIN_TYPES_H
1.1.3-git by
1.7.4