Orocos Real-Time Toolkit  2.8.3
Public Member Functions | Public Attributes | List of all members
RTT::extras::ROPtrInternal< T > Struct Template Reference

#include <rtt/extras/ReadOnlyPointer.hpp>

Public Member Functions

 ROPtrInternal (T *value)
 
 ~ROPtrInternal ()
 
void ref ()
 
bool deref ()
 

Public Attributes

os::Mutex lock
 
T * value
 
size_t readers
 

Detailed Description

template<typename T>
struct RTT::extras::ROPtrInternal< T >

Definition at line 52 of file ReadOnlyPointer.hpp.

Constructor & Destructor Documentation

template<typename T>
RTT::extras::ROPtrInternal< T >::ROPtrInternal ( T *  value)
inline

Definition at line 58 of file ReadOnlyPointer.hpp.

template<typename T>
RTT::extras::ROPtrInternal< T >::~ROPtrInternal ( )
inline

Definition at line 60 of file ReadOnlyPointer.hpp.

References RTT::extras::ROPtrInternal< T >::value.

Member Function Documentation

template<typename T>
bool RTT::extras::ROPtrInternal< T >::deref ( )
inline

Definition at line 66 of file ReadOnlyPointer.hpp.

Referenced by RTT::extras::intrusive_ptr_release().

template<typename T>
void RTT::extras::ROPtrInternal< T >::ref ( )
inline

Member Data Documentation

template<typename T>
os::Mutex RTT::extras::ROPtrInternal< T >::lock

Definition at line 54 of file ReadOnlyPointer.hpp.

template<typename T>
size_t RTT::extras::ROPtrInternal< T >::readers

Definition at line 56 of file ReadOnlyPointer.hpp.

Referenced by RTT::extras::ROPtrInternal< T >::ref().

template<typename T>
T* RTT::extras::ROPtrInternal< T >::value

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