← Documentation
ADS-IDAC Engine 5.0.0
VariableTrip Class Reference

#include <VariableTrip.h>

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

Public Member Functions

 VariableTrip ()
 
virtual ~VariableTrip ()
 
double getTripTime ()
 
void setTripTime (double time)
 
std::string getUnitOfTripTime ()
 
void readInfoFromFile (std::ifstream &)
 
void copyVariableTrip (VariableTrip &)
 
void saveVariableTripToFile (std::ofstream &)
 
void retrieveVariableTripFromFile (std::ifstream &)
 
- Public Member Functions inherited from THElement
 THElement ()
 
virtual ~THElement ()
 
std::string getName ()
 
void setName (std::string newName)
 
int getCardNumber ()
 
void setCardNumber (int newCardNumber)
 
void readInfoFromFile (std::ifstream &)
 
Relap5ComponentType getTypeOfCard ()
 
void setTypeOfCard (Relap5ComponentType newTypeOfCard)
 
void copyTHElement (THElement &)
 
void saveTHElementToFile (std::ofstream &)
 
void retrieveTHElementFromFile (std::ifstream &)
 

Private Member Functions

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

Private Attributes

double trip_time
 
std::string unit_of_trip_time
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 14 of file VariableTrip.h.

Constructor & Destructor Documentation

◆ VariableTrip()

VariableTrip::VariableTrip ( )

Definition at line 16 of file VariableTrip.cpp.

References THElement::setTypeOfCard(), trip_time, unit_of_trip_time, and VariableTrip.

Here is the call graph for this function:

◆ ~VariableTrip()

VariableTrip::~VariableTrip ( )
virtual

Definition at line 23 of file VariableTrip.cpp.

Member Function Documentation

◆ copyVariableTrip()

void VariableTrip::copyVariableTrip ( VariableTrip &  _vt)

Definition at line 41 of file VariableTrip.cpp.

References THElement::copyTHElement(), getTripTime(), getUnitOfTripTime(), trip_time, and unit_of_trip_time.

Here is the call graph for this function:

◆ getTripTime()

double VariableTrip::getTripTime ( )

Definition at line 27 of file VariableTrip.cpp.

References trip_time.

Referenced by copyVariableTrip(), and SystemDisplay::getCorrespondingSystemParameterValue().

Here is the caller graph for this function:

◆ getUnitOfTripTime()

string VariableTrip::getUnitOfTripTime ( )

Definition at line 29 of file VariableTrip.cpp.

References unit_of_trip_time.

Referenced by copyVariableTrip().

Here is the caller graph for this function:

◆ readInfoFromFile()

void VariableTrip::readInfoFromFile ( std::ifstream &  )

Definition at line 30 of file VariableTrip.cpp.

References THElement::readInfoFromFile().

Here is the call graph for this function:

◆ retrieveVariableTripFromFile()

void VariableTrip::retrieveVariableTripFromFile ( std::ifstream &  )

Definition at line 37 of file VariableTrip.cpp.

References THElement::retrieveTHElementFromFile(), trip_time, and unit_of_trip_time.

Here is the call graph for this function:

◆ saveVariableTripToFile()

void VariableTrip::saveVariableTripToFile ( std::ofstream &  )

Definition at line 33 of file VariableTrip.cpp.

References THElement::saveTHElementToFile(), trip_time, and unit_of_trip_time.

Here is the call graph for this function:

◆ serialize()

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

Definition at line 32 of file VariableTrip.h.

References trip_time, and unit_of_trip_time.

◆ setTripTime()

void VariableTrip::setTripTime ( double  time)

Definition at line 28 of file VariableTrip.cpp.

References trip_time.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file VariableTrip.h.

Member Data Documentation

◆ trip_time

double VariableTrip::trip_time
private

◆ unit_of_trip_time

std::string VariableTrip::unit_of_trip_time
private

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