ITS
LocationServicePacketEntry Class Reference

#include <LocationServicePacketEntry.h>

Collaboration diagram for LocationServicePacketEntry:
[legend]

Public Member Functions

 LocationServicePacketEntry ()
 LocationServicePacketEntry LocationServicePacketEntry constructor. More...
 
 LocationServicePacketEntry (GnAddr destination, gnDataRequest_t packet, quint32 timestamp)
 LocationServicePacketEntry LocationServicePacketEntry initialization constructor. More...
 
 LocationServicePacketEntry (const LocationServicePacketEntry &other)
 LocationServicePacketEntry LocationServicePacketEntry copy constructor. More...
 
 ~LocationServicePacketEntry ()
 ~LocationServicePacketEntry LocationServicePacketEntry destructor. More...
 
bool operator== (const LocationServicePacketEntry &other)
 operator== LocationServicePacketEntry comparison operator. More...
 
GnAddr destination () const
 destination LS destination getter. More...
 
gnDataRequest_t packet () const
 packet Entry GN Data Request getter. More...
 
quint32 timestamp () const
 timestamp Entry timestamp getter. More...
 

Private Attributes

GnAddr m_destination
 
gnDataRequest_t m_packet
 
quint32 m_timestamp
 

Detailed Description

Definition at line 12 of file LocationServicePacketEntry.h.

Constructor & Destructor Documentation

◆ LocationServicePacketEntry() [1/3]

LocationServicePacketEntry::LocationServicePacketEntry ( )

◆ LocationServicePacketEntry() [2/3]

LocationServicePacketEntry::LocationServicePacketEntry ( GnAddr  destination,
gnDataRequest_t  packet,
quint32  timestamp 
)

LocationServicePacketEntry LocationServicePacketEntry initialization constructor.

Parameters
destinationThe LS destination.
packetThe LS packet.
timestampThe LS timestamp.

Definition at line 7 of file LocationServicePacketEntry.cpp.

References destination(), m_destination, m_packet, m_timestamp, packet(), and timestamp().

Here is the call graph for this function:

◆ LocationServicePacketEntry() [3/3]

LocationServicePacketEntry::LocationServicePacketEntry ( const LocationServicePacketEntry other)

LocationServicePacketEntry LocationServicePacketEntry copy constructor.

Parameters
otherThe LocationServicePacketEntry to copy.

Definition at line 14 of file LocationServicePacketEntry.cpp.

References m_destination, m_packet, and m_timestamp.

◆ ~LocationServicePacketEntry()

LocationServicePacketEntry::~LocationServicePacketEntry ( )

~LocationServicePacketEntry LocationServicePacketEntry destructor.

Definition at line 21 of file LocationServicePacketEntry.cpp.

Member Function Documentation

◆ destination()

GnAddr LocationServicePacketEntry::destination ( ) const
inline

destination LS destination getter.

Returns

Definition at line 46 of file LocationServicePacketEntry.h.

References m_destination.

Referenced by GeoNet::flushLSPB(), and LocationServicePacketEntry().

Here is the caller graph for this function:

◆ operator==()

bool LocationServicePacketEntry::operator== ( const LocationServicePacketEntry other)

operator== LocationServicePacketEntry comparison operator.

Parameters
otherThe LocationServicePacketEntry to compare.
Returns
True if they are equals.

Definition at line 26 of file LocationServicePacketEntry.cpp.

References gnDataRequestToBin(), m_destination, and m_packet.

Here is the call graph for this function:

◆ packet()

gnDataRequest_t LocationServicePacketEntry::packet ( ) const
inline

packet Entry GN Data Request getter.

Returns
The entry GN Data Request.

Definition at line 51 of file LocationServicePacketEntry.h.

References m_packet.

Referenced by GeoNet::flushLSPB(), and LocationServicePacketEntry().

Here is the caller graph for this function:

◆ timestamp()

quint32 LocationServicePacketEntry::timestamp ( ) const
inline

timestamp Entry timestamp getter.

Returns
The timestamp.

Definition at line 56 of file LocationServicePacketEntry.h.

References m_timestamp.

Referenced by GeoNet::flushLSPB(), and LocationServicePacketEntry().

Here is the caller graph for this function:

Member Data Documentation

◆ m_destination

GnAddr LocationServicePacketEntry::m_destination
private

Entry GN_ADDR.

Definition at line 59 of file LocationServicePacketEntry.h.

Referenced by destination(), LocationServicePacketEntry(), and operator==().

◆ m_packet

gnDataRequest_t LocationServicePacketEntry::m_packet
private

Entry GN Data Request.

Definition at line 60 of file LocationServicePacketEntry.h.

Referenced by LocationServicePacketEntry(), operator==(), and packet().

◆ m_timestamp

quint32 LocationServicePacketEntry::m_timestamp
private

Entry timestamp.

Definition at line 61 of file LocationServicePacketEntry.h.

Referenced by LocationServicePacketEntry(), and timestamp().


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