Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
mcr::ISignal Struct Reference

Public Member Functions

mcr_Interfaceinterface ()
 
 ISignal (Libmacro *context=nullptr, mcr_signal_fnc send=nullptr, mcr_IDispatcher *dispatcher=nullptr)
 
 ISignal (const ISignal &)=default
 
ISignaloperator= (const ISignal &copytron)=default
 
mcr_ISignaloperator* ()
 
const mcr_ISignaloperator* () const
 
Libmacrocontext () const
 
template<typename ISignalMemberT >
ISignalbuild ()
 

Static Public Member Functions

template<typename ISignalMemberT >
static void * allocate ()
 
template<typename ISignalMemberT >
static void deallocate (void *dataPt)
 
template<typename ISignalMemberT >
static int compare (const void *lhsPt, const void *rhsPt)
 
template<typename ISignalMemberT >
static int copy (void *dstPt, const void *srcPt)
 
template<typename ISignalMemberT >
static int sendFn (mcr_Signal *signalPt)
 

Public Attributes

mcr_ISignal self
 

Detailed Description

Definition at line 32 of file wrappers.h.

Constructor & Destructor Documentation

§ ISignal()

mcr::ISignal::ISignal ( Libmacro context = nullptr,
mcr_signal_fnc  send = nullptr,
mcr_IDispatcher dispatcher = nullptr 
)
Parameters
contextIf null the last created context will be used. Throws EFAULT if no context exists
sendmcr_ISignal::send
dispatcheropt mcr_ISignal.dispatcher exist.

Member Function Documentation

§ allocate()

template<typename ISignalMemberT >
static void* mcr::ISignal::allocate ( )
inlinestatic

mcr_Interface::allocate

Definition at line 87 of file wrappers.h.

§ compare()

template<typename ISignalMemberT >
static int mcr::ISignal::compare ( const void *  lhsPt,
const void *  rhsPt 
)
inlinestatic

mcr_Interface::compare

Definition at line 102 of file wrappers.h.

§ copy()

template<typename ISignalMemberT >
static int mcr::ISignal::copy ( void *  dstPt,
const void *  srcPt 
)
inlinestatic

mcr_Interface::copy

Definition at line 115 of file wrappers.h.

§ deallocate()

template<typename ISignalMemberT >
static void mcr::ISignal::deallocate ( void *  dataPt)
inlinestatic

mcr_Interface::deallocate

Definition at line 94 of file wrappers.h.

§ sendFn()

template<typename ISignalMemberT >
static int mcr::ISignal::sendFn ( mcr_Signal signalPt)
inlinestatic

mcr_ISignal::send

Definition at line 129 of file wrappers.h.


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