Event-Triggering in Cyber-Physical Systems