You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining own messages derived from igtl::MessageBase or other bases, the igtlTypeMacro can only be used when the defining class is inside the igtl namespace. The reason is the reference to the SmartPointer template which is not fully qualified in the macro. A workaround is to use a template<typename T> using SmartPointer = igtl::SmartPointer<T>; before using the macro, but in my opinion the macro should be changed to use igtl::SmartPointer directly instead.
The text was updated successfully, but these errors were encountered:
When defining own messages derived from
igtl::MessageBase
or other bases, theigtlTypeMacro
can only be used when the defining class is inside theigtl
namespace. The reason is the reference to theSmartPointer
template which is not fully qualified in the macro. A workaround is to use atemplate<typename T> using SmartPointer = igtl::SmartPointer<T>;
before using the macro, but in my opinion the macro should be changed to useigtl::SmartPointer
directly instead.The text was updated successfully, but these errors were encountered: