owlps/GuiNuMo-server/clientinfo.hh

32 lines
593 B
C++

#ifndef _CLIENTINFO_HH_
#define _CLIENTINFO_HH_
#include <iostream>
#include <string>
#include <vector>
#include "point.hh"
using namespace std;
using std::string;
#define CLIENT_DEFAULT_PORT 7778
class ClientInfo
{
protected:
string client_ip;
float antenna_gain;
int client_listen_port;
vector<Point> viterbi_vector1; /* Previous vector */
vector<Point> viterbi_vector2; /* Last vector */
float viterbi_distances[5];
public:
ClientInfo();
ClientInfo(string ip, int port, float antg);
~ClientInfo();
float getAntennaGain()const { return antenna_gain; };
};
#endif