3 This file is part of NetVis
4 Copyright @ 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed unter the GPL
13 #include <msp/time/timedelta.h>
24 std::string short_name;
32 Host(NetVis &, unsigned);
33 unsigned get_address() const { return addr; }
34 void set_name(const std::string &);
35 const std::string &get_name() const { return name; }
38 void set_position(const Vector2 &);
39 const Vector2 &get_position() const { return pos; }
41 void set_active(bool);
42 bool get_active() const { return active; }
43 void add_activity(unsigned);
44 float get_activity() const { return activity; }
47 void tick(const Msp::Time::TimeDelta &);