00001 #ifndef RANDOM_HH_ 00002 # define RANDOM_HH_ 00003 00004 namespace rxrandom 00005 { 00006 class CRandom 00007 { 00008 public: 00009 CRandom(); 00010 00011 void initialize(unsigned int seed = 0); 00012 00013 double random(); 00014 int random(int max); 00015 }; 00016 } 00017 00018 #endif