VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
joyDeviceControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
17 
18 
23 
25 {
26 public:
29 
32 
34  virtual void setJoystickControls(const DtRwJoystickControls&) = 0;
35  virtual const DtRwJoystickControls& joystickControls() const = 0;
36 
38  virtual bool hasFunctionGroup(const DtString&) const = 0;
39 };
40 
41 template <typename BaseDescriptorClass>
43 {
44 public:
47  DtReaderWriterRegistry* parentRegistry = NULL);
49  DtReaderWriterRegistry* parentRegistry = NULL);
50 
53 
57  DtReaderWriterRegistry* parentRegistry = NULL);
58 
62 
64  parentRegistry = NULL) const;
65 
67  virtual void setJoystickControls(const DtRwJoystickControls&);
68  virtual const DtRwJoystickControls& joystickControls() const;
69 
71  virtual bool hasFunctionGroup(const DtString&) const;
72 
73  static DtComponentDescriptor * creator();
74 
76  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
77  const DtVariableBindingsList& variableBindings);
78 
79 protected:
80  virtual void createFunctionGroupMap();
81 
82 protected:
84  std::map<DtString, std::set<DtString> > myFunctionGroupLookup;
85 };
86 
89 {
90 public:
92  DtReaderWriterRegistry* parentRegistry = NULL)
94  {
95  }
96 
98  DtReaderWriterRegistry* parentRegistry = NULL)
100  {
101  }
102 
104  DtReaderWriterRegistry* parentRegistry = NULL)
106  {
107  }
108 
111 
114  virtual DtString type() const
115  {
117  }
118 };
119 
120 #include <vrfobjparam/joyDeviceControllerDescriptor.inl>

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)