Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::Timestamp Class Reference
Inheritance diagram for Alien::Timestamp:
Collaboration diagram for Alien::Timestamp:

Public Member Functions

manager est nul, il n'y a pas de gestion de timestamp

Constructeur de la classe

Si

 Timestamp (const TimestampMng *manager)
virtual ~Timestamp ()
 Destructeur de la classe.
virtual Int64 timestamp () const
 Donne la valeur courante du timestamp.
void updateTimestamp ()
 Met à jour le timestamp.
void copyTimestamp (const Timestamp &v)
 Copy un autre timestamp.

manager permet de garantir que l'identité du manager effectuant

Méthode interne de changement de valeur par le manager

Le paramètre cette requête de modification et de garantir l'intégrité des objets

Int64 m_timestamp
const TimestampMngm_manager
void setTimestamp (const TimestampMng *manager, const Int64 timestamp)

Detailed Description

Definition at line 37 of file Timestamp.h.

Constructor & Destructor Documentation

◆ Timestamp()

Alien::Timestamp::Timestamp ( const TimestampMng * manager)

Definition at line 36 of file Timestamp.cc.

◆ ~Timestamp()

virtual Alien::Timestamp::~Timestamp ( )
inlinevirtual

Destructeur de la classe.

Definition at line 45 of file Timestamp.h.

Member Function Documentation

◆ copyTimestamp()

void Alien::Timestamp::copyTimestamp ( const Timestamp & v)

Copy un autre timestamp.

Definition at line 58 of file Timestamp.cc.

References copyTimestamp().

Referenced by copyTimestamp(), Alien::MultiMatrixImpl::updateImpl(), and Alien::MultiVectorImpl::updateImpl().

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

◆ setTimestamp()

void Alien::Timestamp::setTimestamp ( const TimestampMng * manager,
const Int64 timestamp )

Definition at line 65 of file Timestamp.cc.

◆ timestamp()

Int64 Alien::Timestamp::timestamp ( ) const
virtual

Donne la valeur courante du timestamp.

Definition at line 43 of file Timestamp.cc.

References timestamp().

Referenced by Alien::MultiMatrixImpl::clone(), Alien::MultiVectorImpl::clone(), timestamp(), Alien::MultiMatrixImpl::updateImpl(), and Alien::MultiVectorImpl::updateImpl().

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

◆ updateTimestamp()

void Alien::Timestamp::updateTimestamp ( )

Met à jour le timestamp.

La politique actuelle position ce timestamp comme le plus 'à jour' de ceux associés aux même manager

Definition at line 50 of file Timestamp.cc.

References updateTimestamp().

Referenced by Alien::MultiMatrixImpl::clone(), Alien::MultiVectorImpl::clone(), Alien::MultiMatrixImpl::get(), Alien::MultiVectorImpl::get(), and updateTimestamp().

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

Member Data Documentation

◆ m_manager

const TimestampMng* Alien::Timestamp::m_manager
private

Definition at line 67 of file Timestamp.h.

◆ m_timestamp

Int64 Alien::Timestamp::m_timestamp
private

Definition at line 66 of file Timestamp.h.


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