USRP2 Rx triggering on PPS help

Hello all,

I am building a USRP2 receiver that captures and stores data on the
rising edge of the pps input. Is there a gnuradio block or C++ function
that would allow me to monitor the pps input or see when its rising or
falling edges occur?

Thanks,
Mike