Fire and Catch Event

Hello,

I need to fire and event when a function is called …
… And catch that event somewhere else.

How can I do this?

Thanks,
Miguel