|
NVIDIA DeepStream SDK API Reference
|
8.0 Release
|
Go to the documentation of this file.
24 #ifndef NVIDIA_DEEPSTREAM_SIGNAL_HANDLER
25 #define NVIDIA_DEEPSTREAM_SIGNAL_HANDLER
68 SignalHandler(
const std::string& name, IActionProvider* provider);
79 SignalHandler(
const std::string& name,
const char* factory, IActionProvider* provider);
85 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::string name
name of the signal
virtual ~SignalHandler()
Destructor.
std::unique_ptr< IActionProvider > provider_
virtual ~IActionProvider()