![]() |
Beaming Scene Service
2.0
RakNet wrapper for managing data communications between multiple Beaming clients
|
#include <iostream>
#include <stdio.h>
#include "Kbhit.h"
#include "Getche.h"
#include "client.h"
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <cstdlib>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
sampleClient.cpp This client acts as a thin client, in that it simply connects to the server and sends and recieves data from server Use this file as a guide on how to connect to the Beaming Scene Service
Contact Wole Oyekoya <w.oyekoya@cs.ucl.ac.uk> for any queries
Include client.h
connect using startclient
add Rocketbox avatar
add FACIAL root node
add AUDIO root node
check incoming packets
update AVATAR root node
Reading AVATAR data get information on all connected clients. use to populate a drop-down combo box for example.
for each connected guid in the database, get the nodes information.
pass iddata and avid to fetch data of all AVATAR nodes of the client as a pointer
OR get specific AVATAR node data in local coordinates using
OR get specific AVATAR node data in world coordinates using
to get Avatar Name use getAvatarName(...)
Reading other types of data (e.g. GENERIC) get information on all connected clients.
for each connected guid in the database, get the nodes information.
pass iddata and genericid to fetch data of all GENERIC nodes of the client
Reading other types of data (e.g. FACIAL) get information on all connected clients.
for each connected guid in the database, get the nodes information.
pass iddata and faceid to fetch data of all AVATAR nodes of the client as a pointer
OR get specific FACIAL node data using
Reading other types of data (e.g. AUDIO) get information on all connected clients.
for each connected guid in the database, get the nodes information.
pass iddata and audioid to fetch data of all AUDIO nodes of the client as a pointer
Reading other types of data (e.g. VIDEO) get information on all connected clients.
for each connected guid in the database, get the nodes information.
pass iddata and videoid to fetch data of all VIDEO nodes of the client as a pointer
remove all nodes and clean up on exit
Definition at line 26 of file sampleClient.cpp.