Mercurial > hg > Members > kono > Cerium
diff include/TaskManager/Random.h @ 229:401b55a4a4dd
add Random class
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 12 Feb 2009 19:05:02 +0900 |
parents | |
children | 2b114977852d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/TaskManager/Random.h Thu Feb 12 19:05:02 2009 +0900 @@ -0,0 +1,14 @@ +#ifndef INCLUDED_RANDOM +#define INCLUDED_RANDOM + +class Random { +public: + Random(void); + Random(unsigned int seed); + + int getData(void); +}; + +typedef Random *RandomPtr; + +#endif