MAK RTIspy API Documentation for HLA 1516
regionParams1516.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: .h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef DdmRegion1516_H_
10 #define DdmRegion1516_H_
11 
12 #include "regionData.h"
13 
14 class DdmRegion1516 : public DdmRegion
15 {
16 public:
17 
19  virtual ~DdmRegion1516() {};
20 
21  // Get a unique ID for this object based on the object handle
22  virtual const std::wstring& id() const;
23 
24  // Accessors and mutators
25  const rti1516::RegionHandle& handle() const;
26  void setHandle(const rti1516::RegionHandle& handle);
27 
28 protected:
29 
30  rti1516::RegionHandle myHandle;
31  std::wstring myHandleString;
32 };
33 
34 inline const std::wstring& DdmRegion1516::id() const
35 {
36  return myHandleString;
37 }
38 
39 inline const rti1516::RegionHandle& DdmRegion1516::handle() const
40 {
41  return myHandle;
42 }
43 
44 inline void DdmRegion1516::setHandle(const rti1516::RegionHandle& handle)
45 {
46  myHandle = handle;
47  myHandleString = myHandle.toString();
48 }
49 
50 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)