Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_graphics
Animation
Connectors
State_AnimNode.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Destination_Connector.hpp
"
4
#include <
ivorium_core/ivorium_core.hpp
>
5
6
namespace
iv
7
{
8
18
template
<
class
T >
19
class
State_AnimNode
:
public
AnimNode
< T >,
public
Destination_Connector
< T >
20
{
21
public
:
22
using
AnimNode< T >::instance
;
23
ClientMarker
cm
;
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
{
31
this->cm.
inherits
( this->
AnimNode< T >::cm
, this->
Destination_Connector< T >::cm
);
32
}
33
34
private
:
35
SharedAttr< T >
attr;
36
};
37
38
}