ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::UValue< T > Class Template Reference

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

#include <aslUValue.h>

Inheritance diagram for asl::UValue< T >:
Collaboration diagram for asl::UValue< T >:

Public Member Functions

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

Public Attributes

std::shared_ptr< T > p
TimeStamp ts

(Note that these are not member symbols.)

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

Constructor & Destructor Documentation

◆ UValue() [1/4]

template<typename T>
asl::UValue< T >::UValue ( )
inlineexplicit

Definition at line 39 of file aslUValue.h.

◆ UValue() [2/4]

template<typename T>
asl::UValue< T >::UValue ( const T & a)
inlineexplicit

Definition at line 40 of file aslUValue.h.

◆ UValue() [3/4]

template<typename T>
asl::UValue< T >::UValue ( )
inlineexplicit

Definition at line 39 of file aslUValue.h.

◆ UValue() [4/4]

template<typename T>
asl::UValue< T >::UValue ( const T & a)
inlineexplicit

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.

◆ 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: