Equalizer 1.0

co/commands.h

00001 
00002 /* Copyright (c) 2005-2011, Stefan Eilemann <eile@equalizergraphics.com> 
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 CO_COMMANDS_H
00019 #define CO_COMMANDS_H
00020 
00021 namespace co
00022 {
00023     enum NodeCommand
00024     {
00025         CMD_NODE_STOP,
00026         CMD_NODE_MESSAGE,
00027         CMD_NODE_CONNECT,
00028         CMD_NODE_CONNECT_REPLY,
00029         CMD_NODE_CONNECT_ACK,
00030         CMD_NODE_ID,
00031         CMD_NODE_DISCONNECT,
00032         CMD_NODE_GET_NODE_DATA,
00033         CMD_NODE_GET_NODE_DATA_REPLY,
00034         CMD_NODE_ACQUIRE_SEND_TOKEN,
00035         CMD_NODE_ACQUIRE_SEND_TOKEN_REPLY,
00036         CMD_NODE_RELEASE_SEND_TOKEN,
00037         CMD_NODE_ADD_LISTENER,
00038         CMD_NODE_REMOVE_LISTENER,
00039         CMD_NODE_ACK_REQUEST,
00040         CMD_NODE_FIND_MASTER_NODE_ID,
00041         CMD_NODE_FIND_MASTER_NODE_ID_REPLY,
00042         CMD_NODE_ATTACH_OBJECT,
00043         CMD_NODE_DETACH_OBJECT,
00044         CMD_NODE_REGISTER_OBJECT,
00045         CMD_NODE_DEREGISTER_OBJECT,
00046         CMD_NODE_MAP_OBJECT,
00047         CMD_NODE_MAP_OBJECT_SUCCESS,
00048         CMD_NODE_MAP_OBJECT_REPLY,
00049         CMD_NODE_UNMAP_OBJECT,
00050         CMD_NODE_UNSUBSCRIBE_OBJECT,
00051         CMD_NODE_OBJECT_INSTANCE,
00052         CMD_NODE_OBJECT_INSTANCE_MAP,
00053         CMD_NODE_OBJECT_INSTANCE_COMMIT,
00054         CMD_NODE_DISABLE_SEND_ON_REGISTER,
00055         CMD_NODE_CUSTOM = 40  // some buffer for binary-compatible patches
00056     };
00057 
00058     enum ObjectCommand
00059     {
00060         CMD_OBJECT_INSTANCE,
00061         CMD_OBJECT_DELTA,
00062         CMD_OBJECT_SLAVE_DELTA,
00063         CMD_OBJECT_COMMIT,
00064         CMD_OBJECT_OBSOLETE,
00065         CMD_OBJECT_CUSTOM = 10 // some buffer for binary-compatible patches
00066     };
00067 
00068     enum BarrierCommand
00069     {
00070         CMD_BARRIER_ENTER = CMD_OBJECT_CUSTOM,
00071         CMD_BARRIER_ENTER_REPLY,
00072         CMD_BARRIER_CUSTOM = 20 // some buffer for binary-compatible patches
00073     };
00074 }
00075 
00076 #endif // CO_COMMANDS_H
00077 
Generated on Sun May 8 2011 19:11:05 for Equalizer 1.0 by  doxygen 1.7.3