#include <IMDSim.h>
Inheritance diagram for IMDSim:
List of all members.
Definition at line 27 of file IMDSim.h.
Currently, VMD stores the simulation's state internally, but ideally these states should be communicated by NAMD.
initialize with host and port.
Definition at line 28 of file IMDSim.C.
References IMDOFFLINE, IMDRUNNING, new_coords_ready, NULL, numcoords, simstate, sock, vmdsock_connect, vmdsock_create, vmdsock_destroy, and vmdsock_init.
[virtual]
[inline, virtual]
Reimplemented in IMDSimBlocking.
Definition at line 52 of file IMDSim.h.
Referenced by IMDMgr::detach.
[protected]
Definition at line 51 of file IMDSim.C.
References imd_disconnect, IMDOFFLINE, simstate, sock, vmdsock_destroy, and vmdsock_shutdown.
Referenced by IMDSimBlocking::detach, IMDSimBlocking::kill, IMDSimThread::reader, IMDSimBlocking::send_forces, IMDSimBlocking::update, ~IMDSim, and IMDSimThread::~IMDSimThread.
Fetch last received coordinates and energies. Ask for both at the same time so that they at least have a chance of being in sync with each other.
Implemented in IMDSimBlocking.
Referenced by IMDMgr::check_event.
[inline]
Definition at line 38 of file IMDSim.h.
References simstate.
Referenced by IMDSimThread::pause, IMDSimBlocking::pause, IMDMgr::togglepause, IMDSimThread::unpause, and IMDSimBlocking::unpause.
[inline]
Definition at line 37 of file IMDSim.h.
References sock.
Referenced by IMDMgr::check_event, IMDMgr::connect, IMDSimThread::detach, IMDSimBlocking::detach, IMDSimThread::IMDSimThread, IMDSimThread::kill, IMDSimBlocking::kill, IMDSimThread::pause, IMDSimBlocking::pause, IMDSimThread::send_forces, IMDSimBlocking::send_forces, IMDSimThread::set_transrate, IMDSimBlocking::set_transrate, IMDSimThread::unpause, IMDSimBlocking::unpause, IMDSimBlocking::update, and IMDSimThread::~IMDSimThread.
[inline, virtual]
Reimplemented in IMDSimBlocking.
Definition at line 53 of file IMDSim.h.
Referenced by IMDMgr::kill.
[inline]
Definition at line 39 of file IMDSim.h.
References new_coords_ready.
Referenced by IMDMgr::check_event.
[inline, virtual]
Reimplemented in IMDSimBlocking.
Definition at line 49 of file IMDSim.h.
Referenced by IMDMgr::pause, and IMDMgr::togglepause.
[pure virtual]
[inline, virtual]
Reimplemented in IMDSimBlocking.
Definition at line 54 of file IMDSim.h.
Referenced by IMDMgr::set_trans_rate.
[static, protected]
reverse endianism of 4 bytes.
Definition at line 88 of file IMDSim.C.
References data.
Referenced by IMDSimThread::get_next_ts, IMDSimBlocking::get_next_ts, IMDSimThread::send_forces, and IMDSimBlocking::send_forces.
[inline, virtual]
Reimplemented in IMDSimBlocking.
Definition at line 50 of file IMDSim.h.
Referenced by IMDMgr::togglepause, and IMDMgr::unpause.
[inline, virtual]
Check for available data from the socket.
Reimplemented in IMDSimBlocking.
Definition at line 42 of file IMDSim.h.
Referenced by IMDMgr::check_event.
[protected]
[protected]
Definition at line 58 of file IMDSim.h.
Referenced by IMDSimThread::get_next_ts, IMDSimBlocking::get_next_ts, IMDSim, and next_ts_available.
[protected]
Definition at line 59 of file IMDSim.h.
Referenced by IMDSimThread::get_next_ts, IMDSimBlocking::get_next_ts, and IMDSim.
[protected]
One of enum IMDStates.
Definition at line 60 of file IMDSim.h.
Referenced by IMDSimThread::detach, IMDSimBlocking::detach, disconnect, getSimState, IMDSim, IMDSimThread::kill, IMDSimBlocking::kill, IMDSimThread::pause, IMDSimBlocking::pause, IMDSimThread::unpause, and IMDSimBlocking::unpause.
[protected]
Definition at line 57 of file IMDSim.h.
Referenced by IMDSimThread::detach, IMDSimBlocking::detach, disconnect, IMDSim, isConnected, IMDSimThread::kill, IMDSimBlocking::kill, IMDSimThread::pause, IMDSimBlocking::pause, IMDSimThread::reader, IMDSimThread::send_forces, IMDSimBlocking::send_forces, IMDSimThread::set_transrate, IMDSimBlocking::set_transrate, IMDSimThread::unpause, IMDSimBlocking::unpause, and IMDSimBlocking::update.