![]() |
||||||||
|
|
||||||||
00001 /**************************************** 00002 * zoidcom_replicator_basic.h 00003 * replicator base definition 00004 * 00005 * This file is part of the "Zoidcom Automated Networking System" application library. 00006 * Copyright (C)2002-2007 by Joerg Rueppel. See documentation for copyright and licensing details. 00007 *****************************************/ 00008 00009 #ifndef _ZOIDREPLICATORBASIC_H_ 00010 #define _ZOIDREPLICATORBASIC_H_ 00011 00015 #include "zoidcom.h" 00016 00020 class ZCOM_API ZCom_ReplicatorBasic : public ZCom_Replicator 00021 { 00022 public: 00023 ZCom_ReplicatorBasic(ZCom_ReplicatorSetup *_setup); 00024 00025 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ 00026 /* update checking */ 00027 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ 00028 00032 00040 virtual bool checkState() = 0; 00042 00043 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ 00044 /* update sending */ 00045 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ 00046 00050 00061 virtual void packData(ZCom_BitStream *_stream) = 0; 00062 00076 virtual void unpackData(ZCom_BitStream *_stream, bool _store, zU32 _estimated_time_sent) = 0; 00077 00079 00080 // for internal use only 00081 void setModified() { m_flags |= ZCOM_REPLICATOR_MODIFIED; } 00082 }; 00083 00084 #endif
1.4.6-NO