AppCore
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
EAdvertisementManager Class Reference

#include <EAdvertisementManager.h>

Inheritance diagram for EAdvertisementManager:
Inheritance graph
[legend]

Public Member Functions

 EAdvertisementManager ()
 
 EAdvertisementManager (const EAdvertisementManager &advertisementManager)
 
 ~EAdvertisementManager ()
 
void SetIsReaded (bool isReaded)
 
unsigned char * PrintAdvertisements (unsigned long &advertisementDataSize, unsigned short &advertisementHeight, unsigned long busstopIDOrigin, unsigned long busstopIDDestination, unsigned long deviceSNR, unsigned char discountType, unsigned char cardType)
 
void ReadAdvertisements (std::string pathFile)
 
float GetBusstopRating (long busstopID)
 
unsigned long GetAmount (unsigned long userID)
 
void SetAreAmountsReaded (bool readed)
 
std::list< unsigned long > GetUsers ()
 
unsigned long GetUnitPrice ()
 
void ClearAdvertisementSpends (const std::string &fileName)
 
void ClearAllAdvertisementSpends ()
 
EAdvertisementCommMngGetAdvertisementCommMng ()
 
 EAdvertisementManager ()
 
 EAdvertisementManager (const EAdvertisementManager &advertisementManager)
 
 ~EAdvertisementManager ()
 
void SetIsReaded (bool isReaded)
 
unsigned char * PrintAdvertisements (unsigned long &advertisementDataSize, unsigned short &advertisementHeight, unsigned long busstopIDOrigin, unsigned long busstopIDDestination, unsigned long deviceSNR, unsigned char discountType, unsigned char cardType)
 
void ReadAdvertisements (std::string pathFile)
 
float GetBusstopRating (long busstopID)
 
unsigned long GetAmount (unsigned long userID)
 
void SetAreAmountsReaded (bool readed)
 
std::list< unsigned long > GetUsers ()
 
unsigned long GetUnitPrice ()
 
void ClearAdvertisementSpends (const std::string &fileName)
 
void ClearAllAdvertisementSpends ()
 
EAdvertisementCommMngGetAdvertisementCommMng ()
 

Static Public Member Functions

static long GetVersion ()
 
static long GetVersion ()
 

Constructor & Destructor Documentation

◆ EAdvertisementManager() [1/4]

EAdvertisementManager::EAdvertisementManager ( )

EAdvertisementManager

Here is the call graph for this function:

◆ EAdvertisementManager() [2/4]

EAdvertisementManager::EAdvertisementManager ( const EAdvertisementManager advertisementManager)

◆ ~EAdvertisementManager() [1/2]

EAdvertisementManager::~EAdvertisementManager ( )
Here is the call graph for this function:

◆ EAdvertisementManager() [3/4]

EAdvertisementManager::EAdvertisementManager ( )

◆ EAdvertisementManager() [4/4]

EAdvertisementManager::EAdvertisementManager ( const EAdvertisementManager advertisementManager)

◆ ~EAdvertisementManager() [2/2]

EAdvertisementManager::~EAdvertisementManager ( )

Member Function Documentation

◆ ClearAdvertisementSpends() [1/2]

void EAdvertisementManager::ClearAdvertisementSpends ( const std::string &  fileName)
Here is the caller graph for this function:

◆ ClearAdvertisementSpends() [2/2]

void EAdvertisementManager::ClearAdvertisementSpends ( const std::string &  fileName)

◆ ClearAllAdvertisementSpends() [1/2]

void EAdvertisementManager::ClearAllAdvertisementSpends ( )
Here is the call graph for this function:

◆ ClearAllAdvertisementSpends() [2/2]

void EAdvertisementManager::ClearAllAdvertisementSpends ( )

◆ GetAdvertisementCommMng() [1/2]

EAdvertisementCommMng * EAdvertisementManager::GetAdvertisementCommMng ( )

◆ GetAdvertisementCommMng() [2/2]

EAdvertisementCommMng * EAdvertisementManager::GetAdvertisementCommMng ( )

◆ GetAmount() [1/2]

unsigned long EAdvertisementManager::GetAmount ( unsigned long  userID)
Here is the caller graph for this function:

◆ GetAmount() [2/2]

unsigned long EAdvertisementManager::GetAmount ( unsigned long  userID)

◆ GetBusstopRating() [1/2]

float EAdvertisementManager::GetBusstopRating ( long  busstopID)
Here is the caller graph for this function:

◆ GetBusstopRating() [2/2]

float EAdvertisementManager::GetBusstopRating ( long  busstopID)

◆ GetUnitPrice() [1/2]

unsigned long EAdvertisementManager::GetUnitPrice ( )
Here is the caller graph for this function:

◆ GetUnitPrice() [2/2]

unsigned long EAdvertisementManager::GetUnitPrice ( )

◆ GetUsers() [1/2]

list< unsigned long > EAdvertisementManager::GetUsers ( )
Here is the call graph for this function:

◆ GetUsers() [2/2]

std::list< unsigned long > EAdvertisementManager::GetUsers ( )

◆ GetVersion() [1/2]

long EAdvertisementManager::GetVersion ( )
static
Here is the caller graph for this function:

◆ GetVersion() [2/2]

static long EAdvertisementManager::GetVersion ( )
static

◆ PrintAdvertisements() [1/2]

unsigned char * EAdvertisementManager::PrintAdvertisements ( unsigned long &  advertisementDataSize,
unsigned short &  advertisementHeight,
unsigned long  busstopIDOrigin,
unsigned long  busstopIDDestination,
unsigned long  deviceSNR,
unsigned char  discountType,
unsigned char  cardType 
)

check if communication is in progress

check if ADVERTISEMENTS_FILE is not locked

check if AMOUNTS_FILE is not locked

Here is the call graph for this function:

◆ PrintAdvertisements() [2/2]

unsigned char * EAdvertisementManager::PrintAdvertisements ( unsigned long &  advertisementDataSize,
unsigned short &  advertisementHeight,
unsigned long  busstopIDOrigin,
unsigned long  busstopIDDestination,
unsigned long  deviceSNR,
unsigned char  discountType,
unsigned char  cardType 
)

◆ ReadAdvertisements() [1/2]

void EAdvertisementManager::ReadAdvertisements ( std::string  pathFile)
Here is the caller graph for this function:

◆ ReadAdvertisements() [2/2]

void EAdvertisementManager::ReadAdvertisements ( std::string  pathFile)

◆ SetAreAmountsReaded() [1/2]

void EAdvertisementManager::SetAreAmountsReaded ( bool  readed)
Here is the caller graph for this function:

◆ SetAreAmountsReaded() [2/2]

void EAdvertisementManager::SetAreAmountsReaded ( bool  readed)

◆ SetIsReaded() [1/2]

void EAdvertisementManager::SetIsReaded ( bool  isReaded)

◆ SetIsReaded() [2/2]

void EAdvertisementManager::SetIsReaded ( bool  isReaded)

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