| Line 15... |
Line 15... |
| 15 |
\description{ The classes described here are used by the R function
|
15 |
\description{ The classes described here are used by the R function
|
| 16 |
\code{\link{trace}} to create versions of functions and methods
|
16 |
\code{\link{trace}} to create versions of functions and methods
|
| 17 |
including browser calls, etc., and also to \code{\link{untrace}} the
|
17 |
including browser calls, etc., and also to \code{\link{untrace}} the
|
| 18 |
same objects.}
|
18 |
same objects.}
|
| 19 |
\section{Objects from the Class}{
|
19 |
\section{Objects from the Class}{
|
| 20 |
Objects will be created from these classes by calls to \code{trace}.
|
20 |
Objects will be created from these classes by calls to \code{trace}.
|
| 21 |
(There is an \code{\link{initialize}} method for class
|
21 |
(There is an \code{\link{initialize}} method for class
|
| 22 |
\code{"traceable"}, but you are unlikely to need it directly.)
|
22 |
\code{"traceable"}, but you are unlikely to need it directly.)
|
| 23 |
}
|
23 |
}
|
| 24 |
\usage{
|
24 |
\usage{
|
| 25 |
### Objects from the following classes are generated
|
25 |
### Objects from the following classes are generated
|
| 26 |
### by calling trace() on an object from the corresponding
|
26 |
### by calling trace() on an object from the corresponding
|
| 27 |
### class without the "WithTrace" in the name.
|
27 |
### class without the "WithTrace" in the name.
|
| Line 38... |
Line 38... |
| 38 |
"traceable"
|
38 |
"traceable"
|
| 39 |
}
|
39 |
}
|
| 40 |
\section{Slots}{
|
40 |
\section{Slots}{
|
| 41 |
\describe{
|
41 |
\describe{
|
| 42 |
\item{\code{.Data}:}{The data part, which will be \code{"function"}
|
42 |
\item{\code{.Data}:}{The data part, which will be \code{"function"}
|
| 43 |
for class \code{"functionWithTrace"}, and similarly for the other classes. }
|
43 |
for class \code{"functionWithTrace"}, and similarly for the other
|
| - |
|
44 |
classes.}
|
| 44 |
\item{\code{original}:}{Object of the original class; e.g.,
|
45 |
\item{\code{original}:}{Object of the original class; e.g.,
|
| 45 |
\code{"function"} for class \code{"functionWithTrace"}. }
|
46 |
\code{"function"} for class \code{"functionWithTrace"}. }
|
| 46 |
}
|
47 |
}
|
| 47 |
}
|
48 |
}
|
| 48 |
\section{Extends}{
|
49 |
\section{Extends}{
|
| 49 |
Each of the classes extends the corresponding untraced class, from the data part; e.g.,
|
50 |
Each of the classes extends the corresponding untraced class, from the
|
| 50 |
\code{"functionWithTrace"} extends \code{"function"}.
|
51 |
data part; e.g., \code{"functionWithTrace"} extends \code{"function"}.
|
| 51 |
Each of the specific classes extends \code{"traceable"}, directly,
|
52 |
Each of the specific classes extends \code{"traceable"}, directly,
|
| 52 |
and class \code{"VIRTUAL"}, by class "traceable".
|
53 |
and class \code{"VIRTUAL"}, by class \code{"traceable"}.
|
| 53 |
}
|
54 |
}
|
| 54 |
\section{Methods}{
|
55 |
\section{Methods}{
|
| 55 |
The point of the specific classes is that objects generated from them,
|
56 |
The point of the specific classes is that objects generated from them,
|
| 56 |
by function \code{trace()}, remain callable or dispatchable, in addition
|
57 |
by function \code{trace()}, remain callable or dispatchable, in
|
| 57 |
to their new trace information.
|
58 |
addition to their new trace information.
|
| 58 |
}
|
59 |
}
|
| 59 |
\seealso{ function \code{\link{trace}} }
|
60 |
\seealso{ function \code{\link{trace}} }
|
| 60 |
|
- |
|
| 61 |
\keyword{classes}
|
61 |
\keyword{classes}
|