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