class CAVERN_voiceRecog_c

CAVERN_voiceRecog_c class work with CAVERNsoft's Java Interface Module which provides speech recognition capability to CAVE and CAVERNsoft applications

Public Methods

CAVERN_voiceRecog_c()
set Send Port to 8000 (Default) , and initilize CAVERN
CAVERN_voiceRecog_c(char *host)
set Send Port to 8000 (Default), set Send Host, and initilize CAVERN
void init()
initilize Send Socket
void setSendPort(long)
set send Port
void setHost(char *)
set Send Host
unsigned short getSendPort()
get Send Port
char* getHost()
get Send Host Name
void start()
send the "start" command to server and set status to 1
void sleep()
send the "sleep" command to server and set status to 0
char* getCommand()
receive data form the pc and store it in the string and return string Value
char* getLastCommand()
return Last receive Command value
long getCounter()
number of command receive
int getStatus()
return 1 if started other wise return 0 if sleeping

Documentation

CAVERN_voiceRecog_c class work with CAVERNsoft's Java Interface Module which provides speech recognition capability to CAVE and CAVERNsoft applications. It sends and receives data from Java Server using UDP protocal. This class header "CAVERNnet_udp_c.h++" need to be include in any CAVERNsoft's application.
CAVERN_voiceRecog_c()
set Send Port to 8000 (Default) , and initilize CAVERN

CAVERN_voiceRecog_c(char *host)
set Send Port to 8000 (Default), set Send Host, and initilize CAVERN

void init()
initilize Send Socket

void setSendPort(long)
set send Port

void setHost(char *)
set Send Host

unsigned short getSendPort()
get Send Port

char* getHost()
get Send Host Name

void start()
send the "start" command to server and set status to 1

void sleep()
send the "sleep" command to server and set status to 0

char* getCommand()
receive data form the pc and store it in the string and return string Value

char* getLastCommand()
return Last receive Command value

long getCounter()
number of command receive

int getStatus()
return 1 if started other wise return 0 if sleeping


(c)opyright by Muhammad Ali Khan

This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de