VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ballisticGunJoyControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
17 const char DtBallisticGunJoyControllerDescriptorType[] = "ballistic-gun-joy-ctrl-descriptor";
18 
19 class DtBallisticGunJoyControllerDescriptor : public DtJoyDeviceControllerDescriptorTemplate<DtBallisticGunControllerDescriptor>
20 {
21 public:
23  DtReaderWriterRegistry* parentRegistry = NULL)
25  {
26  }
27 
29  DtReaderWriterRegistry* parentRegistry = NULL)
31  {
32  }
33 
35  DtReaderWriterRegistry* parentRegistry = NULL)
37  {
38  }
39 
42 
43  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override
44  {
45  return new DtBallisticGunJoyControllerDescriptor(*this, parentRegistry);
46  }
47 
49  {
51  }
52 
55  virtual DtString type() const override {
57  }
58 };
Definition: joyDeviceControllerDescriptor.h:42
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
Definition: ballisticGunJoyControllerDescriptor.h:19
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const override
Definition: ballisticGunJoyControllerDescriptor.h:43
DtBallisticGunJoyControllerDescriptor(const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Definition: ballisticGunJoyControllerDescriptor.h:22
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual DtString type() const override
Returns the type of descriptor. This will be used to create the descriptor read from an mtl file...
Definition: ballisticGunJoyControllerDescriptor.h:55
Definition: readerWriterRegistry.h:39
DtBallisticGunJoyControllerDescriptor(const DtBallisticGunJoyControllerDescriptor &orig, DtReaderWriterRegistry *parentRegistry=NULL)
Definition: ballisticGunJoyControllerDescriptor.h:34
const char DtBallisticGunJoyControllerDescriptorType[]
DtBallisticGunJoyControllerDescriptor; descriptor for the DtBallisticJoystickGunController component...
Definition: ballisticGunJoyControllerDescriptor.h:17
static DtComponentDescriptor * creator()
Definition: ballisticGunJoyControllerDescriptor.h:48
DtBallisticGunJoyControllerDescriptor(const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Definition: ballisticGunJoyControllerDescriptor.h:28
virtual ~DtBallisticGunJoyControllerDescriptor() override
destructor
Definition: ballisticGunJoyControllerDescriptor.h:41
DtBallisticGunControllerDescriptor, descriptor for the DtBallisticGunController component.
Definition: ballisticGunControllerDescriptor.h:28
virtual DtSymbolString name() const
Accessor for name of this readable/writable object.

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)