VR-Forces 4.8 Class Documentation
 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;
32  bool isLaunched;
34  int ordinal;
36  };
37 
38  typedef std::vector<GlobalPlansInformation> GlobalPlans;
39 
40 public:
43 
46 
48  const DtIfGlobalPlanList & operator=(const DtIfGlobalPlanList & orig);
49 
50  virtual ~DtIfGlobalPlanList();
51 
52  virtual int type() const;
53 
54  virtual DtSimInterfaceContent * clone() const;
55 
57 
58  virtual void addGlobalPlanInformation(const DtUUID&, const DtString& planName, const DtEntityIdentifier& id,
59  bool isQuickLaunch = false, bool showOnQuickLaunchToolbar = false,
60  bool isLaunched = false, const DtString& planIcon = "", int ordinal = 0);
61  virtual const GlobalPlans& globalPlans() const;
63 
64  virtual int netRepSize() const;
65  virtual bool setFromNet(const char* contentBuffer,
66  unsigned contentSize);
67  virtual bool setToNet();
68 
69  virtual void printDataToString(DtString& str);
70 
71  static DtSimInterfaceContent* creator();
72 
73 protected:
75 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
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
bool isQuickLaunch
Definition: ifGlobalPlanList.h:31
GlobalPlans myGlobalPlans
Definition: ifGlobalPlanList.h:74
virtual int type() const =0
DtString icon
Definition: ifGlobalPlanList.h:35
DtEntityIdentifier entityId
Definition: ifGlobalPlanList.h:30
bool isLaunched
Definition: ifGlobalPlanList.h:32
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)
bool showOnQuickLaunchToolbar
Definition: ifGlobalPlanList.h:33
std::vector< GlobalPlansInformation > GlobalPlans
Definition: ifGlobalPlanList.h:38
int ordinal
Definition: ifGlobalPlanList.h:34
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)