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 const std::string &get_name() const { return name; }
35 const Msp::GL::Color &get_color() const { return color; }
37 void add_activity(unsigned);
38 float get_activity() const { return activity.get_average(); }
40 void tick(const Msp::Time::TimeDelta &);