|
winss
|
Wraps a windows event. More...
#include <event_wrapper.hpp>
Public Member Functions | |
| EventWrapper () | |
| Creates the event wrapper. More... | |
| EventWrapper (const EventWrapper &e)=default | |
| Copies the event wrapper. More... | |
| EventWrapper (EventWrapper &&e)=default | |
| Move the event wrapper. More... | |
| bool | IsSet () const |
| Gets if the event is set or not. More... | |
| winss::HandleWrapper | GetHandle () const |
| Gets a handle to the event. More... | |
| bool | Set () |
| Trigger the event. More... | |
| bool | Reset () |
| Resets the event. More... | |
| EventWrapper & | operator= (const EventWrapper &e)=default |
| Copies the event wrapper. More... | |
| EventWrapper & | operator= (EventWrapper &&e)=default |
| Move the event wrapper. More... | |
Wraps a windows event.
| winss::EventWrapper::EventWrapper | ( | ) |
Creates the event wrapper.
|
default |
Copies the event wrapper.
Any ownership rights will not be copied.
| e | The event wrapper to copy. |
|
default |
Move the event wrapper.
Any ownership rights will be moved
| e | The event wrapper to move. |
| winss::HandleWrapper winss::EventWrapper::GetHandle | ( | ) | const |
Gets a handle to the event.
References winss::TrustedHandleWrapper::GetHandleWrapper().
Referenced by winss::WaitMultiplexer::AddCloseEvent(), winss::SvScanTmpl< TService, TMutex, TProcess >::SvScanTmpl(), and winss::SvScanTmpl< TService, TMutex, TProcess >::Terminate().
| bool winss::EventWrapper::IsSet | ( | ) | const |
Gets if the event is set or not.
References winss::TrustedHandleWrapper::GetHandle(), and WINDOWS.
|
default |
Copies the event wrapper.
Any ownership rights will not be copied.
| e | The event wrapper to copy. |
|
default |
Move the event wrapper.
Any ownership rights will be moved
| e | The event wrapper to move. |
| bool winss::EventWrapper::Reset | ( | ) |
Resets the event.
References winss::TrustedHandleWrapper::GetHandle(), and WINDOWS.
Referenced by winss::SvScanTmpl< TService, TMutex, TProcess >::Terminate().
| bool winss::EventWrapper::Set | ( | ) |
Trigger the event.
References winss::TrustedHandleWrapper::GetHandle(), and WINDOWS.
Referenced by winss::CtrlHandler().
1.8.11