Ros shared lib base class

Depends, if there are many other files which use it then I would say platform headers but else this is ok