WPILibC++ 2024.3.2
wpi::sig::detail::Slot< Func, trait::typelist< Args... > > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/sigslot/include/wpi/Signal.h>

Inheritance diagram for wpi::sig::detail::Slot< Func, trait::typelist< Args... > >:
wpi::sig::detail::SlotBase< Args... > wpi::sig::detail::SlotState

Public Member Functions

template<typename F >
constexpr Slot (F &&f)
 
virtual void call_slot (Args ...args) override
 
- Public Member Functions inherited from wpi::sig::detail::SlotBase< Args... >
virtual ~SlotBase () noexcept=default
 
virtual void call_slot (Args...)=0
 
void operator() (U &&...u)
 
- Public Member Functions inherited from wpi::sig::detail::SlotState
constexpr SlotState () noexcept
 
virtual ~SlotState ()=default
 
bool connected () const noexcept
 
bool disconnect () noexcept
 
bool blocked () const noexcept
 
void block () noexcept
 
void unblock () noexcept
 

Additional Inherited Members

- Public Types inherited from wpi::sig::detail::SlotBase< Args... >
using base_types = trait::typelist< Args... >
 
- Public Attributes inherited from wpi::sig::detail::SlotBase< Args... >
SlotPtr< Args... > next
 

Constructor & Destructor Documentation

◆ Slot()

template<typename Func , typename... Args>
template<typename F >
constexpr wpi::sig::detail::Slot< Func, trait::typelist< Args... > >::Slot ( F &&  f)
inlineconstexpr

Member Function Documentation

◆ call_slot()

template<typename Func , typename... Args>
virtual void wpi::sig::detail::Slot< Func, trait::typelist< Args... > >::call_slot ( Args ...  args)
inlineoverridevirtual

The documentation for this class was generated from the following file: