sptk2 logo
SPTK Home Page
Public Member Functions | List of all members
sptk::CEventInfo Class Reference

#include <CEvent.h>

Public Member Functions

 CEventInfo (CEvent eventType=CEvent::NONE, int32_t eventArg=0)
 
CEventInfooperator= (CEvent eventType)
 
CEvent type () const
 
int32_t argument () const
 

Detailed Description

Event type information

Constructor & Destructor Documentation

◆ CEventInfo()

sptk::CEventInfo::CEventInfo ( CEvent  eventType = CEvent::NONE,
int32_t  eventArg = 0 
)
inlineexplicit

Constructor

Parameters
eventTypeCEvent, event type
eventArgCEvent, event argument

Member Function Documentation

◆ argument()

int32_t sptk::CEventInfo::argument ( ) const
inline

Reports event argument

Referenced by sptk::CControl::eventArgument().

◆ operator=()

CEventInfo & sptk::CEventInfo::operator= ( CEvent  eventType)
inline

Assignment

Parameters
eventTypeCEvent, event type

◆ type()

CEvent sptk::CEventInfo::type ( ) const
inline

Reports event type

Referenced by sptk::CControl::eventType().


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

Fri Oct 14 2022 09:58:35: SPTK 5.4.1