Keyple C++  0.9.0
Keyple, an Open Source SDK for Ticketing
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | List of all members
keyple::core::seproxy::event::ObservableReader::NotificationMode Class Referencefinal

#include <ObservableReader.h>

Public Types

enum  InnerEnum { InnerEnum::ALWAYS, InnerEnum::MATCHED_ONLY }
 

Public Member Functions

 NotificationMode (const std::string &nameValue, InnerEnum innerEnum, const std::string &name)
 
 NotificationMode (const NotificationMode &o)
 
virtual ~NotificationMode ()
 
virtual std::string getName ()
 
bool operator== (const NotificationMode &other)
 
bool operator!= (const NotificationMode &other)
 
NotificationModeoperator= (NotificationMode o)
 
int ordinal ()
 
std::string toString ()
 

Static Public Member Functions

static NotificationMode get (const std::string &name)
 
static std::vector< NotificationModevalues ()
 
static NotificationMode valueOf (const std::string &name)
 

Public Attributes

InnerEnum innerEnumValue
 

Static Public Attributes

static NotificationMode ALWAYS
 
static NotificationMode MATCHED_ONLY
 

Protected Attributes

std::string name
 

Detailed Description

The NotificationMode defines the expected behavior when processing a default selection.

Member Enumeration Documentation

◆ InnerEnum

Enumerator
ALWAYS 
MATCHED_ONLY 

Constructor & Destructor Documentation

◆ NotificationMode() [1/2]

keyple::core::seproxy::event::NotificationMode::NotificationMode ( const std::string &  nameValue,
InnerEnum  innerEnum,
const std::string &  name 
)

◆ NotificationMode() [2/2]

keyple::core::seproxy::event::NotificationMode::NotificationMode ( const NotificationMode o)

◆ ~NotificationMode()

virtual keyple::core::seproxy::event::ObservableReader::NotificationMode::~NotificationMode ( )
inlinevirtual

Member Function Documentation

◆ get()

NotificationMode keyple::core::seproxy::event::NotificationMode::get ( const std::string &  name)
static

This method can be used for reverse lookup purpose

Parameters
namethe enum name
Returns
the corresponding enum

◆ getName()

std::string keyple::core::seproxy::event::NotificationMode::getName ( )
virtual

◆ operator!=()

bool keyple::core::seproxy::event::NotificationMode::operator!= ( const NotificationMode other)

◆ operator=()

NotificationMode & keyple::core::seproxy::event::NotificationMode::operator= ( NotificationMode  o)

◆ operator==()

bool keyple::core::seproxy::event::NotificationMode::operator== ( const NotificationMode other)

◆ ordinal()

int keyple::core::seproxy::event::NotificationMode::ordinal ( )

◆ toString()

std::string keyple::core::seproxy::event::NotificationMode::toString ( )

◆ valueOf()

NotificationMode keyple::core::seproxy::event::NotificationMode::valueOf ( const std::string &  name)
static

◆ values()

std::vector< NotificationMode > keyple::core::seproxy::event::NotificationMode::values ( )
static

Member Data Documentation

◆ ALWAYS

NotificationMode keyple::core::seproxy::event::NotificationMode::ALWAYS
static

All SEs presented to readers are notified regardless of the result of the default selection.

◆ innerEnumValue

InnerEnum keyple::core::seproxy::event::ObservableReader::NotificationMode::innerEnumValue

◆ MATCHED_ONLY

NotificationMode keyple::core::seproxy::event::NotificationMode::MATCHED_ONLY
static

Only SEs that have been successfully selected (logical channel open) will be notified. The others will be ignored and the application will not be aware of them.

◆ name

std::string keyple::core::seproxy::event::ObservableReader::NotificationMode::name
protected

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