Ros shared lib base class

missing #ifndef check