c++ unit

Georg Seidel <[email protected]>
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I removed the unitfactory - it is not needed because
we don't have unit instances...

Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBo5Qs/rP0cdKF/ToRAp6LAJ9s0qIweN7g5Vz8k/RzAtrlhnrZ6wCgjHn3
fUebLtZG5DJ1Vn6bCPPQV4Q=
=mEHt
-----END PGP SIGNATURE-----

_______________________________________________
gephex-devel mailing list
[email protected]
http://lists.gephex.org/mailman/listinfo/gephex-devel
unit.h (text/x-chdr, 561 B)
namespace gphx

{

  class Link;
  class Logger;

  class Unit
    {
    public:
      Unit(const char name*, Logger& l);
      virtual ~Unit();

      virtual const char* get_spec();

      virtual const char* get_port_spec(int index);

      // Takes an array of links, one for each port
      // in the order specified by the port specs
      // TODO: use something more flexible like
      // a doubly linked list or a quad-pumped
      // hash-table
      virtual void update(Link*);

    protected:
      const char* m_name;
      Logger& m_log;
  };


}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.