{"push_id":773061807,"size":6,"distinct_size":6,"ref":"refs/heads/master","head":"da4dc8c3c17f56256a31d3fb782e2965577f6421","before":"89d6bc7c56b3966c940d654007442ca24d7f7dc7","commits":[{"sha":"29c92aa3d858fe51db8d77d3bb3ff8a68cb835a5","author":{"email":"2a0bb3de942a7ac31ea12b0ed318fcff822d3138@simquest.com","name":"Ryan Beasley"},"message":"Adds DeviceInterface::createDevice.  Tries to get a device from factory.","distinct":true,"url":"https://api.github.com/repos/simquest/opensurgsim/commits/29c92aa3d858fe51db8d77d3bb3ff8a68cb835a5"},{"sha":"e5f5eace7a565637ffe046a0763405a4b86303df","author":{"email":"92c82fff1bd090cafbc2a9901da99f7a1a309eb5@simquest.com","name":"Paul Novotny"},"message":"Move createDevice to Devices.h put device libraries in SurgSimDevices\n\nPreviously, when using createDevice, you had to ensure to include the h\nfile for each device you wanted to use (for static registration and\nfactory registration of the device). This could be done also if you\nremembered to include Devices.h. In addition, you had to be sure to\nlink to the device library using a cmake variable\nSURGSIM_DEVICE_LIBRARIES. This change put createDevice into a free\nfunction that is included in Devices.h. This make it easier to not\nforget to include this, since if you include Devices.h you get all the\nbuilt device headers (and the devices in the factors) as well as\ncreateDevice. In addition, all the build devices are linked against a\nnew library (SurgSimDevices). So to use all the avaliable devices, just\nlink against this. So now using createDevice is a bit simpler. include\nDevices.h, and link to SurgSimDevices.\n\nAlso, clarified the createDevice documentation, and switched the\nparameter order to match ObjectFactory::create. ie, className first,\nthan parameter name. It gets a bit confusing if you are using the device\nfactory and the createDevice function.","distinct":true,"url":"https://api.github.com/repos/simquest/opensurgsim/commits/e5f5eace7a565637ffe046a0763405a4b86303df"},{"sha":"1625013317df3d5d3c9883afc5ed444651b6f27e","author":{"email":"2a0bb3de942a7ac31ea12b0ed318fcff822d3138@simquest.com","name":"Ryan Beasley"},"message":"DeviceInterface needs a virtual destructor.\n\nWe expect to hold derived classes (devices) in DeviceInterface,\na base class pointer, and we need the derived classes' destructors\nto be called because they cleanup the device state.\nA future commit may move all the cleanup into the finalize function,\nand then the DeviceInterface destructor can just call finalize\nand there won't be a need for the derived classes to define destructors.","distinct":true,"url":"https://api.github.com/repos/simquest/opensurgsim/commits/1625013317df3d5d3c9883afc5ed444651b6f27e"},{"sha":"f42a148458332396c65089418f951f8939d0ca04","author":{"email":"2a0bb3de942a7ac31ea12b0ed318fcff822d3138@simquest.com","name":"Ryan Beasley"},"message":"DeviceUtilities::createDevice takes fully qualified classnames.\n\nAlso makes the logging more complete.","distinct":true,"url":"https://api.github.com/repos/simquest/opensurgsim/commits/f42a148458332396c65089418f951f8939d0ca04"},{"sha":"983a412f564c9afa319d2d04cafe0ba19229ab92","author":{"email":"2a0bb3de942a7ac31ea12b0ed318fcff822d3138@simquest.com","name":"Ryan Beasley"},"message":"Fix the UnitTests for what is now SurgSimDevices, i.e., DeviceUtilities.","distinct":true,"url":"https://api.github.com/repos/simquest/opensurgsim/commits/983a412f564c9afa319d2d04cafe0ba19229ab92"},{"sha":"da4dc8c3c17f56256a31d3fb782e2965577f6421","author":{"email":"2a0bb3de942a7ac31ea12b0ed318fcff822d3138@simquest.com","name":"Ryan Beasley"},"message":"Merge branch 'feature/createDevice' into 'master'\n\nRefactors createDevice into DeviceInterface.  Get a device from the factory.\n\n+1: Gughan Sathyaseelan, Julien Lenoir\n\nMerged-on: https://assembla.com/code/OpenSurgSim/git/merge_requests/2188183","distinct":true,"url":"https://api.github.com/repos/simquest/opensurgsim/commits/da4dc8c3c17f56256a31d3fb782e2965577f6421"}]}