We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc40c6 commit 53bde5cCopy full SHA for 53bde5c
src/gentypes.jl
@@ -621,11 +621,11 @@ _typedefault(::Type{Duration}) = Duration(0,0)
621
622
#Default method to get the "pkg/type" string from a generated DataType.
623
#Extended by the generated modules.
624
-function _typerepr end
+_typerepr{T}(::Type{T}) = error("Not a ROS type")
625
626
-#Default methods to get the request/response datatypes for a generated service
627
-function _srv_reqtype end
628
-function _srv_resptype end
+#Default method to get the request/response datatypes for a generated service
+_srv_reqtype{T}( ::Type{T}) = error("Not a ROS Service type")
+_srv_resptype{T}(::Type{T}) = error("Not a ROS Service type")
629
630
#Accessors for the package name
631
_name(p::ROSPackage) = p.name
0 commit comments