|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
29 #ifndef NVIDIA_DEEPSTREAM_SIGNAL_HANDLER
30 #define NVIDIA_DEEPSTREAM_SIGNAL_HANDLER
73 SignalHandler(
const std::string& name, IActionProvider* provider);
84 SignalHandler(
const std::string& name,
const char* factory, IActionProvider* provider);
90 static unsigned long type();
static unsigned long type()
Return the type id assigned to signal handler.
required interface for a signal handler
Base class for all the custom objects.
virtual const Callback * getCallbacks()=0
return the callback
void * fn
callback function pointer
generic callback on the signal
void * getCallbackFn(const std::string &name) const
Return the callback for a specific signal.
SignalHandler(const std::string &name, IActionProvider *provider)
Constructor.
std::unique_ptr< IActionProvider > provider_
std::string name
name of the signal
virtual ~SignalHandler()
Destructor.
virtual ~IActionProvider()