class netCAVcam : public CAVcam

This is the derived class netCAVEcam

Inheritance:


Public

Methods
netCAVcam(char *hostname = NULL, int port = 0, int fr = 8, int bw = 128, int ttl = 4, float ex = 0.0, float ey = 5.0, float ez = 0.0, float cx = 0.0, float cy = 5.0, float cz = -5.0, float ux = 0.0, float uy = 1.0, float uz = 0.0)
Temporary constructor that takes optional arguments for the hostname and port of the video destination and optional arguments for the frame rate, bandwidth and time to live args.
~netCAVcam()
This destructor kills the vic process and the shared memory segment
void Init(void)
This initialization starts the vic process.
void Process(void)
This function renders the frame into the temporary buffer then flips it into the ring buffer

Private

Data
key_t _shmkey
Shared Memory Key
FLSharedMemory* _shmem
Shared Memory Object
char* _host
Destination Hostname
int _port
Destination Port
int _pid
Vic process id
int _frameRate
Vic frame rate
int _bandwidth
Vic bandwidth
int _ttl
Vic Time To Live
char* _fn
Camera configuration filename

Inherited from CAVcam:


Inherited from CAVSharedObject:


Documentation

This is the derived class netCAVEcam. netCAVcam starts a vic process upon initialization which uses a shared memory object to retrieve the rendered frames from the netCAVcam.

In order for this camera to find the vic binary it is necessary for the user to set the environment variable CAV_VIC to the full pathname (including trailing '/vic') to the vic binary that is compiled with shared memory support.

Methods

netCAVcam(char *hostname = NULL, int port = 0, int fr = 8, int bw = 128, int ttl = 4, float ex = 0.0, float ey = 5.0, float ez = 0.0, float cx = 0.0, float cy = 5.0, float cz = -5.0, float ux = 0.0, float uy = 1.0, float uz = 0.0)
Temporary constructor that takes optional arguments for the hostname and port of the video destination and optional arguments for the frame rate, bandwidth and time to live args.

~netCAVcam()
This destructor kills the vic process and the shared memory segment

void Init(void)
This initialization starts the vic process.

void Process(void)
This function renders the frame into the temporary buffer then flips it into the ring buffer

Data

key_t _shmkey
Shared Memory Key

FLSharedMemory* _shmem
Shared Memory Object

char* _host
Destination Hostname

int _port
Destination Port

int _pid
Vic process id

int _frameRate
Vic frame rate

int _bandwidth
Vic bandwidth

int _ttl
Vic Time To Live

char* _fn
Camera configuration filename


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