Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# deNetObject.hpp

Go to the documentation of this file.

    00001 ///////////////////////////////////////////////////////////////////////////////
    00002 /// @file deNetObject.hpp
    00003 ///
    00004 /// @brief
    00005 ///
    00006 /// @author trajar
    00007 ///
    00008 /// This file is the intellectual property of Novus Delta, LLC.. Usage of the
    00009 /// contents of this file is subject to the Destiny3D Member License which
    00010 /// can be found at http://www.destiny3d.com.  Any other usage is prohibited.
    00011 ///
    00012 /// This file is distributed "AS IS" without warranty of any kind.  Novus
    00013 /// Delta, LLC. does not guarantee the fitness of the contents of this file
    00014 /// for any particular purpose.
    00015 ///
    00016 /// Copyright (C) 2001-2003 Novus Delta, LLC. All Rights Reserved.
    00017 ///
    00018 /// <hr>
    00019 ///                                 Change History
    00020 /// <hr>
    00021 ///
    00022 /// @date Jun 2002
    00023 /// @author trajar
    00024 /// @remarks Creation
    00025 ///
    00026 ///////////////////////////////////////////////////////////////////////////////
    00027
    00028 #ifndef _DENETOBJECT_HPP
    00029 #define _DENETOBJECT_HPP
    00030
    00031 #ifndef     _DENET_HPP
    00032  #include   "deNet.hpp"
    00033 #endif
    00034
    00035 #ifndef     _DENETDATA_HPP
    00036  #include   "deNetData.hpp"
    00037 #endif
    00038
    00039 /*
    00040 #ifndef     _THANDLE_H
    00041  #include   "THandle.h"
    00042 #endif
    00043
    00044 class deNetObject;
    00045 typedef THandle<deNetObject>                hNetObject;
    00046 typedef THandleMgr<deNetObject, hNetObject> hNetObjectMgr;
    00047 */
    00048
    00049 //---------------------------------------------------------------------------
    00050 // deNetObject
    00051 //
    00052 // - a collection of deNetDataGroups, which is updated, predicted, etc.
    00053 //---------------------------------------------------------------------------
    00054 typedef class DENET_API deNetObject
    00055 {
    00056 public:
    00057
    00058     enum NetObjectType
    00059     {
    00060         OBJ_UNKNOWN = -1,
    00061         OBJ_PARENT,
    00062         OBJ_CHILD
    00063     };
    00064
    00065     deNetObject(void)   : m_DataGroups(NULL)            { }
    00066     ~deNetObject(void);
    00067
    00068     NetObjectType   GetNetObjectType(void)  const   { return m_NetObjectType; }
    00069 //  hNetObject      GetHandle(void)         const   { return m_Handle; }
    00070
    00071 private:
    00072
    00073     NetObjectType       m_NetObjectType;
    00074     //hNetObject            m_Handle;
    00075     deNetDataGroup *    m_DataGroups;
    00076     unsigned int        m_NumDataGroups;
    00077
    00078
    00079 } deNetObject, *pdeNetObject;
    00080
    00081 #endif