MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
momFactory.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: momFactory.h,v $ $Revision: 1.12 $ $State: Exp $
7 *********************************************************************/
8 #ifdef DtMOM
9 
12 #ifndef DtMomInteractionFactory_H_
13 #define DtMomInteractionFactory_H_
14 
15 #include "mInteraction.h"
16 #include <vlutil/vlHashlist.h>
17 
19 
20 typedef DtMomInteraction *(*DtMomInteractionCreator)();
21 
22 class DT_DLL_LRC DtMomInteractionFactory
23 {
24 public:
25 
27  DtMomInteractionFactory(DtHandleMapper* handleMapper);
28 
30  virtual ~DtMomInteractionFactory();
31 
33  virtual DtMomInteraction* create(DtInteractionClassHandle handle);
34 
36  virtual int badMappingCount() const;
37 
39  virtual const std::set<const char*>& badMappings() const;
40 
41 protected:
42 
44  virtual void populateMom();
45 
48  virtual bool map(const char* name, DtMomInteractionCreator function);
49 
51  virtual void map(DtInteractionClassInfo* info,
52  DtMomInteractionCreator function);
53 
55  virtual void map(DtInteractionClassHandle handle,
56  DtMomInteractionCreator function);
57 
58 protected:
59 
61  MAKRti::DtHashList *myMap;
62 
64  DtHandleMapper* myHandleMapper;
65 
67  std::set<const char*> myBadMappings;
68 
69 private:
70 
72  DtMomInteractionFactory(const DtMomInteractionFactory& orig);
73 
75  DtMomInteractionFactory& operator=(const DtMomInteractionFactory& orig);
76 };
77 
78 #endif
79 #endif
DtHandle DtInteractionClassHandle
Definition: internalTypes.h:52
Definition: intClassInfo.h:40
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)