ofNotifyMouseMoved replacement?

How can I use ofNotifyEvent? like ofNotifyMouseMoved?

Couldn’t figure out what to pass in the function

   ofMouseEventArgs mouseEventArgs(ofMouseEventArgs::Moved,p.x,p.y,0);
   ofNotifyEvent(mouseEventArgs );