VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifRequestSpotReports.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfmsgs/vrfmsgsDefines.h"
12 #include "vrfmsgs/messageTypes.h"
13 #include <vrfExtProtocol/simInterfaceContent.h>
14 #include <set>
15 
22 
24 {
25 public:
26 
29 
31  virtual ~DtIfRequestSpotReports();
32 
35 
37  DtIfRequestSpotReports& operator=(const DtIfRequestSpotReports& orig);
38 
40  virtual int type() const;
41 
42  virtual DtSimInterfaceContent * clone() const;
43 
44  virtual int netRepSize() const;
45  virtual bool setFromNet(const char* contentBuffer,
46  unsigned contentSize);
47  virtual bool setToNet();
48 
49  virtual void printDataToString(DtString& str);
50 
51  static DtSimInterfaceContent* creator();
52 
53  virtual void setRequestId(unsigned long);
54  virtual unsigned long requestId() const;
55 
56  virtual void requestSpotReportsForForce(int);
57  virtual void requestSpotReportsForForces(const std::set<int>&);
58 
60  virtual void requestForAll();
61 
62  virtual bool sendSpotReportsForForce(int) const;
63 
64 protected:
65  std::set<int> myRequestingForForces;
66  DtU32 myRequestId;
67 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)