0.2.0
Loading...
Searching...
No Matches
NAV::InputPin::IncomingLink::ValueWrapper< T > Class Template Reference

Value wrapper, automatically incrementing and decrementing the data access counter. More...

Public Member Functions

ValueWrapperoperator= (const ValueWrapper &other)
 Copy assignment operator.
 
ValueWrapperoperator= (ValueWrapper &&other) noexcept
 Move assignment operator.
 
 ValueWrapper (const T *v, OutputPin *outputPin, bool &dataChangeNotification)
 Constructor.
 
 ValueWrapper (const ValueWrapper &other)
 Copy constructor.
 
 ValueWrapper (ValueWrapper &&other) noexcept
 Move constructor.
 
 ~ValueWrapper ()
 Desctructor.
 

Public Attributes

const T * v
 Pointer to the value wrapped.
 

Detailed Description

template<typename T>
class NAV::InputPin::IncomingLink::ValueWrapper< T >

Value wrapper, automatically incrementing and decrementing the data access counter.

Constructor & Destructor Documentation

◆ ValueWrapper()

template<typename T >
NAV::InputPin::IncomingLink::ValueWrapper< T >::ValueWrapper ( const T * v,
OutputPin * outputPin,
bool & dataChangeNotification )
inline

Constructor.

Parameters
vReference to the value to wrap
outputPinOutput pin reference
dataChangeNotificationReference to the Data change notification of the link

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