VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
backendMap.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
10 #include "vrfutil/vrfutilDefines.h"
11 #include "vlpi/simulationAddress.h"
12 #include <vlutil/vlList.h>
13 #include <set>
14 
20 
21 class DT_DLL_vrfutil DtBackendMap : public DtList
22 {
23 public:
24 
26  DtBackendMap();
27 
29  virtual ~DtBackendMap();
30 
32  DtBackendMap(const DtBackendMap& orig);
33 
35  DtBackendMap& operator=(const DtBackendMap& orig);
36 
37  virtual void emptyList();
38  virtual void copyList(const DtBackendMap & orig);
39 
41  virtual const DtSimulationAddress& lookupMappingFrom(
42  const DtSimulationAddress& fromAddress) const;
43 
47  virtual void addMapping(const DtSimulationAddress& fromAddress,
48  const DtSimulationAddress& toAddress);
49 };
50 
52 typedef bool (*DtBackendRemappingFcn)(DtBackendMap* map, const std::set<DtSimulationAddress>& expectedBackends, void* usr);
bool(* DtBackendRemappingFcn)(DtBackendMap *map, const std::set< DtSimulationAddress > &expectedBackends, void *usr)
Used by loadScenario to get replacements for missing backends.
Definition: backendMap.h:52
class DtBackendMap:
Definition: backendMap.h:21
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34

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)