Inherits NV::Rules::IBaseContext.
Public Member Functions | |
virtual std::string | get_version ()=0 |
Get version number of this interface. | |
virtual bool | handle_exception (const char *msg)=0 |
Context exception handler. | |
virtual void | require_metric (const char *metric)=0 |
virtual void | require_rule (const char *rule)=0 |
virtual std::string NV::Rules::IBaseContext::get_version | ( | ) | [pure virtual, inherited] |
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.
virtual bool NV::Rules::IBaseContext::handle_exception | ( | const char * | msg | ) | [pure virtual, inherited] |
Should return true if a python exception should be set, false otherwise
virtual void NV::Rules::IEvaluator::require_metric | ( | const char * | metric | ) | [pure virtual] |
Define that the specified metric
must have been collected in order for the calling rule to be applied.
virtual void NV::Rules::IEvaluator::require_rule | ( | const char * | rule | ) | [pure virtual] |
Define that the specified rule
must be available and ready to be applied in order for the calling rule to be applied itself.