Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ModelRouteBusinessLogic Class Reference

#include <ModelRouteBusinessLogic.h>

Inheritance diagram for ModelRouteBusinessLogic:
Inheritance graph
[legend]
Collaboration diagram for ModelRouteBusinessLogic:
Collaboration graph
[legend]

Classes

class  DataClass
 

Public Member Functions

 ModelRouteBusinessLogic ()
 
virtual ~ModelRouteBusinessLogic ()
 
ApplicationDefines::ResultValue PrepareModelRoute (QList< RouteBusStop > &modelRoute)
 
ApplicationDefines::ResultValue PrepareModelRouteMapData (std::vector< RouteSegmentMapData > &routeMapData)
 
ApplicationDefines::ResultValue CreateModelRouteNetworkRequest (QJsonObject &jsonRequest)
 
ApplicationDefines::ResultValue ProcessModelRouteNetworkReply (const QJsonDocument &jsonData)
 
- Public Member Functions inherited from BusinessLogic
 BusinessLogic (ApplicationDefines::BusinessLogicType businessLogicType, ApplicationDefines::BusinessLogicLifeTimeType businessLogicLifeTimeType)
 
virtual ~BusinessLogic ()
 
ApplicationDefines::BusinessLogicType GetBusinessLogicType () const
 
ApplicationDefines::BusinessLogicLifeTimeType GetBusinessLogicLifeTimeType () const
 

Static Public Member Functions

static
ApplicationDefines::ResultValue 
GetArrivalAndDepartureRadius (EM::Strojcek::VstupneUdaje::CestovnePoriadky::ENastupiste *platform, long &arrivalRadius, long &departureRadius)
 
static void PrintModelRouteToLog (const QList< RouteBusStop > &modelRoute)
 

Public Attributes

const QString JSON_ARRAY_PLATFORM_PAIRS = "pairsOfPlatforms"
 
const QString JSON_ITEM_STOP_ID1 = "stopID1"
 
const QString JSON_ITEM_STOP_PLATFORM_ID1 = "platform1"
 
const QString JSON_ITEM_STOP_ID2 = "stopID2"
 
const QString JSON_ITEM_STOP_PLATFORM_ID2 = "platform2"
 
const QString JSON_ITEM_VERSION = "version"
 
const QString JSON_ITEM_COMPANY_ID = "companyID"
 

Static Public Attributes

static const
ApplicationDefines::BusinessLogicType 
mBusinessLogicType = ApplicationDefines::ModelRouteBusinessLogic
 

Constructor & Destructor Documentation

ModelRouteBusinessLogic::ModelRouteBusinessLogic ( )
ModelRouteBusinessLogic::~ModelRouteBusinessLogic ( )
virtual

Member Function Documentation

ApplicationDefines::ResultValue ModelRouteBusinessLogic::CreateModelRouteNetworkRequest ( QJsonObject &  jsonRequest)
ApplicationDefines::ResultValue ModelRouteBusinessLogic::GetArrivalAndDepartureRadius ( EM::Strojcek::VstupneUdaje::CestovnePoriadky::ENastupiste *  platform,
long &  arrivalRadius,
long &  departureRadius 
)
static

Here is the caller graph for this function:

ApplicationDefines::ResultValue ModelRouteBusinessLogic::PrepareModelRoute ( QList< RouteBusStop > &  modelRoute)

Here is the call graph for this function:

ApplicationDefines::ResultValue ModelRouteBusinessLogic::PrepareModelRouteMapData ( std::vector< RouteSegmentMapData > &  routeMapData)

Here is the call graph for this function:

void ModelRouteBusinessLogic::PrintModelRouteToLog ( const QList< RouteBusStop > &  modelRoute)
static

Here is the call graph for this function:

Here is the caller graph for this function:

ApplicationDefines::ResultValue ModelRouteBusinessLogic::ProcessModelRouteNetworkReply ( const QJsonDocument &  jsonData)

Here is the call graph for this function:

Member Data Documentation

const QString ModelRouteBusinessLogic::JSON_ARRAY_PLATFORM_PAIRS = "pairsOfPlatforms"
const QString ModelRouteBusinessLogic::JSON_ITEM_COMPANY_ID = "companyID"
const QString ModelRouteBusinessLogic::JSON_ITEM_STOP_ID1 = "stopID1"
const QString ModelRouteBusinessLogic::JSON_ITEM_STOP_ID2 = "stopID2"
const QString ModelRouteBusinessLogic::JSON_ITEM_STOP_PLATFORM_ID1 = "platform1"
const QString ModelRouteBusinessLogic::JSON_ITEM_STOP_PLATFORM_ID2 = "platform2"
const QString ModelRouteBusinessLogic::JSON_ITEM_VERSION = "version"
const ApplicationDefines::BusinessLogicType ModelRouteBusinessLogic::mBusinessLogicType = ApplicationDefines::ModelRouteBusinessLogic
static

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