43 lines
761 B
C++
43 lines
761 B
C++
/*
|
|
* File: Distance.h
|
|
* Author: jgaebler
|
|
*
|
|
* Created on December 13, 2012, 4:10 PM
|
|
*/
|
|
#pragma once
|
|
|
|
#ifndef DISTANCE_H
|
|
#define DISTANCE_H
|
|
|
|
#include <string>
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
class Distance {
|
|
public:
|
|
|
|
Distance();
|
|
Distance(std::string name);
|
|
Distance(std::string name, double d);
|
|
Distance(const Distance& orig);
|
|
virtual ~Distance();
|
|
|
|
void setDistance(double distance);
|
|
double getDistance() const;
|
|
void setNodeName(std::string & nodeName);
|
|
std::string getNodeName() const;
|
|
|
|
private:
|
|
|
|
std::string nodeName;
|
|
double distance;
|
|
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* DISTANCE_H */
|
|
|