MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / registerWith

Method registerWith

src/osvr/Client/ButtonRemoteFactory.h:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 ButtonRemoteFactory(VRPNConnectionCollection const &conns);
48
49 template <typename T> void registerWith(T &factory) const {
50 factory.addFactory("button", *this);
51 }
52
53 shared_ptr<RemoteHandler>
54 operator()(common::OriginalSource const &source,

Callers 1

Calls 1

addFactoryMethod · 0.80

Tested by

no test coverage detected