VrpnClient

class VrpnClient

Bases: ClientBase

A specific ClientBase that connects to a VRPN server and records information on the connected VRPN devices.

Inheritance diagram

Inheritance diagram of VrpnClient

explicit VrpnClient(std::string const &server_name)
static TypeHandle get_class_type(void)
std::string const &get_server_name(void) const

Returns the name of the server as passed to the VrpnClient constructor.

bool is_connected(void) const

Returns true if the connection is established successfully, false otherwise.

bool is_valid(void) const

Returns true if everything seems to be kosher with the server (even if there is no connection), or false otherwise.

void write(std::ostream &out, int indent_level = 0) const

Writes a list of the active devices that the VrpnClient is currently polling each frame.