VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfObjectClassChooser.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #if DtHLA
9 
12 #include <tbb/mutex.h>
13 
14 class DtVrfParameterDb;
15 
20 {
21 
22 public:
23 
24  DtVrfObjectClassChooser(DtExerciseConn* exConn, const char* vrlinkClassName,
25  DtObjectSuperType superType, const DtVrfParameterDb* paramDb);
26 
27  virtual ~DtVrfObjectClassChooser();
28 
30  virtual char* chooseClass(const char* vrlClass, DtExerciseConn* conn, void* fomClassSpecific);
31 
33  virtual void setParameterDb(const DtVrfParameterDb* paramDb);
34 
36  virtual const DtVrfParameterDb* parameterDb() const;
37 
38  static tbb::mutex theHlaMutex;
39 
40 protected:
41 
43 
44 };
45 
46 typedef DtBoost::shared_ptr<DtObjectClassChooser> DtObjectClassChooserPtr;
47 
48 #endif
Instances of DtVrfParameterDb are the database of DtVrfObjectParameters objects used in the construct...
Definition: vrfParameterDb.h:40
static tbb::mutex theHlaMutex
Definition: vrfObjectClassChooser.h:38
const DtVrfParameterDb * myParameterDb
Definition: vrfObjectClassChooser.h:42
The VR-Forces implementation of the DtObjectClassChooser uses the DtVrfParameterDb to determine what ...
Definition: vrfObjectClassChooser.h:19
#define DT_DLL_vrfExtendedProperties
This file is used to determine how to build.
Definition: vrfExtendedPropertiesDefines.h:25
static char * chooseClass(const char *vrlClass, DtExerciseConn *conn, void *fomClassSpecific, void *usr)
Chooses the class to publish. The usr pointer must be an instance of this class. Calls the chooseClas...
This class is used to choose the object class to publish. By default it uses the classes configured i...
Definition: objectClassChooser.h:20
DtBoost::shared_ptr< DtObjectClassChooser > DtObjectClassChooserPtr
Definition: vrfObjectClassChooser.h:46

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)