VR-Forces 4.5 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:
86 
93 
94  std::map<DtString, std::set<DtString> > myFunctionGroupLookup;
95 };
96 
99 {
100 public:
102  DtReaderWriterRegistry* parentRegistry = NULL)
104  {
105  }
106 
108  DtReaderWriterRegistry* parentRegistry = NULL)
110  {
111  }
112 
114  DtReaderWriterRegistry* parentRegistry = NULL)
116  {
117  }
118 
121 
124  virtual DtString type() const
125  {
127  }
128 };
129 
130 #include <vrfobjparam/joyDeviceControllerDescriptor.inl>

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)