AnimNotify

I have an AnimNotify in my animation editor screen and I want to access it from my characters C++ file, how do I use animNotify in C++ to run code or change a boolean value?