1 ////////////////////////////////////////////////////////////////////////////// 2 // Copyright 2008 Andreas Huber Doenni 3 // Distributed under the Boost Software License, Version 1.0. (See accompany- 4 // ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 ////////////////////////////////////////////////////////////////////////////// 6 7 8 9 #include "Player.hpp" 10 #include "Waiting.hpp" // Waiting.hpp is only included here 11 12 13 14 ////////////////////////////////////////////////////////////////////////////// initiate_impl()15void Player::initiate_impl() 16 { 17 // Since we can only initiate at a point where the definitions of all the 18 // states in the initial state configuration are known, we duplicate 19 // the implementation of asynchronous_state_machine<>::initiate_impl() here 20 sc::state_machine< Player, Waiting, MyAllocator >::initiate(); 21 } 22 23 24 unsigned int Player::totalNoOfProcessedEvents_ = 0; 25