From 7833f98efff394454973a0a3441ddac608066737 Mon Sep 17 00:00:00 2001 From: eb Date: Wed, 28 Mar 2007 18:58:21 +0000 Subject: Merged mblock work-in-progress eb/mb -r4798:4808 into trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4809 221aa14e-8319-0410-a670-987f0aec2ac5 --- mblock/src/lib/mb_mblock.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'mblock/src/lib/mb_mblock.h') diff --git a/mblock/src/lib/mb_mblock.h b/mblock/src/lib/mb_mblock.h index 00e4051c0..594920f91 100644 --- a/mblock/src/lib/mb_mblock.h +++ b/mblock/src/lib/mb_mblock.h @@ -24,7 +24,6 @@ #include #include #include -#include /*! @@ -175,15 +174,21 @@ protected: int nconnections() const; + //! Set the class name + void set_class_name(const std::string name); public: virtual ~mb_mblock(); - void set_fullname(const std::string name); - - //! Return full name of this block - std::string fullname() const; + //! Return instance name of this block + std::string instance_name() const; + + //! Return the class name of this block + std::string class_name() const; + //! Set the instance name of this block. + void set_instance_name(const std::string name); + //! Return the parent of this mblock, or 0 if we're the top-level block. mb_mblock *parent() const; -- cgit