Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Public Member Functions | List of all members
keyple::core::seproxy::plugin::WaitForSeProcessing Class Referencefinal

#include <WaitForSeProcessing.h>

Inherits keyple::core::seproxy::plugin::AbstractObservableState.

Public Member Functions

 WaitForSeProcessing (AbstractObservableLocalReader *reader)
 
 WaitForSeProcessing (AbstractObservableLocalReader *reader, std::shared_ptr< AbstractMonitoringJob > monitoringJob, std::shared_ptr< ExecutorService > executorService)
 
void onEvent (const InternalEvent event) override
 
- Public Member Functions inherited from keyple::core::seproxy::plugin::AbstractObservableState
const MonitoringStategetMonitoringState () const
 
void onActivate ()
 
void onDeactivate ()
 

Additional Inherited Members

- Public Attributes inherited from keyple::core::seproxy::plugin::AbstractObservableState
std::shared_ptr< AbstractMonitoringJobmMonitoringJob
 
- Protected Member Functions inherited from keyple::core::seproxy::plugin::AbstractObservableState
 AbstractObservableState (MonitoringState state, AbstractObservableLocalReader *reader, std::shared_ptr< AbstractMonitoringJob > monitoringJob, std::shared_ptr< ExecutorService > executorService)
 
 AbstractObservableState (MonitoringState state, AbstractObservableLocalReader *reader)
 
virtual ~AbstractObservableState ()=default
 
void switchState (MonitoringState stateId)
 
- Protected Attributes inherited from keyple::core::seproxy::plugin::AbstractObservableState
MonitoringState mState
 
AbstractObservableLocalReadermReader
 
std::future< void > * mMonitoringEvent
 
std::shared_ptr< ExecutorServicemExecutorService
 
std::atomic< bool > mCancellationFlag
 

Detailed Description

Wait for Se Processing State

The state during which the SE is being processed by the application.

Constructor & Destructor Documentation

◆ WaitForSeProcessing() [1/2]

keyple::core::seproxy::plugin::WaitForSeProcessing::WaitForSeProcessing ( AbstractObservableLocalReader reader)

◆ WaitForSeProcessing() [2/2]

keyple::core::seproxy::plugin::WaitForSeProcessing::WaitForSeProcessing ( AbstractObservableLocalReader reader,
std::shared_ptr< AbstractMonitoringJob monitoringJob,
std::shared_ptr< ExecutorService executorService 
)

Member Function Documentation

◆ onEvent()

void keyple::core::seproxy::plugin::WaitForSeProcessing::onEvent ( const InternalEvent  event)
overridevirtual

Handle Internal Event Usually state is switched using method reader::switchState

Parameters
eventinternal event received by reader

Implements keyple::core::seproxy::plugin::AbstractObservableState.


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