Made into proper abstract base class

Removed unnecessary constructor() function. Added virtual destructor.
Made getEvent and getSensor pure virtual, ensuring this is an abstract
base class.