This is a C++11 library for the LSM9DS1 on a Raspberry PI using a callback handler for the data.
github repository