Dataflow Runtime API  2.7.4.0
Public Member Functions | List of all members
imt::base::os::winec7::OSEvent Class Reference

Encapsulates an event. More...

#include <Imt.Base.OS.WinEC7/OSEvent.h>

Public Member Functions

 OSEvent (const std::wstring &name, const bool isNamedEvent)
 Constructor. More...
 
 OSEvent (const std::wstring &name, void *const pHandle)
 Constructor. More...
 
virtual ~OSEvent (void)
 Destructor.
 
void * getEventHandle (void)
 Gets the handle of this event.
 
void setEvent (void)
 Signals this event.
 
const std::wstring & getEventName (void) const
 Returns the name of this event. More...
 

Detailed Description

Encapsulates an event.

Constructor & Destructor Documentation

◆ OSEvent() [1/2]

imt::base::os::winec7::OSEvent::OSEvent ( const std::wstring &  name,
const bool  isNamedEvent 
)
explicit

Constructor.

Parameters
nameName of the event.
isNamedEventCreate a named event or not.

◆ OSEvent() [2/2]

imt::base::os::winec7::OSEvent::OSEvent ( const std::wstring &  name,
void *const  pHandle 
)
explicit

Constructor.

Creates an OSEvent with the given event handle.

Parameters
nameName of the event.
pHandleExisting event handle for the event.

Member Function Documentation

◆ getEventName()

const std::wstring& imt::base::os::winec7::OSEvent::getEventName ( void  ) const

Returns the name of this event.

Returns
The name of this event.

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