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)
 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
TicketticketVec

Detailed Description

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

Definition at line 102 of file ckcausalmlog.h.


Constructor & Destructor Documentation

SNToTicket::SNToTicket (  )  [inline]

Definition at line 110 of file ckcausalmlog.h.

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

SNToTicket::SNToTicket (  )  [inline]

Definition at line 82 of file ckmessagelogging.h.

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


Member Function Documentation

MCount SNToTicket::getFinishSN (  )  [inline]

Gets the finishSN value.

Definition at line 120 of file ckcausalmlog.h.

References finishSN.

Referenced by fillTicketForChare().

MCount SNToTicket::getStartSN (  )  [inline]

Gets the startSN value.

Definition at line 126 of file ckcausalmlog.h.

References startSN.

Referenced by fillTicketForChare().

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

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

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

Definition at line 161 of file ckcausalmlog.h.

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

Referenced by ChareMlogData::pup().

MCount SNToTicket::getFinishSN (  )  [inline]

Gets the finishSN value.

Definition at line 92 of file ckmessagelogging.h.

References finishSN.

MCount SNToTicket::getStartSN (  )  [inline]

Gets the startSN value.

Definition at line 98 of file ckmessagelogging.h.

References startSN.

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

Definition at line 102 of file ckmessagelogging.h.

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

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

Definition at line 122 of file ckmessagelogging.h.

References currentSize, startSN, and ticketVec.

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

Definition at line 133 of file ckmessagelogging.h.

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


Field Documentation

Definition at line 104 of file ckcausalmlog.h.

Referenced by put(), and SNToTicket().

Definition at line 105 of file ckcausalmlog.h.

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

MCount SNToTicket::startSN [private]

Definition at line 106 of file ckcausalmlog.h.

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

Definition at line 107 of file ckcausalmlog.h.

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

MCount SNToTicket::finishSN [private]

Definition at line 108 of file ckcausalmlog.h.

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

Definition at line 77 of file ckmessagelogging.h.


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

Generated on Fri May 25 08:05:25 2012 for Charm++ by  doxygen 1.5.5