Equalizer  1.4.1
co/commands.h
00001 
00002 /* Copyright (c) 2005-2012, 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_RCV,
00026         CMD_NODE_STOP_CMD,
00027         CMD_NODE_SET_AFFINITY_RCV,
00028         CMD_NODE_SET_AFFINITY_CMD,
00029         CMD_NODE_MESSAGE,
00030         CMD_NODE_CONNECT,
00031         CMD_NODE_CONNECT_REPLY,
00032         CMD_NODE_CONNECT_ACK,
00033         CMD_NODE_ID,
00034         CMD_NODE_DISCONNECT,
00035         CMD_NODE_GET_NODE_DATA,
00036         CMD_NODE_GET_NODE_DATA_REPLY,
00037         CMD_NODE_ACQUIRE_SEND_TOKEN,
00038         CMD_NODE_ACQUIRE_SEND_TOKEN_REPLY,
00039         CMD_NODE_RELEASE_SEND_TOKEN,
00040         CMD_NODE_ADD_LISTENER,
00041         CMD_NODE_REMOVE_LISTENER,
00042         CMD_NODE_ACK_REQUEST,
00043         CMD_NODE_FIND_MASTER_NODE_ID,
00044         CMD_NODE_FIND_MASTER_NODE_ID_REPLY,
00045         CMD_NODE_ATTACH_OBJECT,
00046         CMD_NODE_DETACH_OBJECT,
00047         CMD_NODE_REGISTER_OBJECT,
00048         CMD_NODE_DEREGISTER_OBJECT,
00049         CMD_NODE_MAP_OBJECT,
00050         CMD_NODE_MAP_OBJECT_SUCCESS,
00051         CMD_NODE_MAP_OBJECT_REPLY,
00052         CMD_NODE_UNMAP_OBJECT,
00053         CMD_NODE_UNSUBSCRIBE_OBJECT,
00054         CMD_NODE_OBJECT_INSTANCE,
00055         CMD_NODE_OBJECT_INSTANCE_MAP,
00056         CMD_NODE_OBJECT_INSTANCE_COMMIT,
00057         CMD_NODE_OBJECT_INSTANCE_PUSH,
00058         CMD_NODE_DISABLE_SEND_ON_REGISTER,
00059         CMD_NODE_REMOVE_NODE,
00060         CMD_NODE_OBJECT_PUSH,
00061         CMD_NODE_PING,
00062         CMD_NODE_PING_REPLY,
00063         CMD_NODE_COMMAND,
00064         CMD_NODE_CUSTOM = 50  // some buffer for binary-compatible patches
00065     };
00066 
00067     enum ObjectCommand
00068     {
00069         CMD_OBJECT_INSTANCE,
00070         CMD_OBJECT_DELTA,
00071         CMD_OBJECT_SLAVE_DELTA,
00072         CMD_OBJECT_COMMIT,
00073         CMD_OBJECT_PUSH,
00074         CMD_OBJECT_OBSOLETE,
00075         CMD_OBJECT_MAX_VERSION,
00076         CMD_OBJECT_CUSTOM = 10 // some buffer for binary-compatible patches
00077     };
00078 
00079     enum BarrierCommand
00080     {
00081         CMD_BARRIER_ENTER = CMD_OBJECT_CUSTOM,
00082         CMD_BARRIER_ENTER_REPLY,
00083         CMD_BARRIER_CUSTOM = 20 // some buffer for binary-compatible patches
00084     };
00085 
00086     enum QueueCommand
00087     {
00088         CMD_QUEUE_GET_ITEM = CMD_OBJECT_CUSTOM,
00089         CMD_QUEUE_EMPTY,
00090         CMD_QUEUE_ITEM,
00091         CMD_QUEUE_CUSTOM = 20 // some buffer for binary-compatible patches
00092     };
00093 }
00094 
00095 #endif // CO_COMMANDS_H
00096 
Generated on Mon Nov 26 2012 14:41:48 for Equalizer 1.4.1 by  doxygen 1.7.6.1