3 This file is part of NetVis
4 Copyright @ 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed unter the GPL
12 #include <msp/gl/color.h>
13 #include <msp/gl/mesh.h>
30 Port(NetVis &, unsigned);
32 unsigned get_number() const { return number; }
33 bool is_registered() const { return registered; }
34 void set_name(const std::string &);
35 const std::string &get_name() const { return name; }
36 const Msp::GL::Color &get_color() const { return color; }
38 void add_activity(unsigned);
39 float get_activity() const { return activity.get_average(); }
41 void tick(const Msp::Time::TimeDelta &);