#148 PATCH: QAM, PSK, PAM classes default empty constructor

release_3.99.x
closed
5
2012-09-15
2007-02-16
No

The QAM, PSK, PAM_c and PAM modulator classes don't have a default empty constructor, so you can't create something like this:

class Receiver {
public:
void set_M(int M) { qam.set_M(M); }
private:
QAM qam;
};

The attached patch adds default empty constructors to the QAM, PSK, PAM_c and PAM modulator classes.

Discussion

  • Jordy Potman

    Jordy Potman - 2007-02-16

    Patch to add default empty constructors to the QAM, PSK, PAM_c and PAM modulator classes

     
  • Adam Piątyszek

    Adam Piątyszek - 2007-02-16

    Logged In: YES
    user_id=1004597
    Originator: NO

    Could you please let us know against which IT++ version (SVN revision) you prepared the patch?
    BTW, in future you can use "Group" and "Category" fields in this bug reporting system to specify the IT++ module and version.

    BR,
    /ediap

     
  • Jordy Potman

    Jordy Potman - 2007-02-16

    Logged In: YES
    user_id=1417468
    Originator: YES

    It is against SVN trunk revision 934.

    Jordy

     
  • Adam Piątyszek

    Adam Piątyszek - 2007-02-16

    Logged In: YES
    user_id=1004597
    Originator: NO

    OK, thanks! Fixed in SVN trunk (revision 936). Will appear in the next development release 3.99.1.

    /ediap

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks