How do I have an object inherit another one in C++?

I am creating a C++ class that takes care of all sorts of things, but the message log tells me it must be inherit a UOBJECT. I have no idea what this means nor how to set up inheritance.