ITS
ParameterGPS Class Reference

#include <ParameterGPS.h>

Collaboration diagram for ParameterGPS:
[legend]

Public Member Functions

 ParameterGPS ()
 ParameterGPS ParameterGPS constructor. More...
 
 ParameterGPS (const ParameterGPS &other)
 ParameterGPS ParameterGPS copy constructor. More...
 
 ~ParameterGPS ()
 
ParameterGPSoperator= (const ParameterGPS &other)
 operator= Affectation operator. More...
 
void read ()
 read Configuration file reading. More...
 
void readDebug ()
 readDebug Configuration printing. More...
 
QString address () const
 address GPS daemon IP address getter. More...
 
Heading_t heading () const
 heading ITS-S heading getter. More...
 
QString port () const
 port GPS daemon port getter. More...
 
ReferencePosition_t referencePosition () const
 referencePosition ITS-S position getter. More...
 
Speed_t speed () const
 speed ITS-S speed getter. More...
 
quint64 timestamp () const
 timestamp Timestamp since 01/01/2004 getter. More...
 

Private Attributes

QString m_address
 
Heading_t m_heading
 
QString m_port
 
ReferencePosition_t m_referencePosition
 
Speed_t m_speed
 
quint64 m_timestamp
 

Friends

class FakeGPSProvider
 
class GPSProvider
 

Detailed Description

Definition at line 15 of file ParameterGPS.h.

Constructor & Destructor Documentation

◆ ParameterGPS() [1/2]

ParameterGPS::ParameterGPS ( )

ParameterGPS ParameterGPS constructor.

Definition at line 3 of file ParameterGPS.cpp.

References read().

Here is the call graph for this function:

◆ ParameterGPS() [2/2]

ParameterGPS::ParameterGPS ( const ParameterGPS other)

ParameterGPS ParameterGPS copy constructor.

Parameters
otherThe ParameterGPS to copy.

Definition at line 9 of file ParameterGPS.cpp.

References address(), cpy_Heading(), cpy_ReferencePosition(), cpy_Speed(), heading(), m_address, m_heading, m_port, m_referencePosition, m_speed, m_timestamp, port(), referencePosition(), speed(), and timestamp().

Here is the call graph for this function:

◆ ~ParameterGPS()

ParameterGPS::~ParameterGPS ( )

~ParameterGPS ParameterGPS destructor.

Definition at line 19 of file ParameterGPS.cpp.

Member Function Documentation

◆ address()

QString ParameterGPS::address ( ) const
inline

address GPS daemon IP address getter.

Returns
The GPS daemon IP address.

Definition at line 66 of file ParameterGPS.h.

References m_address.

Referenced by ParameterGPS().

Here is the caller graph for this function:

◆ heading()

Heading_t ParameterGPS::heading ( ) const
inline

heading ITS-S heading getter.

Returns
The ITS-S heading.

Definition at line 71 of file ParameterGPS.h.

References m_heading.

Referenced by GeoNet::checkBCFPB(), caBasicService::checkCamGeneration(), GeoNet::checkUCFPB(), caBasicService::collectMandatoryData_BasicVehicleContainerHighFrequency(), GeoNet::flushUCFPB(), GeoNet::LSRequestPacketProcessing(), ParameterGPS(), GeoNet::sendBeacon(), GeoNet::sendGAC(), GeoNet::sendGBC(), GeoNet::sendGUC(), GeoNet::sendLsRequest(), CBFPacketEntry::sendPacket(), GeoNet::sendSHB(), and GeoNet::sendTSB().

Here is the caller graph for this function:

◆ operator=()

ParameterGPS & ParameterGPS::operator= ( const ParameterGPS other)

operator= Affectation operator.

Parameters
otherThe ParameterGPS to affect.
Returns
The affected ParameterGPS.

Definition at line 156 of file ParameterGPS.cpp.

References m_address, m_heading, m_port, m_referencePosition, m_speed, and m_timestamp.

◆ port()

QString ParameterGPS::port ( ) const
inline

port GPS daemon port getter.

Returns
The GPS daemon port.

Definition at line 76 of file ParameterGPS.h.

References m_port.

Referenced by ParameterGPS().

Here is the caller graph for this function:

◆ read()

◆ readDebug()

◆ referencePosition()

◆ speed()

Speed_t ParameterGPS::speed ( ) const
inline

speed ITS-S speed getter.

Returns
The ITS-S speed.

Definition at line 86 of file ParameterGPS.h.

References m_speed.

Referenced by GeoNet::checkBCFPB(), caBasicService::checkCamGeneration(), GeoNet::checkUCFPB(), caBasicService::collectMandatoryData_BasicVehicleContainerHighFrequency(), GeoNet::flushUCFPB(), GeoNet::LSRequestPacketProcessing(), ParameterGPS(), GeoNet::sendBeacon(), GeoNet::sendGAC(), GeoNet::sendGBC(), GeoNet::sendGUC(), GeoNet::sendLsRequest(), CBFPacketEntry::sendPacket(), GeoNet::sendSHB(), and GeoNet::sendTSB().

Here is the caller graph for this function:

◆ timestamp()

quint64 ParameterGPS::timestamp ( ) const
inline

timestamp Timestamp since 01/01/2004 getter.

Returns
The timestamp in ms since 01/01/2004.

Definition at line 91 of file ParameterGPS.h.

References m_timestamp.

Referenced by fill_ManagementContainer(), ParameterGPS(), and UpperTester::utDenmTerminate().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ FakeGPSProvider

friend class FakeGPSProvider
friend

Definition at line 17 of file ParameterGPS.h.

◆ GPSProvider

friend class GPSProvider
friend

Definition at line 18 of file ParameterGPS.h.

Member Data Documentation

◆ m_address

QString ParameterGPS::m_address
private

GPS daemon IP address

Definition at line 24 of file ParameterGPS.h.

Referenced by address(), GPSProvider::getPosition(), operator=(), ParameterGPS(), read(), and readDebug().

◆ m_heading

Heading_t ParameterGPS::m_heading
private

◆ m_port

QString ParameterGPS::m_port
private

GPS daemon port

Definition at line 26 of file ParameterGPS.h.

Referenced by GPSProvider::getPosition(), operator=(), ParameterGPS(), port(), read(), and readDebug().

◆ m_referencePosition

ReferencePosition_t ParameterGPS::m_referencePosition
private

◆ m_speed

Speed_t ParameterGPS::m_speed
private

◆ m_timestamp

quint64 ParameterGPS::m_timestamp
private

Timestamp in ms since 01/01/2004.

Definition at line 29 of file ParameterGPS.h.

Referenced by operator=(), ParameterGPS(), read(), readDebug(), and timestamp().


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