Method Chaining - what & how?

Hi, it´s me here, this time trying to deal with XInput. I found handy, perfectly working tutorial how to configure Xbox 360 -controller into your application. If anyone is interested, here´s the link:
http://www.codeproject.com/KB/directx/xbox360_cont_xinput.aspx

As I went along, I noticed this almost at the bottom of the page:
1
2
3
4
if(Player1->GetState().Gamepad.wButtons & XINPUT_GAMEPAD_A)
{
    Player1->Vibrate(65535, 0);
}


Now, after doing some research I found out that this line uses method chaining. However, the problem is, what & how I could possible use it & where would I need it? I would like to know more about this feature, please.
Last edited on
closed account (DSLq5Di1)
http://www.parashift.com/c++-faq-lite/references.html#faq-8.4
Topic archived. No new replies allowed.