0.4.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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.
 

Data Fields

const T * v
 Pointer to the value wrapped.
 

Private Attributes

OutputPinoutputPin
 Pointer to the output pin representing the data.
 

Detailed Description

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

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

Definition at line 583 of file Pin.hpp.

Constructor & Destructor Documentation

◆ ValueWrapper() [1/3]

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

Definition at line 590 of file Pin.hpp.

◆ ~ValueWrapper()

template<typename T>
NAV::InputPin::IncomingLink::ValueWrapper< T >::~ValueWrapper ( )
inline

Desctructor.

Definition at line 601 of file Pin.hpp.

◆ ValueWrapper() [2/3]

template<typename T>
NAV::InputPin::IncomingLink::ValueWrapper< T >::ValueWrapper ( const ValueWrapper< T > & other)
inline

Copy constructor.

Definition at line 618 of file Pin.hpp.

◆ ValueWrapper() [3/3]

template<typename T>
NAV::InputPin::IncomingLink::ValueWrapper< T >::ValueWrapper ( ValueWrapper< T > && other)
inlinenoexcept

Move constructor.

Definition at line 625 of file Pin.hpp.

Member Function Documentation

◆ operator=() [1/2]

template<typename T>
ValueWrapper & NAV::InputPin::IncomingLink::ValueWrapper< T >::operator= ( const ValueWrapper< T > & other)
inline

Copy assignment operator.

Definition at line 631 of file Pin.hpp.

◆ operator=() [2/2]

template<typename T>
ValueWrapper & NAV::InputPin::IncomingLink::ValueWrapper< T >::operator= ( ValueWrapper< T > && other)
inlinenoexcept

Move assignment operator.

Definition at line 643 of file Pin.hpp.

Field Documentation

◆ outputPin

template<typename T>
OutputPin* NAV::InputPin::IncomingLink::ValueWrapper< T >::outputPin
private

Pointer to the output pin representing the data.

Definition at line 659 of file Pin.hpp.

◆ v

template<typename T>
const T* NAV::InputPin::IncomingLink::ValueWrapper< T >::v

Pointer to the value wrapped.

Definition at line 655 of file Pin.hpp.


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