State_AnimNode.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace iv
7 {
8 
18 template< class T >
19 class State_AnimNode : public AnimNode< T >, public Destination_Connector< T >
20 {
21 public:
24 
25  State_AnimNode( Instance * inst, T const & initial ) :
26  AnimNode< T >( inst, initial ),
27  Destination_Connector< T >( inst, this, &this->attr ),
28  cm( inst, this, "State_AnimNode" ),
29  attr( &this->cm, initial )
30  {
32  }
33 
34 private:
35  SharedAttr< T > attr;
36 };
37 
38 }