Traffic replay object.
More...
|
|
using | Base = ApiObject<ITrafficReplay, false> |
| | Alias for the base class.
|
◆ TrafficReplay() [1/2]
| gem::TrafficReplay::TrafficReplay |
( |
int | id | ) |
|
|
inline |
Default constructor.
- Parameters
-
| id | The id of the traffic replay |
◆ TrafficReplay() [2/2]
| gem::TrafficReplay::TrafficReplay |
( |
TrafficReplay && | repl | ) |
|
|
default |
Default move constructor noexcept is deduced.
- Parameters
-
| repl | The traffic replay to move |
◆ displayOpenLRInfo()
| const IOpenLRInfo * gem::TrafficReplay::displayOpenLRInfo |
( |
const String & | sentence | ) |
const |
|
inlinenoexcept |
display OpenLR information
- Parameters
-
- Returns
- The OpenLR information
◆ getCountries()
| void gem::TrafficReplay::getCountries |
( |
const String & | addr | ) |
|
|
inlinenoexcept |
get the country list
- Parameters
-
◆ getFailedRoadblocksURL()
| String gem::TrafficReplay::getFailedRoadblocksURL |
( |
| ) |
|
|
inlinestaticnoexcept |
get the failed roadblocks url
- Returns
- The failed roadblocks url
◆ getGPSTime()
| bool gem::TrafficReplay::getGPSTime |
( |
Time & | time | ) |
const |
|
inlinenoexcept |
get the GPS time
- Parameters
-
- Returns
- True if the GPS time is available
◆ getId()
| int gem::TrafficReplay::getId |
( |
| ) |
const |
|
inlinenoexcept |
◆ getOpenLRInfo()
| const IOpenLRInfo * gem::TrafficReplay::getOpenLRInfo |
( |
| ) |
const |
|
inlinenoexcept |
get OpenLR information
- Returns
- The OpenLR information
◆ getState()
| void gem::TrafficReplay::getState |
( |
const String & | addr | ) |
|
|
inlinenoexcept |
◆ getTrafficFindUrl()
| void gem::TrafficReplay::getTrafficFindUrl |
( |
String & | Url, |
|
|
int | id ) |
|
inlinestaticnoexcept |
get the traffic server find url
- Parameters
-
| [out] | Url | The traffic server find url |
| id | The id of the traffic server |
◆ getTrafficFindXDSUrl()
get an URL for searching an XD segment by id
- Parameters
-
| [out] | Url | The traffic server find url |
| linkUuid | The link id |
◆ getTrafficStatUrl()
| void gem::TrafficReplay::getTrafficStatUrl |
( |
String & | sUrl | ) |
|
|
inlinestaticnoexcept |
get the traffic server stat url
- Parameters
-
| [out] | sUrl | The traffic server stat url |
◆ getTrafficUrls()
| void gem::TrafficReplay::getTrafficUrls |
( |
StringList & | Url | ) |
|
|
inlinestaticnoexcept |
get the traffic server urls
- Parameters
-
| [out] | Url | The list of traffic server urls |
◆ isBusy()
| bool gem::TrafficReplay::isBusy |
( |
| ) |
const |
|
inlinenoexcept |
check if the traffic replay is busy
- Returns
- True if the traffic replay is busy
◆ operator=()
Default move assignment noexcept is deduced.
- Parameters
-
| repl | The traffic replay to move |
- Returns
- The moved traffic replay
◆ pause()
| void gem::TrafficReplay::pause |
( |
const String & | addr | ) |
|
|
inlinenoexcept |
pause the traffic replay
- Parameters
-
◆ resume()
| void gem::TrafficReplay::resume |
( |
const String & | addr | ) |
|
|
inlinenoexcept |
resume the traffic replay
- Parameters
-
◆ setListener()
set the listener
- Parameters
-
◆ setTrafficUrl()
| void gem::TrafficReplay::setTrafficUrl |
( |
const String * | sUrl | ) |
|
|
inlinestaticnoexcept |
set the traffic server url
- Parameters
-
| sUrl | The traffic server url |
◆ setWorkingTrafficServer()
| void gem::TrafficReplay::setWorkingTrafficServer |
( |
const TrafficReplay * | pServer | ) |
|
|
inlinestaticnoexcept |
set working traffic server
- Parameters
-
| pServer | The working traffic server |
◆ start()
| int gem::TrafficReplay::start |
( |
const String & | addr, |
|
|
const Time & | startUTC, |
|
|
const StringList & | iso, |
|
|
float | replayFactor ) |
|
inlinenoexcept |
start the traffic replay
- Parameters
-
| addr | The address |
| startUTC | The start UTC time |
| iso | The list of ISO codes |
| replayFactor | The replay factor |
- Returns
- The result
◆ stop()
| void gem::TrafficReplay::stop |
( |
const String & | addr | ) |
|
|
inlinenoexcept |
stop the traffic replay
- Parameters
-
◆ update()
| int gem::TrafficReplay::update |
( |
const String & | addr | ) |
|
|
inlinenoexcept |
update the traffic replay
- Parameters
-
- Returns
- The result
◆ updateSpeeds()
| int gem::TrafficReplay::updateSpeeds |
( |
const String & | addr | ) |
|
|
inlinenoexcept |
update the traffic replay speeds
- Parameters
-
- Returns
- The result