device::nic::CAN::SimulateInterruptViaThreadAdapter< Base, InterruptProvider > Class Template Reference
This class enable asynchronous notification by simulating an interrupt with a thread, that block on a resource. If the resource gets ready, it calls a delegate for serving the asynchronous action like an interrupt. More...
#include <SimulateInterruptViaThreadAdapter.h>
Public Types | |
typedef bool | asio_tag |
Public Member Functions | |
void | init () |
initialize the base and activates the service thread |
Detailed Description
template<class Base, class InterruptProvider = RxInterrupt>
class device::nic::CAN::SimulateInterruptViaThreadAdapter< Base, InterruptProvider >
This class enable asynchronous notification by simulating an interrupt with a thread, that block on a resource. If the resource gets ready, it calls a delegate for serving the asynchronous action like an interrupt.
- Template Parameters:
-
Base is the class/type for which the additional interrupt functionality is provides InterruptProvider offers the interface and functionality of interrupts and the SimulateInterruptViaThreadAdapter calls a generic interrupt fire method if the ressource gets ready.
Member Typedef Documentation
template<class Base , class InterruptProvider = RxInterrupt>
typedef bool device::nic::CAN::SimulateInterruptViaThreadAdapter< Base, InterruptProvider >::asio_tag |
Member Function Documentation
template<class Base , class InterruptProvider = RxInterrupt>
void device::nic::CAN::SimulateInterruptViaThreadAdapter< Base, InterruptProvider >::init | ( | ) | [inline] |
initialize the base and activates the service thread
References famouso::util::impl::start_ios().
The documentation for this class was generated from the following file:
- include/devices/nic/can/PAXCAN/SimulateInterruptViaThreadAdapter.h