O'Reilly logo

Simulating Wireless Communication Systems: Practical Models In C++ by C. Britton Rorabaugh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix 2AEXAMPLE SOURCE CODE

The support directory on the companion Web site contains the classes that implement the PracSim simulation infrastructure. A number of these classes are listed in Table 2A.1. In addition to the items listed, the support directory also contains I/O support routines for the enumerated types presented in Section 2.1.3.

Table 2A.1 Classes in the support directory.

Image

2A.1 PracSimModel

Every model in PracSim inherits from the base class PracSimModel. The header for PracSimModel is provided in Listings 2A.1, and implementations for the various methods are provided in Listing 2A.2 through 2A.4.

Listing 2A.1 Header for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required