Develop a class of test spectrum generator for radio signals in C++. This class implements methods of generating frequency spectrum of signals with different modulation (implement AM and FM). The generator takes the frequency range (start and end), sample rate, signal-to-noise ratio, list of signal information: struct Signal {Modulation modulation; double power; double frequency; double bandwidth;}. First it has to calculate signal, then calculate its complex spectrum. To simplify the calculations, the signal spectrum is first calculated with the carrier frequency equal to zero, and then shifted to a given frequency. After all signal spectra have been generated and shifted to their corresponding carrier frequency, a white Gaussian noise of a given signal-to-noise ratio is added to the entire frequency range. The output is an vector of spectrum values in logarithmic scale.