Functions | |
IContext * | NV::Rules::get_context (ContextHandle h) |
Converts the context handle. | |
IEvaluator * | NV::Rules::get_evaluator (ContextHandle h) |
Returns the evaluator object. | |
std::string | NV::Rules::get_version (ContextHandle h) |
Get version number of this interface. | |
void | NV::Rules::raise_exception (ContextHandle h, const char *msg) |
Raises a python exception. |
IContext* NV::Rules::get_context | ( | ContextHandle | h | ) |
Converts the context handle h
to an IContext object
IEvaluator* NV::Rules::get_evaluator | ( | ContextHandle | h | ) |
Return the IEvaluator object from the context handle h
std::string NV::Rules::get_version | ( | ContextHandle | h | ) |
Returns the version number of this interface as a string of the form <year>.<major>.<minor> It matches the Nsight Compute version this interface originates from.
void NV::Rules::raise_exception | ( | ContextHandle | h, | |
const char * | msg | |||
) |
Raise a python exception with msg
. This will terminate the script execution, if the context does not chose to mask the exception