TSPS  1.3.2
TSPS is a cross-platform Toolkit for Sensing People in Spaces
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Defines
ofxTSPS::TCPSender Class Reference

#include <TCPSender.h>

List of all members.

Public Member Functions

 ~TCPSender ()
void setup (int port)
void update ()
void send ()
void personEntered (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false)
void personMoved (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false)
void personUpdated (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false)
void personWillLeave (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool sendContours=false)
void customEvent (string eventName, string eventData)
void customEvent (string eventName, vector< string >params)
void customEvent (string eventName, map< string, string >params)
string getPersonString (Person *p, ofPoint centroid, int cameraWidth, int cameraHeight, bool bSendContours)

Public Attributes

ofxTCPServer TCP
int port
int oldport
bool bSendContours
string currentString

Detailed Description

Definition at line 18 of file TCPSender.h.


Constructor & Destructor Documentation

Definition at line 27 of file TCPSender.cpp.


Member Function Documentation

void ofxTSPS::TCPSender::customEvent ( string  eventName,
string  eventData 
)

Definition at line 92 of file TCPSender.cpp.

void ofxTSPS::TCPSender::customEvent ( string  eventName,
vector< string >  params 
)

Definition at line 102 of file TCPSender.cpp.

void ofxTSPS::TCPSender::customEvent ( string  eventName,
map< string, string >  params 
)

Definition at line 116 of file TCPSender.cpp.

string ofxTSPS::TCPSender::getPersonString ( Person p,
ofPoint  centroid,
int  cameraWidth,
int  cameraHeight,
bool  bSendContours 
)

Definition at line 135 of file TCPSender.cpp.

void ofxTSPS::TCPSender::personEntered ( Person p,
ofPoint  centroid,
int  cameraWidth,
int  cameraHeight,
bool  sendContours = false 
)

Definition at line 53 of file TCPSender.cpp.

void ofxTSPS::TCPSender::personMoved ( Person p,
ofPoint  centroid,
int  cameraWidth,
int  cameraHeight,
bool  sendContours = false 
)

Definition at line 62 of file TCPSender.cpp.

void ofxTSPS::TCPSender::personUpdated ( Person p,
ofPoint  centroid,
int  cameraWidth,
int  cameraHeight,
bool  sendContours = false 
)

Definition at line 71 of file TCPSender.cpp.

void ofxTSPS::TCPSender::personWillLeave ( Person p,
ofPoint  centroid,
int  cameraWidth,
int  cameraHeight,
bool  sendContours = false 
)

Definition at line 80 of file TCPSender.cpp.

Definition at line 41 of file TCPSender.cpp.

void ofxTSPS::TCPSender::setup ( int  port)

Definition at line 15 of file TCPSender.cpp.

Definition at line 31 of file TCPSender.cpp.


Member Data Documentation

Definition at line 23 of file TCPSender.h.

Definition at line 29 of file TCPSender.h.

Definition at line 22 of file TCPSender.h.

Definition at line 22 of file TCPSender.h.

Definition at line 21 of file TCPSender.h.


The documentation for this class was generated from the following files: