PrivAttr.inl
Go to the documentation of this file.
1 namespace iv
2 {
3 
4 //--------------------- PrivAttr_Owner -----------------------------------------
5 template< class T >
7 {
8  attr->SourceValueChanged();
9 }
10 
11 template< class T >
13 {
14  attr->SetAttributeMode( mode );
15 }
16 
17 //--------------------- PrivAttr_I -------------------------------------
18 template< class T >
20  Attr< T >( cm, processor, false ),
21  owner( owner )
22 {
23 }
24 
25 template< class T >
26 void PrivAttr_I< T >::GetSourceValue( T & out ) const
27 {
28  return this->owner->PrivAttr_Get( out );
29 }
30 
31 template< class T >
32 void PrivAttr_I< T >::ModifySource( T const & value ) const
33 {
34  this->owner->PrivAttr_Modify( value );
35 }
36 
37 //--------------------- PrivAttr -------------------------------------
38 template< class T >
40  Local_AEP(),
41  PrivAttr_I< T >( cm, this, owner )
42 {
43  this->Notify_Activated();
44 }
45 
46 template< class T >
48 {
49  this->Notify_Deactivated();
50 }
51 
52 }