MAK RTIspy API Documentation for HLA 1.3
regionParams1516e.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: .h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef DdmRegion1516e_H_
00010 #define DdmRegion1516e_H_
00011 
00012 #include "regionData.h"
00013 
00014 class DdmRegion1516e : public DdmRegion
00015 {
00016 public:
00017 
00018    DdmRegion1516e() : DdmRegion() {};
00019    virtual ~DdmRegion1516e() {};
00020 
00021    // Get a unique ID for this object based on the object handle
00022    virtual const std::wstring& id() const;
00023 
00024    // Accessors and mutators
00025    const rti1516e::RegionHandle& handle() const;
00026    void setHandle(const rti1516e::RegionHandle& handle);
00027 
00028 protected:
00029 
00030    rti1516e::RegionHandle myHandle;
00031    std::wstring myHandleString;
00032 };
00033 
00034 inline const std::wstring& DdmRegion1516e::id() const
00035 {
00036    return myHandleString;
00037 }
00038 
00039 inline const rti1516e::RegionHandle& DdmRegion1516e::handle() const
00040 {
00041    return myHandle;
00042 }
00043 
00044 inline void DdmRegion1516e::setHandle(const rti1516e::RegionHandle& handle)
00045 {
00046    myHandle = handle;
00047    myHandleString = myHandle.toString();
00048 }
00049 
00050 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)