VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifGlobalPlanList.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrfmsgs/vrfmsgsDefines.h"
15 #include <vlpi/entityIdentifier.h>
16 #include <vrfutil/rwUUID.h>
17 #include <vector>
18 
22 {
23 public:
25  {
26  GlobalPlansInformation() : uuid(DtUUID::nullUUID()) {}
27 
30  DtEntityIdentifier entityId;
31  bool isQuickLaunch = false;
32  bool isLaunched = false;
33  bool showOnQuickLaunchToolbar = false;
34  int ordinal = -1;
36  bool nameChangeOnly = false;
37  };
38 
39  typedef std::vector<GlobalPlansInformation> GlobalPlans;
40 
41 public:
44 
47 
49  const DtIfGlobalPlanList & operator=(const DtIfGlobalPlanList & orig);
50 
51  virtual ~DtIfGlobalPlanList() override;
52 
53  virtual int type() const override;
54 
55  virtual DtSimInterfaceContent * clone() const override;
56 
58 
59  virtual void addGlobalPlanInformation(const DtUUID&, const DtString& planName, const DtEntityIdentifier& id,
60  bool isQuickLaunch = false, bool showOnQuickLaunchToolbar = false,
61  bool isLaunched = false, const DtString& planIcon = "", int ordinal = 0);
62  virtual const GlobalPlans& globalPlans() const;
64 
66 
67  virtual void addGlobalPlanNameChange(const DtUUID&, const DtString& planName);
69 
70  virtual int netRepSize() const override;
71  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
72  virtual bool setToNet() override;
73 
74  virtual void printDataToString(DtString& str) override;
75 
76  static DtSimInterfaceContent* creator();
77 
78 protected:
80 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
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
GlobalPlans myGlobalPlans
Definition: ifGlobalPlanList.h:79
virtual int type() const =0
Contains the DtUUID class declaration.
DtString icon
Definition: ifGlobalPlanList.h:35
DtEntityIdentifier entityId
Definition: ifGlobalPlanList.h:30
Definition: ifGlobalPlanList.h:24
DtString name
Definition: ifGlobalPlanList.h:29
virtual void printDataToString(DtString &str)
GlobalPlansInformation()
Definition: ifGlobalPlanList.h:26
DtUUID uuid
Definition: ifGlobalPlanList.h:28
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
std::vector< GlobalPlansInformation > GlobalPlans
Definition: ifGlobalPlanList.h:39
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0
Interface content containing the list of global plan names from a single simulation engine...
Definition: ifGlobalPlanList.h:21

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)