dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dxd::broadcast Class Reference

broadcast signalization of participating linked event items More...

#include <dxd_sync.h>

Inheritance diagram for dxd::broadcast:
Collaboration diagram for dxd::broadcast:

Classes

class  listener
 a client's listener: the user event of the IOCTL that registered it, woken by every signal() until another registration replaces it or the client goes More...

Public Member Functions

bool compare_exchange(const link *& expected, const link *& desired)
bool compare_exchange(const doubly::linked::abstract::event *& expected, const doubly::linked::abstract::event *& desired)
return_t each(exec_t exec)
 operator volatile doubly::linked::abstract::event *&()
link* operator &=(const link *& mask)
doubly::linked::abstract::event* operator &=(const doubly::linked::abstract::event *& mask)
doubly::linked::abstract::event* operator ++()
 ++atomic<>
doubly::linked::abstract::event* operator ++(int)
 atomic<>++
link* operator +=(const link *& amount)
doubly::linked::abstract::event* operator +=(const doubly::linked::abstract::event *& amount)
doubly::linked::abstract::event* operator --()
 –atomic<>
doubly::linked::abstract::event* operator --(int)
 atomic<>–
link* operator -=(const link *& amount)
doubly::linked::abstract::event* operator -=(const doubly::linked::abstract::event *& amount)
link* operator |=(const link *& mask)
doubly::linked::abstract::event* operator |=(const doubly::linked::abstract::event *& mask)
doubly::linked::abstract::event* pop(doubly::linked::abstract::event* item)
 remove participating event, acquirable up to DISPATCH_LEVEL
doubly::linked::abstract::event* pop()
 pop item from head
list& print()
doubly::linked::abstract::event* push(doubly::linked::abstract::event* item)
 push participating event, acquirable up to DISPATCH_LEVEL
item_t* push(item_t* item)
 push item to head
os_result signal()

Protected Member Functions

void __lock()
void __unlock()
 operator const ::KSPIN_LOCK&() const
 operator const ::KSPIN_LOCK*() const
 operator volatile link *&()
 operator ::IOLock*()
 operator ::KSPIN_LOCK&()
 operator ::KSPIN_LOCK*()

Protected Attributes

os_result status{ok}
volatile doubly::linked::abstract::event* value

Detailed Description

broadcast signalization of participating linked event items

Member Function Documentation

◆ __lock()

void dxd::spinlock::__lock()
inlineprotectedinherited

◆ __unlock()

void dxd::spinlock::__unlock()
inlineprotectedinherited

◆ compare_exchange() [1/2]

bool dxd::__atomic_scalar<int, link*>::compare_exchange(const link*& expected, const link*& desired)
inlineinherited

◆ compare_exchange() [2/2]

bool dxd::__atomic_scalar<int, doubly::linked::abstract::event*>::compare_exchange(const doubly::linked::abstract::event*& expected, const doubly::linked::abstract::event*& desired)
inlineinherited

◆ each()

return_t dxd::linked::list<doubly::linked::abstract::event>::each(exec_t exec)
inlineinherited
Here is the caller graph for this function:

◆ operator const ::KSPIN_LOCK &()

dxd::spinlock::operator const ::KSPIN_LOCK&() const
inlineinherited

◆ operator const ::KSPIN_LOCK *()

dxd::spinlock::operator const ::KSPIN_LOCK*() const
inlineinherited

◆ operator volatile doubly::linked::abstract::event *&()

◆ operator volatile link *&()

dxd::__atomic_scalar<int, link*>::operator volatile link*&()
inlineinherited

◆ operator &=() [1/2]

link* dxd::__atomic_scalar<int, link*>::operator &=(const link*& mask)
inlineinherited

◆ operator &=() [2/2]

◆ operator ++() [1/2]

◆ operator ++() [2/2]

◆ operator +=() [1/2]

link* dxd::__atomic_scalar<int, link*>::operator +=(const link*& amount)
inlineinherited

◆ operator +=() [2/2]

◆ operator --() [1/2]

◆ operator --() [2/2]

◆ operator -=() [1/2]

link* dxd::__atomic_scalar<int, link*>::operator -=(const link*& amount)
inlineinherited

◆ operator -=() [2/2]

◆ operator ::IOLock *()

dxd::mutex::operator ::IOLock*()
inlineinherited

◆ operator ::KSPIN_LOCK &()

dxd::spinlock::operator ::KSPIN_LOCK&()
inlineinherited

◆ operator ::KSPIN_LOCK *()

dxd::spinlock::operator ::KSPIN_LOCK*()
inlineinherited

◆ operator |=() [1/2]

link* dxd::__atomic_scalar<int, link*>::operator |=(const link*& mask)
inlineinherited

◆ operator |=() [2/2]

◆ pop() [1/2]

remove participating event, acquirable up to DISPATCH_LEVEL

Here is the call graph for this function:

◆ pop() [2/2]

◆ print()

Here is the call graph for this function:

◆ push() [1/2]

push participating event, acquirable up to DISPATCH_LEVEL

Here is the call graph for this function:

◆ push() [2/2]

template<typename item_t= link>
item_t* dxd::linked::list<item_t>::push(item_t* item)
inlineinherited

push item to head

Here is the caller graph for this function:

◆ signal()

os_result dxd::broadcast::signal()
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ status

os_result dxd::spinlock::status{ok}
inherited

◆ value


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