Revision f857128b include/casyncmodule.h

View differences:

include/casyncmodule.h
43 43
 */
44 44
class cAsyncMessage;
45 45

  
46
class SIM_API cAsyncModule : public cSimpleModule
46
class SIM_API cAsyncModule : public cSimpleModule, public cNumberGenerator
47 47
{
48 48
  private:
49 49

  
......
97 97
    void setMessageMetaData(cMessage* msg);
98 98

  
99 99
  protected:
100
    // the central number generator of this module
101
    cNumberGenerator* numGen;
102

  
103 100

  
104 101
  public:
105 102
    /** @name Constructors and Destructors */
......
262 259
     * Wrapper methods for numberGenerator Method calls
263 260
     *
264 261
     */
265

  
262
/*
266 263
    inline double uniform(double a, double b, int rng=0) {
267 264
        return numGen->uniform(a,b,rng);
268 265
    }
......
350 347
    inline double dblrand() {
351 348
        return numGen->dblrand();
352 349
    }
353

  
350
*/
354 351
};
355 352

  
356 353
#endif /* __CASYNCMODULE_H */

Also available in: Unified diff