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  return new DtVrfDriver(agentManager,instanceName);
30  }
31 
33  : myFileExtension("vrfdis")
34  {
35  }
36 
37  virtual ~DtVrfDisDriverCreator() override {}
38 
39  virtual const std::string& extension() const override {
40  return myFileExtension;
41  }
42 
43  protected:
44  std::string myFileExtension;
45 
46  };
47  }
48 }
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:44
virtual ~DtVrfDisDriverCreator() override
Definition: vrfDisDriverCreator.h:37
#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:30
DtVrfDisDriverCreator()
Definition: vrfDisDriverCreator.h:32
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:39
Definition: vrfDisDriverCreator.h:23
Abstract DtDriver creator.
Definition: DtDriver.h:204
The Driver for DIS.
Definition: vrfDriver.h:89

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)