Event-based State Estimation in Cyber-Physical Systems