This is a C++ class which abstracts the linux sysfs interface to GPIOs. It was developed on and intended for use on the BeagleBone Black (BBB). Sub-millisecond latencies have been observed with this code on the BBB.