The usage for the function get_lock was because I hadn't fully started using exceptions yet, which in turn meant I wanted a local function to check that the object had created the lock file, and it did it by checking to see if the object's file descriptor was not -1.
So, added a throw to the Lock_File object constructer, get rid of the front end code that checks the value, and get rid of the method that provides it.
Lock_File -> LockFile - check.
Assignment changed to initialization, overloaded added - check.
\nLockFile(const LockFile&) {}\n
This is a constructor that takes an argument of an address of a LockFile object. But what does it actually do?
\nLockFile& operator=(const LockFile&) {}\n
This is an override of an equals that returns is address of the LockFile object - right?