VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifChangeWeatherPriorities.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"
13 #include "vrfmsgs/messageTypes.h"
14 #include <vrfutil/rwUUID.h>
15 
16 #include <map>
17 
24 {
25 
26 public:
29 
32  const DtIfChangeWeatherPriorities & orig);
33 
36  const DtIfChangeWeatherPriorities & orig);
37 
38  virtual ~DtIfChangeWeatherPriorities();
39 
41  virtual int type() const;
42 
44  virtual DtSimInterfaceContent * clone() const;
45 
47  virtual int netRepSize() const;
48 
50  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
51 
54  virtual bool setToNet();
55 
58  virtual void printDataToString(DtString& str);
59 
63  static DtSimInterfaceContent* creator();
64 
66  virtual void setPriority(const DtUUID&, int);
67  virtual void removeSetPriority(const DtUUID&);
68  virtual const std::map<DtUUID, int>& prioritiesToSet() const;
69 
70 protected:
71  std::map<DtUUID, int> myPrioritiesToSet;
72 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:229
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
std::map< DtUUID, int > myPrioritiesToSet
Definition: ifChangeWeatherPriorities.h:71
virtual int type() const =0
Contains the DtUUID class declaration.
virtual void printDataToString(DtString &str)
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
Instances of this class are the interface message content used to set priorities for multiple weather...
Definition: ifChangeWeatherPriorities.h:23
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)