Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   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 79 of file VMDCollab.C.

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

VMDCollab::~VMDCollab  
 

Definition at line 92 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 257 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 239 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 202 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 231 of file VMDCollab.C.

References NULL, vmdsock_destroy, and vmdsock_shutdown.

Referenced by text_cmd_collab.

int VMDCollab::startserver int    port
 

Definition at line 162 of file VMDCollab.C.

References vmdsock_bind, vmdsock_create, vmdsock_destroy, vmdsock_listen, wkf_thread_create, and wkf_thread_t.

Referenced by text_cmd_collab.

void VMDCollab::stopserver  
 

Definition at line 194 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 Mar 29 02:48:06 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002