Clock class template for SystemC