Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

VMDCollab Class Reference

#include <VMDCollab.h>

Inheritance diagram for VMDCollab:

UIObject List of all members.

Public Methods

 VMDCollab (VMDApp *)
 ~VMDCollab ()
int startserver (int port)
void stopserver ()
int connect (const char *host, int port)
void disconnect ()
int check_event ()
 check for an event, and queue it if found. Return TRUE if an event was generated. More...

int act_on_command (int, Command *)
 update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F). More...


Constructor & Destructor Documentation

VMDCollab::VMDCollab VMDApp  
 

Definition at line 74 of file VMDCollab.C.

References UIObject::command_wanted, NULL, and Command::TOTAL.

VMDCollab::~VMDCollab  
 

Definition at line 83 of file VMDCollab.C.

References stopserver.


Member Function Documentation

int VMDCollab::act_on_command int   ,
Command   cmd
[virtual]
 

update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F).

Reimplemented from UIObject.

Definition at line 239 of file VMDCollab.C.

References Command::has_text, imd_writen, Inform::reset, Inform::text, vmd_msleep, and VMDCOLLAB_MSGSIZE.

int VMDCollab::check_event void    [virtual]
 

check for an event, and queue it if found. Return TRUE if an event was generated.

Reimplemented from UIObject.

Definition at line 222 of file VMDCollab.C.

References imd_readn, NULL, UIObject::runcommand, VMDCOLLAB_MSGSIZE, vmdsock_destroy, vmdsock_selread, and vmdsock_shutdown.

int VMDCollab::connect const char *    host,
int    port
 

Definition at line 187 of file VMDCollab.C.

References NULL, vmd_sleep, vmdsock_connect, vmdsock_create, and vmdsock_destroy.

Referenced by text_cmd_collab.

void VMDCollab::disconnect  
 

Definition at line 215 of file VMDCollab.C.

References NULL, vmdsock_destroy, and vmdsock_shutdown.

Referenced by text_cmd_collab.

int VMDCollab::startserver int    port
 

Definition at line 150 of file VMDCollab.C.

References vmd_thread_create, vmd_thread_t, vmdsock_bind, vmdsock_create, vmdsock_destroy, and vmdsock_listen.

Referenced by text_cmd_collab.

void VMDCollab::stopserver  
 

Definition at line 180 of file VMDCollab.C.

References NULL, and vmdsock_shutdown.

Referenced by ~VMDCollab.


The documentation for this class was generated from the following files:
Generated on Fri Jul 4 01:28:37 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002