cheshirekow  v0.1.0
pthreads::Delegate< Base, T > Struct Template Reference

two-way delegate, may assign or retrieve (unsafely) an attribute value of an attribute object More...

#include <cpp_pthreads/attr.h>

Public Member Functions

 Delegate (Attr< Base > &attr)
 
 operator T ()
 
int operator= (T value)
 

Public Attributes

Attr< Base > & m_attr
 

Detailed Description

template<class Base, typename T>
struct pthreads::Delegate< Base, T >

two-way delegate, may assign or retrieve (unsafely) an attribute value of an attribute object

Note
This is an intermediate object returned by the map operator for an attribute class. There isn't any reason for you to use this object in your own code.

Definition at line 38 of file attr.h.

Constructor & Destructor Documentation

template<class Base, typename T>
pthreads::Delegate< Base, T >::Delegate ( Attr< Base > &  attr)
inline

Definition at line 236 of file attr.h.

Member Function Documentation

template<class Base, typename T>
pthreads::Delegate< Base, T >::operator T ( )
inline

Definition at line 240 of file attr.h.

template<class Base, typename T>
int pthreads::Delegate< Base, T >::operator= ( value)
inline

Definition at line 247 of file attr.h.

Member Data Documentation

template<class Base, typename T>
Attr<Base>& pthreads::Delegate< Base, T >::m_attr

Definition at line 234 of file attr.h.


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