PPL Logo

SNToTicket Class Reference

Class that maps SN (sequence numbers) to TN (ticket numbers) for a particular object. More...

#include <ckcausalmlog.h>

Collaboration diagram for SNToTicket:

Collaboration graph
[legend]

Public Member Functions

 SNToTicket ()
MCount getFinishSN ()
 Gets the finishSN value.
MCount getStartSN ()
 Gets the startSN value.
Ticketput (MCount SN)
Ticket get (MCount SN)
void pup (PUP::er &p)

Private Attributes

Ticket initial [INITSIZE_SNTOTICKET]
TicketticketVec
MCount startSN
int currentSize
MCount finishSN

Detailed Description

Class that maps SN (sequence numbers) to TN (ticket numbers) for a particular object.

Definition at line 97 of file ckcausalmlog.h.


Constructor & Destructor Documentation

SNToTicket::SNToTicket (  )  [inline]

Definition at line 105 of file ckcausalmlog.h.

References currentSize, finishSN, initial, startSN, and ticketVec.


Member Function Documentation

MCount SNToTicket::getFinishSN (  )  [inline]

Gets the finishSN value.

Definition at line 115 of file ckcausalmlog.h.

References finishSN.

Referenced by fillTicketForChare().

Here is the caller graph for this function:

MCount SNToTicket::getStartSN (  )  [inline]

Gets the startSN value.

Definition at line 121 of file ckcausalmlog.h.

References startSN.

Referenced by fillTicketForChare().

Here is the caller graph for this function:

Ticket& SNToTicket::put ( MCount  SN  )  [inline]

Definition at line 125 of file ckcausalmlog.h.

References currentSize, finishSN, index, initial, startSN, and ticketVec.

Referenced by ChareMlogData::next_ticket(), populateDeterminantTable(), and ChareMlogData::verifyTicket().

Here is the caller graph for this function:

Ticket SNToTicket::get ( MCount  SN  )  [inline]

Definition at line 145 of file ckcausalmlog.h.

References currentSize, index, startSN, and ticketVec.

Referenced by fillTicketForChare(), ChareMlogData::getTicket(), ChareMlogData::next_ticket(), removeProcessedLogs(), sendCommonMsg(), and ChareMlogData::verifyTicket().

Here is the caller graph for this function:

void SNToTicket::pup ( PUP::er p  )  [inline]

Definition at line 156 of file ckcausalmlog.h.

References currentSize, PUP::er::isUnpacking(), startSN, and ticketVec.

Referenced by ChareMlogData::pup().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Ticket SNToTicket::initial[INITSIZE_SNTOTICKET] [private]

Definition at line 99 of file ckcausalmlog.h.

Referenced by put(), and SNToTicket().

Definition at line 100 of file ckcausalmlog.h.

Referenced by get(), pup(), put(), and SNToTicket().

MCount SNToTicket::startSN [private]

Definition at line 101 of file ckcausalmlog.h.

Referenced by get(), getStartSN(), pup(), put(), and SNToTicket().

Definition at line 102 of file ckcausalmlog.h.

Referenced by get(), pup(), put(), and SNToTicket().

MCount SNToTicket::finishSN [private]

Definition at line 103 of file ckcausalmlog.h.

Referenced by getFinishSN(), put(), and SNToTicket().


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

Generated on Mon Sep 21 08:29:57 2020 for Charm++ by  doxygen 1.5.5