Equalizer 1.0
|
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 EQFABRIC_PACKETS_H 00019 #define EQFABRIC_PACKETS_H 00020 00021 #include <eq/fabric/commands.h> // enum 00022 #include <eq/fabric/packetType.h> // member 00023 00024 #include <co/packets.h> // 'base' 00025 #include <co/objectVersion.h> // member 00026 00027 namespace eq 00028 { 00029 namespace fabric 00030 { 00032 struct ServerPacket : public co::Packet 00033 { 00034 ServerPacket(){ type = PACKETTYPE_EQ_SERVER; } 00035 }; 00036 00037 typedef co::ObjectPacket ConfigPacket; 00038 typedef co::ObjectPacket PipePacket; 00039 typedef co::ObjectPacket WindowPacket; 00040 typedef co::ObjectPacket CanvasPacket; 00041 typedef co::ObjectPacket LayoutPacket; 00042 00043 struct ObjectSyncPacket : public co::ObjectPacket 00044 { 00045 ObjectSyncPacket() 00046 { 00047 command = CMD_OBJECT_SYNC; 00048 size = sizeof( ObjectSyncPacket ); 00049 } 00050 }; 00053 } 00054 } 00055 00056 #endif // EQFABRIC_PACKETS_H 00057