template class ugcs::vsm::Callback_base::Ptr¶
Overview¶
Pointer class type. More…
#include <callback.h> template <class Callback = Callback_base> class Ptr: public std::shared_ptr< Callback_base > { public: // typedefs typedef Callback Callback_type; // construction template <typename... Args> Ptr(Args&&... args); // methods Result_t operator () (); };
Detailed Documentation¶
Pointer class type.
It is callable for convenient callback invocation.
Typedefs¶
typedef Callback Callback_type
Type of target callback.
Construction¶
template <typename... Args> Ptr(Args&&... args)
Constructor accepts the same arguments as std::shared_ptr.
Methods¶
Result_t operator () ()
Call the associated callback.
Parameters:
Nullptr_exception |
if the pointer is null. |