#include <MobileInterface.h>
Inheritance diagram for Mobile:
List of all members.
Definition at line 46 of file MobileInterface.h.
enum for Mobile movement modes.
Definition at line 49 of file MobileInterface.h.
Referenced by VMDApp::mobile_set_mode, and text_cmd_mobile.
enum for multitouch motion mode.
Definition at line 52 of file MobileInterface.h.
constructor.
Definition at line 546 of file MobileInterface.C.
References NULL, reset, ROTATE, wkf_timer_create, and wkf_timer_start.
[virtual]
destructor.
Definition at line 578 of file MobileInterface.C.
References mobile_listener_destroy, NULL, ResizeArray< JString * >::num, and wkf_timer_destroy.
command execute update.
Reimplemented from UIObject.
Definition at line 726 of file MobileInterface.C.
add a new client device connection, user nickname, IP, etc.
Definition at line 1243 of file MobileInterface.C.
References UIObject::active, ResizeArray< bool >::append, ResizeArray< int >::append, ResizeArray< JString * >::append, UIObject::runcommand, and SEND_ADDCLIENT.
[virtual]
check for and event, queue and return TRUE if one is found.
Reimplemented from UIObject.
Definition at line 734 of file MobileInterface.C.
References Animation::ANIM_FORWARD1, Animation::ANIM_PAUSE, Animation::ANIM_REVERSE1, ANIMATE, VMDApp::animation_set_dir, VMDApp::animation_set_speed, VMDApp::animation_set_stride, UIObject::app, DisplayDevice::AUX, EVENT_COMMAND, EVENT_NON_TOUCH, EVENT_TOUCH_DOWN, EVENT_TOUCH_MOVE, EVENT_TOUCH_SOMEDOWN, EVENT_TOUCH_SOMEUP, EVENT_TOUCH_UP, DisplayDevice::EventCodes, mobile_listener_poll, MOVE, OFF, ROTATE, UIObject::runcommand, SCALEROTZ, VMDApp::scene_rotate_by, VMDApp::scene_scale_by, VMDApp::scene_translate_by, TRANSLATE, VMD_PI, DisplayDevice::WIN_KBD, wkf_timer_start, and wkf_timer_timenow.
get the currently supported API level.
Definition at line 1029 of file MobileInterface.C.
References CURRENTAPIVERSION.
Referenced by VMDApp::mobile_get_APIsupported.
get the current list of connected clients.
Definition at line 1039 of file MobileInterface.C.
Referenced by VMDApp::mobile_get_client_list.
[static]
gets a string representing a mode's name.
Definition at line 1008 of file MobileInterface.C.
References ANIMATE, MOVE, OFF, TRACKER, and USER.
Referenced by text_cmd_mobile.
get the currently configured mode.
Definition at line 1034 of file MobileInterface.C.
Referenced by VMDApp::mobile_get_mode.
get the currently configured port number.
Definition at line 1024 of file MobileInterface.C.
Referenced by VMDApp::mobile_get_network_port.
return the current orientation event data, used by the UIVR MobileTracker interface.
Definition at line 1164 of file MobileInterface.C.
Referenced by VMDApp::mobile_get_tracker_status.
set the Mobile move mode to the given state; return success.
Definition at line 1179 of file MobileInterface.C.
References mobile_listener_create, mobile_listener_destroy, NULL, OFF, removeAllClients, UIObject::runcommand, SEND_SETMODE, and TRACKER.
Referenced by VMDApp::mobile_set_mode, and reset.
set the incoming UDP port (closing the old one if needed).
Definition at line 1216 of file MobileInterface.C.
References mobile_listener_create, mobile_listener_destroy, NULL, OFF, removeAllClients, and UIObject::runcommand.
Referenced by VMDApp::mobile_network_port.
disconnect all client devices.
Definition at line 1258 of file MobileInterface.C.
References ResizeArray< JString * >::num, and removeClient.
Referenced by move_mode, and network_port.
remove a connected client device.
Definition at line 1266 of file MobileInterface.C.
References ResizeArray< bool >::num, num, ResizeArray< int >::remove, ResizeArray< bool >::remove, ResizeArray< JString * >::remove, UIObject::runcommand, and SEND_REMOVECLIENT.
Referenced by removeAllClients.
[virtual]
reset the user interface (force update of all info displays).
Reimplemented from UIObject.
Definition at line 705 of file MobileInterface.C.
References move_mode, OFF, and set_max_stride.
Referenced by Mobile.
send a message to a single client.
Definition at line 1048 of file MobileInterface.C.
References ResizeArray< JString * >::num.
Referenced by VMDApp::mobile_sendMsg.
set the active client, based on their nick and IP.
Definition at line 1120 of file MobileInterface.C.
References ResizeArray< bool >::num, ResizeArray< JString * >::num, ROTATE, and SEND_SETACTIVECLIENT.
Referenced by VMDApp::mobile_set_activeClient.
[inline]
set the maximum animation stride allowed.
Definition at line 175 of file MobileInterface.h.
Referenced by reset.