← Documentation
ADS-IDAC Engine 5.0.0
Time Class Reference

#include <Timp.h>

Inheritance diagram for Time:
[legend]

Public Member Functions

 Time ()
 
virtual ~Time ()
 
double getTimeAtWhichThisEventHappen () const
 
void setTimeAtWhichThisEventHappen (double)
 
void copyTime (Time &)
 
void saveTimeToFile (std::ofstream &)
 
void retrieveTimeFromFile (std::ifstream &)
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

double time_at_which_this_event_happen
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 16 of file Timp.h.

Constructor & Destructor Documentation

◆ Time()

Time::Time ( )

Definition at line 16 of file Timp.cpp.

References time_at_which_this_event_happen.

◆ ~Time()

Time::~Time ( )
virtual

Definition at line 21 of file Timp.cpp.

Member Function Documentation

◆ copyTime()

void Time::copyTime ( Time &  _time)

Definition at line 30 of file Timp.cpp.

References getTimeAtWhichThisEventHappen(), and time_at_which_this_event_happen.

Referenced by BranchCluster::copyBranchCluster(), and BranchEndState::copyBranchEndState().

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

◆ getTimeAtWhichThisEventHappen()

double Time::getTimeAtWhichThisEventHappen ( ) const

Definition at line 26 of file Timp.cpp.

References time_at_which_this_event_happen.

Referenced by compute_ancestry_path(), copyTime(), log_seq_fingerprint_mpi(), BranchEndState::saveInfoToFile(), and Client::Work().

Here is the caller graph for this function:

◆ retrieveTimeFromFile()

void Time::retrieveTimeFromFile ( std::ifstream &  fin)

Definition at line 36 of file Timp.cpp.

References time_at_which_this_event_happen.

Referenced by BranchCluster::retrieveBranchClusterFromFile().

Here is the caller graph for this function:

◆ saveTimeToFile()

void Time::saveTimeToFile ( std::ofstream &  fout)

Definition at line 32 of file Timp.cpp.

References time_at_which_this_event_happen.

Referenced by BranchCluster::saveBranchClusterToFile(), and BranchEndState::saveBranchEndStateToFile().

Here is the caller graph for this function:

◆ serialize()

template<class Archive >
void Time::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 35 of file Timp.h.

References time_at_which_this_event_happen.

◆ setTimeAtWhichThisEventHappen()

void Time::setTimeAtWhichThisEventHappen ( double  x)

Definition at line 28 of file Timp.cpp.

References time_at_which_this_event_happen.

Referenced by BranchRecord::addAnEndState().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 31 of file Timp.h.

Member Data Documentation

◆ time_at_which_this_event_happen

double Time::time_at_which_this_event_happen
private

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