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

assignment delegate, an object which can assign an attribute value to an attribute object More...

#include <cpp_pthreads/attr.h>

Public Member Functions

 Assignment (const T &value)
 constructs an assignment object from a value More...
 
int set (Attr< Base > &attr) const
 sets the attribute value of attr to the value stored in this object More...
 

Public Attributes

m_value
 storage for the value to be assigned More...
 

Detailed Description

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

assignment delegate, an object which can assign an attribute value to an attribute object

Definition at line 36 of file attr.h.

Constructor & Destructor Documentation

template<class Base, typename T>
pthreads::Assignment< Base, T >::Assignment ( const T &  value)
inline

constructs an assignment object from a value

Definition at line 51 of file attr.h.

Member Function Documentation

template<class Base, typename T>
int pthreads::Assignment< Base, T >::set ( Attr< Base > &  attr) const

sets the attribute value of attr to the value stored in this object

Member Data Documentation

template<class Base, typename T>
T pthreads::Assignment< Base, T >::m_value

storage for the value to be assigned

Definition at line 48 of file attr.h.


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