asl::UValue< T > Class Template Reference
Library Design Issues

Updatable value. This class stores value and its TimeStamp. More...

`#include <aslUValue.h>`

Inheritance diagram for asl::UValue< T >:
[legend]
Collaboration diagram for asl::UValue< T >:
[legend]

## Public Member Functions

| UValue ()
| UValue (const T &a)
const T & | operator= (const T &a)
| updates UValue::ts automaticaly More...
const T & | v () const
T & | v ()
| UValue ()
| UValue (const T &a)
const T & | operator= (const T &a)
| updates UValue::ts automaticaly More...
const T & | v () const
T & | v ()

## Public Attributes

std::shared_ptr< T > | p
TimeStamp | ts

## Related Functions

(Note that these are not member functions.)
template<typename T >
bool | operator== (const asl::UValue< T > &a, const T &v)
template<typename T >
bool | operator!= (const asl::UValue< T > &a, const T &v)
template<typename T >
bool | operator== (const asl::UValue< T > &a, const T &v)
template<typename T >
bool | operator!= (const asl::UValue< T > &a, const T &v)

## Detailed Description

### template<typename T>
class asl::UValue< T >

Updatable value. This class stores value and its TimeStamp.

Examples
  acousticWaves.cc, and testVectorOfElements.cc.

Definition at line 34 of file aslUValue.h.

## Constructor & Destructor Documentation

## UValue() [1/4]

template<typename T >

asl::UValue< T >::UValue | ( |  | ) |

inline explicit

Definition at line 39 of file aslUValue.h.

## UValue() [2/4]

template<typename T >

asl::UValue< T >::UValue | ( | const T & | a | ) |

inline explicit

Definition at line 40 of file aslUValue.h.

## UValue() [3/4]

template<typename T >

asl::UValue< T >::UValue | ( |  | ) |

inline explicit

Definition at line 39 of file aslUValue.h.

## UValue() [4/4]

template<typename T >

asl::UValue< T >::UValue | ( | const T & | a | ) |

inline explicit

Definition at line 40 of file aslUValue.h.

## Member Function Documentation

## operator=() [1/2]

template<typename T >

const T& asl::UValue< T >::operator= | ( | const T & | a | ) |

inline

updates UValue::ts automaticaly

Definition at line 42 of file aslUValue.h.

## operator=() [2/2]

template<typename T >

const T& asl::UValue< T >::operator= | ( | const T & | a | ) |

inline

updates UValue::ts automaticaly

Definition at line 42 of file aslUValue.h.

## v() [1/4]

template<typename T >

T& asl::UValue< T >::v | ( |  | ) |

inline

Definition at line 44 of file aslUValue.h.

## v() [2/4]

template<typename T >

T& asl::UValue< T >::v | ( |  | ) |

inline

Definition at line 44 of file aslUValue.h.

## v() [3/4]

template<typename T >

const T& asl::UValue< T >::v | ( |  | ) | const

inline

Definition at line 43 of file aslUValue.h.

## v() [4/4]

template<typename T >

const T& asl::UValue< T >::v | ( |  | ) | const

inline

Definition at line 43 of file aslUValue.h.

## Friends And Related Function Documentation

## operator!=() [1/2]

template<typename T >

bool operator!= | ( | const asl::UValue< T > & | a,
|  | const T & | v
| ) |  |

related

Definition at line 60 of file aslUValue.h.

## operator!=() [2/2]

template<typename T >

bool operator!= | ( | const asl::UValue< T > & | a,
|  | const T & | v
| ) |  |

related

Definition at line 60 of file aslUValue.h.

## operator==() [1/2]

template<typename T >

bool operator== | ( | const asl::UValue< T > & | a,
|  | const T & | v
| ) |  |

related

Definition at line 55 of file aslUValue.h.

## operator==() [2/2]

template<typename T >

bool operator== | ( | const asl::UValue< T > & | a,
|  | const T & | v
| ) |  |

related

Definition at line 55 of file aslUValue.h.

## Member Data Documentation

## p

template<typename T >

std::shared_ptr< T > asl::UValue< T >::p

Definition at line 37 of file aslUValue.h.

## ts

template<typename T >

TimeStamp asl::UValue< T >::ts

Definition at line 38 of file aslUValue.h.

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

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/num/aslBasicBC.h
- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/utilities/aslUValue.h