OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
RemoteHandlerFactory.cpp
Go to the documentation of this file.
1 
11 // Copyright 2015 Sensics, Inc.
12 //
13 // Licensed under the Apache License, Version 2.0 (the "License");
14 // you may not use this file except in compliance with the License.
15 // You may obtain a copy of the License at
16 //
17 // http://www.apache.org/licenses/LICENSE-2.0
18 //
19 // Unless required by applicable law or agreed to in writing, software
20 // distributed under the License is distributed on an "AS IS" BASIS,
21 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 // See the License for the specific language governing permissions and
23 // limitations under the License.
24 
25 // Internal Includes
27 #include "AnalogRemoteFactory.h"
28 #include "ButtonRemoteFactory.h"
29 #include "DirectionRemoteFactory.h"
31 #include "ImagingRemoteFactory.h"
34 #include "TrackerRemoteFactory.h"
35 
36 // Library/third-party includes
37 // - none
38 
39 // Standard includes
40 // - none
41 
42 namespace osvr {
43 namespace client {
44  void populateRemoteHandlerFactory(RemoteHandlerFactory &factory,
45  VRPNConnectionCollection const &conns) {
47  TrackerRemoteFactory(conns).registerWith(factory);
48  AnalogRemoteFactory(conns).registerWith(factory);
49  ButtonRemoteFactory(conns).registerWith(factory);
50  ImagingRemoteFactory(conns).registerWith(factory);
51  EyeTrackerRemoteFactory(conns).registerWith(factory);
52  Location2DRemoteFactory(conns).registerWith(factory);
53  LocomotionRemoteFactory(conns).registerWith(factory);
54  DirectionRemoteFactory(conns).registerWith(factory);
55  }
56 
57 } // namespace client
58 } // namespace osvr