VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfHla4DriverCreator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vrfHla4/vrfHla4.h>
10 
11 namespace makVrf
12 {
13  namespace VRF_PROTOCOL_NAMESPACE
14  {
16  {
17  public:
19  makVrv::DtAgentManager& agentManager, const std::string& instanceName) const override
20  {
21  DtVrfDriver* driver = new DtVrfDriver(agentManager,instanceName);
22 
23  driver->initialize();
24 
25  return driver;
26  }
27 
29  : myFileExtension("vrfhla4")
30  {
31  }
32 
33  virtual ~DtVrfHla4DriverCreator() override {}
34 
35  virtual const std::string& extension() const override {
36  return myFileExtension;
37  }
38 
39  protected:
40  std::string myFileExtension;
41  };
42  }
43 }
std::string myFileExtension
Definition: vrfHla4DriverCreator.h:40
virtual ~DtVrfHla4DriverCreator() override
Definition: vrfHla4DriverCreator.h:33
virtual const std::string & extension() const override
Get the name of the sim driver file connection.
Definition: vrfHla4DriverCreator.h:35
#define VRF_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:14
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:31
DtVrfHla4DriverCreator()
Definition: vrfHla4DriverCreator.h:28
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
#define DT_DLL_VRFHLA4
Definition: vrfHla4.h:22
Definition: vrfHla4DriverCreator.h:15
Abstract DtDriver creator.
Definition: DtDriver.h:208
virtual makVrv::DtDriver * create(makVrv::DtAgentManager &agentManager, const std::string &instanceName) const override
Create a driver.
Definition: vrfHla4DriverCreator.h:18
The Driver for DIS.
Definition: vrfDriver.h:88

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)