20 lines
303 B
C++
20 lines
303 B
C++
#include "clientinfo.hh"
|
|
|
|
|
|
ClientInfo::ClientInfo(string ip, int port, float antg)
|
|
{
|
|
client_ip = ip;
|
|
antenna_gain = antg;
|
|
client_listen_port = port;
|
|
|
|
for(int i=0 ; i < 5 ; i++)
|
|
viterbi_distances[i] = 0;
|
|
}
|
|
|
|
ClientInfo::~ClientInfo()
|
|
{
|
|
viterbi_vector1.clear();
|
|
viterbi_vector2.clear();
|
|
}
|
|
|