Some base classes for simplifing ROS camera driver node.