VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfDisDriverCreator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtVrfDisDriver.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #pragma once
15 
16 #include <vrfDis/vrfDis.h>
18 
19 namespace makVrf
20 {
21  namespace VRF_PROTOCOL_NAMESPACE
22  {
24  {
25  public:
27  makVrv::DtAgentManager& agentManager, const std::string& instanceName) const override
28  {
29  DtVrfDriver* driver = new DtVrfDriver(agentManager, instanceName);
30  driver->initialize();
31 
32  return driver;
33  }
34 
36  : myFileExtension("vrfdis")
37  {
38  }
39 
40  virtual ~DtVrfDisDriverCreator() override {}
41 
42  virtual const std::string& extension() const override {
43  return myFileExtension;
44  }
45 
46  protected:
47  std::string myFileExtension;
48 
49  };
50  }
51 }
virtual makVrv::DtDriver * create(makVrv::DtAgentManager &agentManager, const std::string &instanceName) const override
Create a driver.
Definition: vrfDisDriverCreator.h:26
std::string myFileExtension
Definition: vrfDisDriverCreator.h:47
virtual ~DtVrfDisDriverCreator() override
Definition: vrfDisDriverCreator.h:40
#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
DtVrfDisDriverCreator()
Definition: vrfDisDriverCreator.h:35
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
#define DT_DLL_VRFDIS
Definition: vrfDis.h:26
virtual const std::string & extension() const override
Get the name of the sim driver file connection.
Definition: vrfDisDriverCreator.h:42
Definition: vrfDisDriverCreator.h:23
Abstract DtDriver creator.
Definition: DtDriver.h:208
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)