ITS
denMessageTableReception Class Reference

#include <denMessageTableReception.h>

Inheritance diagram for denMessageTableReception:
[legend]
Collaboration diagram for denMessageTableReception:
[legend]

Public Slots

void endOfT_R_Validity ()
 endOfT_R_Validity Slot used when T_R_Validity expires. More...
 
void execute ()
 execute Execute the timer. More...
 

Signals

void T_R_ValiditySignal (ActionID_t)
 T_R_ValiditySignal Signal used when T_R_Validity expires. More...
 

Public Member Functions

 denMessageTableReception ()
 denMessageTableReception denMessageTableReception constructor. More...
 
 denMessageTableReception (const denMessageTableReception &messageTable)
 denMessageTableReception denMessageTableReception copy constructor. More...
 
 ~denMessageTableReception ()
 ~denMessageTableReception denMessageTableReception destructor. More...
 
DENM_t denm () const
 denm DENM getter. More...
 
ActionID_t actionID () const
 actionID DENM's ActionID getter. More...
 
qint64 T_R_Validity () const
 T_R_Validity T_R_Validity getter. More...
 
void setDENM (DENM_t d)
 setDENM Set the DENM More...
 
void setActionID (ActionID_t a)
 setActionID Set the DENM's ActionID. More...
 
void setT_R_Validity (qint64 t)
 setT_R_Validity Set the T_R_Validity. More...
 
denMessageTableReceptionoperator= (const denMessageTableReception &other)
 operator= Affectation operator. More...
 
bool inRelevanceArea (ReferencePosition_t destination, RelevanceDistance_t *relevanceDistance)
 inRelevanceArea Check if the ITS-S is in the relevance area. More...
 

Public Attributes

denMessageTableReceptionThreadm_reception
 
QThread * m_thread
 

Private Attributes

ActionID_t m_actionID
 
DENM_t m_denm
 
qint64 m_T_R_Validity
 

Detailed Description

Definition at line 23 of file denMessageTableReception.h.

Constructor & Destructor Documentation

◆ denMessageTableReception() [1/2]

denMessageTableReception::denMessageTableReception ( )

denMessageTableReception denMessageTableReception constructor.

Definition at line 3 of file denMessageTableReception.cpp.

References execute(), m_actionID, m_denm, m_reception, and m_thread.

Here is the call graph for this function:

◆ denMessageTableReception() [2/2]

denMessageTableReception::denMessageTableReception ( const denMessageTableReception messageTable)
explicit

denMessageTableReception denMessageTableReception copy constructor.

Parameters
messageTableThe messageTable to copy.

Definition at line 12 of file denMessageTableReception.cpp.

References actionID(), denm(), m_actionID, m_denm, m_T_R_Validity, m_thread, and T_R_Validity().

Here is the call graph for this function:

◆ ~denMessageTableReception()

denMessageTableReception::~denMessageTableReception ( )

~denMessageTableReception denMessageTableReception destructor.

Definition at line 51 of file denMessageTableReception.cpp.

References setT_R_Validity().

Here is the call graph for this function:

Member Function Documentation

◆ actionID()

ActionID_t denMessageTableReception::actionID ( ) const
inline

actionID DENM's ActionID getter.

Returns
The DENM's ActionID.

Definition at line 56 of file denMessageTableReception.h.

References m_actionID.

Referenced by denMessageTableReception(), and operator=().

Here is the caller graph for this function:

◆ denm()

DENM_t denMessageTableReception::denm ( ) const
inline

denm DENM getter.

Returns
The DENM.

Definition at line 51 of file denMessageTableReception.h.

References m_denm.

Referenced by denMessageTableReception(), and operator=().

Here is the caller graph for this function:

◆ endOfT_R_Validity

void denMessageTableReception::endOfT_R_Validity ( )
slot

endOfT_R_Validity Slot used when T_R_Validity expires.

Definition at line 56 of file denMessageTableReception.cpp.

References m_actionID, and T_R_ValiditySignal().

Referenced by execute().

Here is the caller graph for this function:

◆ execute

void denMessageTableReception::execute ( )
slot

execute Execute the timer.

Definition at line 30 of file denMessageTableReception.cpp.

References endOfT_R_Validity(), m_reception, m_T_R_Validity, denMessageTableReceptionThread::m_T_R_Validity_timer, T_R_ValiditySignal(), and denMessageTableReceptionThread::timer().

Referenced by denMessageTableReception().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ inRelevanceArea()

bool denMessageTableReception::inRelevanceArea ( ReferencePosition_t  destination,
RelevanceDistance_t relevanceDistance 
)

inRelevanceArea Check if the ITS-S is in the relevance area.

Parameters
destinationThe destination area.
relevanceDistanceThe relevance distance of the event.
Returns
True if the ITS-S is in the relevance area.

◆ operator=()

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

operator= Affectation operator.

Parameters
otherThe denMessageTableReception to affect
Returns
The affected denMessageTableReception.

Definition at line 20 of file denMessageTableReception.cpp.

References actionID(), denm(), m_actionID, m_denm, m_T_R_Validity, m_thread, and T_R_Validity().

Here is the call graph for this function:

◆ setActionID()

void denMessageTableReception::setActionID ( ActionID_t  a)
inline

setActionID Set the DENM's ActionID.

Parameters
aThe new ActionID.

Definition at line 77 of file denMessageTableReception.h.

References m_actionID.

Referenced by denReceptionManagement::denmReception().

Here is the caller graph for this function:

◆ setDENM()

void denMessageTableReception::setDENM ( DENM_t  d)
inline

setDENM Set the DENM

Parameters
dThe new DENM.

Definition at line 68 of file denMessageTableReception.h.

References DENM::denm, DENM::header, m_denm, setDecentralizedEnvironmentalNotificationMessage(), and setItsPduHeader().

Referenced by denReceptionManagement::denmReception().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setT_R_Validity()

void denMessageTableReception::setT_R_Validity ( qint64  t)
inline

setT_R_Validity Set the T_R_Validity.

Parameters
tThe new T_R_Validity.

Definition at line 82 of file denMessageTableReception.h.

References m_T_R_Validity.

Referenced by denReceptionManagement::denmReception(), and ~denMessageTableReception().

Here is the caller graph for this function:

◆ T_R_Validity()

qint64 denMessageTableReception::T_R_Validity ( ) const
inline

T_R_Validity T_R_Validity getter.

Returns
The T_R_Validity.

Definition at line 61 of file denMessageTableReception.h.

References m_T_R_Validity.

Referenced by denMessageTableReception(), and operator=().

Here is the caller graph for this function:

◆ T_R_ValiditySignal

void denMessageTableReception::T_R_ValiditySignal ( ActionID_t  )
signal

T_R_ValiditySignal Signal used when T_R_Validity expires.

Referenced by endOfT_R_Validity(), and execute().

Here is the caller graph for this function:

Member Data Documentation

◆ m_actionID

ActionID_t denMessageTableReception::m_actionID
private

◆ m_denm

DENM_t denMessageTableReception::m_denm
private

The DENM of the entry.

Definition at line 109 of file denMessageTableReception.h.

Referenced by denm(), denMessageTableReception(), operator=(), and setDENM().

◆ m_reception

denMessageTableReceptionThread* denMessageTableReception::m_reception

Reception thread.

Definition at line 28 of file denMessageTableReception.h.

Referenced by denMessageTableReception(), denReceptionManagement::denmReception(), and execute().

◆ m_T_R_Validity

qint64 denMessageTableReception::m_T_R_Validity
private

Validity of the DENM.

Definition at line 110 of file denMessageTableReception.h.

Referenced by denMessageTableReception(), execute(), operator=(), setT_R_Validity(), and T_R_Validity().

◆ m_thread

QThread* denMessageTableReception::m_thread

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