Objects of this class represent identifying handles to installed point probes. Using these probe handles, your analysis tool can manipulate the installed point probes. For example, your analysis tool code will need a probe handle in order to:
Synopsis
#include <ProbeHandle.h> ProbeHandle(void); ProbeHandle(const ProbeHandle ©);
Parameters
Description
Two constructors are provided with this class; a default constructor and a copy constructor. The default constructor is able to create storage, marked initially as containing invalid probe handles, that may later be assigned or initialized through a probe installation.
The copy constructor performs a similar operation to assignment, but operates on an uninitialized object.
Exceptions
See Also
Application::binstall_probe, Application::install_probe, Process::binstall_probe Process::install_probe.
Synopsis
#include <ProbeHandle.h> ProbeExp get_expression(void);
Description
Returns the original probe expression installed in the application process. Note that the expression returned is a copy, so alterations to the original after it has been installed will be not reflected in the expression returned by this function.
Return Values
Returns a copy of the probe expression installed in the application process.
See Also
Class ProbeExp
Synopsis
#include <ProbeHandle.h> InstPoint get_point(void);
Description
Returns the original instrumentation point where the probe expression was installed in the application process.
Return Values
Returns the instrumentation point where the probe expression was installed in the application process.
See Also
Class InstPoint
Synopsis
#include <ProbeHandle.h> ProbeHandle &operator = (const ProbeHandle ©);
Parameters
Description
Assigns the value of the right operand to the invoking object. The left operand is the invoking object.
For example,
ProbeHandle rhs, lhs; ... lhs = rhs;
assigns the value of rhs to lhs. ProbeHandle objects would then contain the same value.
Return Values
Returns a reference to the invoking object.