Equalizer  1.4.1
eq/fabric/commands.h
00001 
00002 /* Copyright (c) 2005-2012, Stefan Eilemann <eile@equalizergraphics.com>
00003  *                    2010, Cedric Stalder  <cedric Stalder@gmail.com> 
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 EQFABRIC_COMMANDS_H
00020 #define EQFABRIC_COMMANDS_H
00021 
00022 #include <co/commands.h>
00023 
00024 namespace eq
00025 {
00026 namespace fabric
00027 {
00029     enum ServerCommand
00030     {
00031         CMD_SERVER_CHOOSE_CONFIG        = co::CMD_NODE_CUSTOM,
00032         CMD_SERVER_CHOOSE_CONFIG_REPLY,
00033         CMD_SERVER_CREATE_CONFIG,
00034         CMD_SERVER_CREATE_CONFIG_REPLY,
00035         CMD_SERVER_DESTROY_CONFIG,
00036         CMD_SERVER_DESTROY_CONFIG_REPLY,
00037         CMD_SERVER_RELEASE_CONFIG,
00038         CMD_SERVER_RELEASE_CONFIG_REPLY,
00039         CMD_SERVER_INIT_CONFIG,
00040         CMD_SERVER_SHUTDOWN,
00041         CMD_SERVER_SHUTDOWN_REPLY,
00042         // admin
00043         CMD_SERVER_MAP,
00044         CMD_SERVER_MAP_REPLY,
00045         CMD_SERVER_UNMAP,
00046         CMD_SERVER_UNMAP_REPLY,
00047         CMD_SERVER_FILL1, // some buffer for binary-compatible patches
00048         CMD_SERVER_FILL2,
00049         CMD_SERVER_FILL3,
00050         CMD_SERVER_FILL4,
00051         CMD_SERVER_FILL5,
00052         CMD_SERVER_CUSTOM
00053     };
00054 
00055     enum ClientCommand
00056     {
00057         CMD_CLIENT_EXIT = co::CMD_NODE_CUSTOM,
00058         CMD_CLIENT_FILL1, // some buffer for binary-compatible patches
00059         CMD_CLIENT_FILL2,
00060         CMD_CLIENT_FILL3,
00061         CMD_CLIENT_FILL4,
00062         CMD_CLIENT_FILL5,
00063         CMD_CLIENT_CUSTOM
00064     };
00065 
00066     enum ObjectCommand
00067     {
00068         CMD_OBJECT_SYNC = co::CMD_OBJECT_CUSTOM, // 10
00069         CMD_OBJECT_CUSTOM = 15
00070     };
00071 
00072     enum ConfigCommand
00073     {
00074         CMD_CONFIG_NEW_LAYOUT = CMD_OBJECT_CUSTOM, // 15
00075         CMD_CONFIG_NEW_CANVAS,
00076         CMD_CONFIG_NEW_OBSERVER,
00077         CMD_CONFIG_NEW_ENTITY_REPLY,
00078         CMD_CONFIG_START_INIT,
00079         CMD_CONFIG_START_INIT_REPLY,
00080         CMD_CONFIG_INIT,
00081         CMD_CONFIG_INIT_REPLY,
00082         CMD_CONFIG_EXIT,
00083         CMD_CONFIG_EXIT_REPLY,
00084         CMD_CONFIG_UPDATE,
00085         CMD_CONFIG_UPDATE_VERSION,
00086         CMD_CONFIG_UPDATE_REPLY,
00087         CMD_CONFIG_CREATE_REPLY,
00088         CMD_CONFIG_CREATE_NODE,
00089         CMD_CONFIG_DESTROY_NODE,
00090         CMD_CONFIG_START_FRAME,
00091         CMD_CONFIG_RELEASE_FRAME_LOCAL,
00092         CMD_CONFIG_FRAME_FINISH,
00093         CMD_CONFIG_FINISH_ALL_FRAMES,
00094         CMD_CONFIG_STOP_FRAMES,
00095         CMD_CONFIG_EVENT,
00096         CMD_CONFIG_SYNC_CLOCK,
00097         CMD_CONFIG_SWAP_OBJECT,
00098         CMD_CONFIG_CUSTOM = 45 // some buffer for binary-compatible patches
00099     };
00100 
00101     enum NodeCommand
00102     {
00103         CMD_NODE_CONFIG_INIT = CMD_OBJECT_CUSTOM, // 15
00104         CMD_NODE_CONFIG_INIT_REPLY,
00105         CMD_NODE_SET_AFFINITY,
00106         CMD_NODE_CONFIG_EXIT,
00107         CMD_NODE_CONFIG_EXIT_REPLY,
00108         CMD_NODE_CREATE_PIPE,
00109         CMD_NODE_DESTROY_PIPE,
00110         CMD_NODE_FRAME_START, 
00111         CMD_NODE_FRAME_FINISH,
00112         CMD_NODE_FRAME_FINISH_REPLY,
00113         CMD_NODE_FRAME_DRAW_FINISH,
00114         CMD_NODE_FRAME_TASKS_FINISH,
00115         CMD_NODE_FRAMEDATA_TRANSMIT,       
00116         CMD_NODE_FRAMEDATA_READY,
00117         CMD_NODE_CUSTOM = 35  // some buffer for binary-compatible patches
00118     };
00119 
00120     enum PipeCommand
00121     {
00122         CMD_PIPE_NEW_WINDOW = CMD_OBJECT_CUSTOM, // 15
00123         CMD_PIPE_NEW_WINDOW_REPLY,
00124         CMD_PIPE_CONFIG_INIT,
00125         CMD_PIPE_CONFIG_INIT_REPLY,
00126         CMD_PIPE_CONFIG_EXIT,
00127         CMD_PIPE_CONFIG_EXIT_REPLY, 
00128         CMD_PIPE_CREATE_WINDOW,
00129         CMD_PIPE_DESTROY_WINDOW,
00130         CMD_PIPE_FRAME_START,
00131         CMD_PIPE_FRAME_FINISH,
00132         CMD_PIPE_FRAME_DRAW_FINISH,
00133         CMD_PIPE_FRAME_START_CLOCK,
00134         CMD_PIPE_EXIT_THREAD,
00135         CMD_PIPE_EXIT_TRANSFER_THREAD,
00136         CMD_PIPE_DETACH_VIEW,
00137         CMD_PIPE_CUSTOM = 35 // some buffer for binary-compatible patches
00138     };
00139 
00140     enum WindowCommand
00141     {
00142         CMD_WINDOW_NEW_CHANNEL = CMD_OBJECT_CUSTOM, // 15
00143         CMD_WINDOW_NEW_CHANNEL_REPLY,
00144         CMD_WINDOW_CONFIG_INIT,
00145         CMD_WINDOW_CONFIG_INIT_REPLY,
00146         CMD_WINDOW_CONFIG_EXIT,
00147         CMD_WINDOW_CONFIG_EXIT_REPLY,
00148         CMD_WINDOW_CREATE_CHANNEL,
00149         CMD_WINDOW_DESTROY_CHANNEL,
00150         CMD_WINDOW_FRAME_START,
00151         CMD_WINDOW_FRAME_FINISH,
00152         CMD_WINDOW_FLUSH,
00153         CMD_WINDOW_FINISH,
00154         CMD_WINDOW_THROTTLE_FRAMERATE,
00155         CMD_WINDOW_BARRIER,
00156         CMD_WINDOW_NV_BARRIER,
00157         CMD_WINDOW_SWAP,
00158         CMD_WINDOW_FRAME_DRAW_FINISH,
00159         CMD_WINDOW_CUSTOM = 40 // some buffer for binary-compatible patches
00160     };
00161 
00162     enum ChannelCommand
00163     {
00164         CMD_CHANNEL_CONFIG_INIT = CMD_OBJECT_CUSTOM, // 15
00165         CMD_CHANNEL_CONFIG_INIT_REPLY,
00166         CMD_CHANNEL_CONFIG_EXIT,
00167         CMD_CHANNEL_CONFIG_EXIT_REPLY,
00168         CMD_CHANNEL_FRAME_START,
00169         CMD_CHANNEL_FRAME_FINISH,
00170         CMD_CHANNEL_FRAME_FINISH_REPLY,
00171         CMD_CHANNEL_FRAME_CLEAR,
00172         CMD_CHANNEL_FRAME_DRAW,
00173         CMD_CHANNEL_FRAME_DRAW_FINISH,
00174         CMD_CHANNEL_FRAME_ASSEMBLE,
00175         CMD_CHANNEL_FRAME_READBACK,
00176         CMD_CHANNEL_FRAME_TRANSMIT_IMAGE,
00177         CMD_CHANNEL_FRAME_SET_READY,
00178         CMD_CHANNEL_FRAME_SET_READY_NODE,
00179         CMD_CHANNEL_FRAME_VIEW_START,
00180         CMD_CHANNEL_FRAME_VIEW_FINISH,
00181         CMD_CHANNEL_STOP_FRAME,
00182         CMD_CHANNEL_FRAME_TILES,
00183         CMD_CHANNEL_FINISH_READBACK,
00184         CMD_CHANNEL_DELETE_TRANSFER_CONTEXT,
00185         CMD_CHANNEL_CUSTOM = 45 // some buffer for binary-compatible patches
00186     };
00187 
00188     enum CanvasCommand
00189     {
00190         CMD_CANVAS_NEW_SEGMENT = CMD_OBJECT_CUSTOM, // 15
00191         CMD_CANVAS_NEW_SEGMENT_REPLY,
00192         CMD_CANVAS_CUSTOM = 20 // some buffer for binary-compatible patches
00193     };
00194 
00195     enum LayoutCommand
00196     {
00197         CMD_LAYOUT_NEW_VIEW = CMD_OBJECT_CUSTOM, // 15
00198         CMD_LAYOUT_NEW_VIEW_REPLY,
00199         CMD_LAYOUT_CUSTOM = 20 // some buffer for binary-compatible patches
00200     };
00201 
00202     enum ViewCommand
00203     {
00204         CMD_VIEW_FREEZE_LOAD_BALANCING = CMD_OBJECT_CUSTOM, // 15
00205         CMD_VIEW_CUSTOM = 20 // some buffer for binary-compatible patches
00206     };
00208 }
00209 }
00210 #endif // EQFABRIC_COMMANDS_H
00211 
Generated on Mon Nov 26 2012 14:41:48 for Equalizer 1.4.1 by  doxygen 1.7.6.1