Namespaces | Functions
DeviceUtilities.h File Reference
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 SurgSim
 
 SurgSim::Input
 
 SurgSim::Devices
 

Functions

std::shared_ptr< DeviceInterfaceSurgSim::Devices::createDevice (const std::vector< std::string > &classNames, const std::string &name)
 Attempts to create and initialize a device from a list of devices to try. More...
 
std::shared_ptr< Input::DeviceInterface > SurgSim::Devices::createDevice (const std::string &className, const std::string &name)
 Attempts to create and initialize a device. More...
 
std::shared_ptr< DeviceInterfaceSurgSim::Devices::loadDevice (const std::string &fileName)
 Loads a single device from the file, the first device that successfully initializes. More...