MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / disconnect

Method disconnect

examples/SharedMemory/PhysicsClientTCP.cpp:245–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245void TcpNetworkedPhysicsProcessor::disconnect()
246{
247 const char msg[16] = "disconnect";
248 m_data->m_tcpSocket.Send((const uint8*)msg, 10);
249 m_data->m_tcpSocket.Close();
250 m_data->m_isConnected = false;
251}
252
253void TcpNetworkedPhysicsProcessor::setTimeOut(double timeOutInSeconds)
254{

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
exitPhysicsMethod · 0.45
test_connect_directMethod · 0.45
test_loadurdfMethod · 0.45
test_rolling_frictionMethod · 0.45
testJacobianMethod · 0.45
vr_kuka_setup.pyFile · 0.45
test.pyFile · 0.45

Calls 2

SendMethod · 0.45
CloseMethod · 0.45

Tested by 6

test_connect_directMethod · 0.36
test_loadurdfMethod · 0.36
test_rolling_frictionMethod · 0.36
testJacobianMethod · 0.36
__exit__Method · 0.36
__del__Method · 0.36