VR-Forces 4.1 Class Documentation
ifCapableTaskAndSetResponse.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include "vrfmsgs/vrfmsgsDefines.h"
15 #include <vlutil/vlNetTypes.h>
16 #include <vector>
17 #include <map>
18 #include "vrftasks/radioMsgTypes.h"
19 
26 {
27 public:
29  typedef std::pair<std::vector<DtSimTaskMessageType>, std::vector<DtSetMessageType> > DtTaskSetPair;
30  typedef std::map<DtString, DtTaskSetPair> DtCapableTasksSetsMap;
31 
32 public:
35 
38 
41 
43 
44  virtual int type() const;
45 
46  virtual DtSimInterfaceContent * clone() const;
47 
48  virtual int netRepSize() const;
49  virtual bool setFromNet(const char* contentBuffer,
50  unsigned contentSize);
51  virtual bool setToNet();
52 
53  virtual void printDataToString(DtString& str);
54 
55  static DtSimInterfaceContent* creator();
56 
57  virtual void setCapableTasks(const DtString&, const std::vector<DtSimTaskMessageType>&);
58  virtual void setCapableSets(const DtString&, const std::vector<DtSetMessageType>&);
59 
60  const std::vector<DtSimTaskMessageType>& capableTaskIds(DtCapableTasksSetsMap::const_iterator iter) const
61  {
62  return iter->second.first;
63  }
64 
65  const std::vector<DtSetMessageType>& capableSetDataIds(DtCapableTasksSetsMap::const_iterator iter) const
66  {
67  return iter->second.second;
68  }
69 
70  const DtCapableTasksSetsMap& capableTasksAndSets() const
71  {
72  return myCapableTasksSets;
73  }
74 
75 protected:
77 };
78 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)