RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_HidNthMatchAcceptor类 参考

Accepts the Nth device matching a given acceptor. 更多...

#include <vrpn_HumanInterface.h>

+ 类 vrpn_HidNthMatchAcceptor 继承关系图:
+ vrpn_HidNthMatchAcceptor 的协作图:

Public 成员函数

 vrpn_HidNthMatchAcceptor (size_t index, vrpn_HidAcceptor *acceptor)
 
bool accept (const vrpn_HIDDEVINFO &device)
 
void reset ()
 

详细描述

Accepts the Nth device matching a given acceptor.

This demonstrates the composition of acceptors, allowing the user/programmer to create a more specific Hid object without needing to duplicate code all over the place.

成员函数说明

◆ accept()

bool accept ( const vrpn_HIDDEVINFO & device)
inlinevirtual

实现了 vrpn_HidAcceptor.

◆ reset()

void reset ( )
inlinevirtual

重载 vrpn_HidAcceptor .


该类的文档由以下文件生成: