4.17 Undeclared Identifier issue

It looks like you need to either Forward Declare your type (in the *.h file) or include the Header of the type (in your *.cpp file)