VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifSpawnList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <vector>
12 
14 {
18  std::set<DtUUID> mySpawnPoints;
19  std::set<DtUUID> mySinkPoints;
20 
21  bool operator==(const SpawnTemplateListEntry& rhs) const
22  {
23  return ((myUUID == rhs.myUUID) && (myTemplateName == rhs.myTemplateName) && (myDescription == rhs.myDescription) &&
25  }
26 
27  bool operator!=(const SpawnTemplateListEntry& rhs) const
28  {
29  return !(*this == rhs);
30  }
31 };
32 
34 typedef std::vector<SpawnTemplateListEntry> SpawnTemplateDescriptionList;
35 
40 {
41 
42 public:
43 
45  DtIfSpawnList();
46 
48  DtIfSpawnList(const DtIfSpawnList & orig);
49 
51  const DtIfSpawnList & operator=(const DtIfSpawnList & orig);
52 
54  virtual ~DtIfSpawnList();
55 
57  virtual int type() const;
58 
60  virtual DtSimInterfaceContent * clone() const;
61 
64  const SpawnTemplateDescriptionList& spawnTemplateAndDescriptionList()
65  const;
67 
69  virtual void setInitialSend(bool);
70  bool initialSend() const;
71 
74  virtual void addTemplateEntry(DtRwSpawnData * spawnTemplate);
75 
76  virtual int netRepSize() const;
77 
78  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
79 
80  virtual bool setToNet();
81 
82  virtual void printDataToString(DtString& str);
83 
84  static DtSimInterfaceContent* creator();
85 
86 protected:
87 
90 };
91 
92 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)