diff options
| author | manuel <manuel@nc8430.lan> | 2009-05-30 16:32:27 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-05-30 16:32:27 +0200 |
| commit | 9d0b2d638db0f3d1f5b7ec46912c367adefbf91e (patch) | |
| tree | f833cc44a91f4649223e3d6354c0d13a9b008ae9 /ue4/mycpu/mycpu.cpp | |
| parent | c78472d9e36202c510a7e00774e5e875cc96207b (diff) | |
| download | ooprog-9d0b2d638db0f3d1f5b7ec46912c367adefbf91e.tar.gz ooprog-9d0b2d638db0f3d1f5b7ec46912c367adefbf91e.tar.bz2 ooprog-9d0b2d638db0f3d1f5b7ec46912c367adefbf91e.zip | |
final stuff
Diffstat (limited to 'ue4/mycpu/mycpu.cpp')
| -rw-r--r-- | ue4/mycpu/mycpu.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ue4/mycpu/mycpu.cpp b/ue4/mycpu/mycpu.cpp index aefe0cb..7f45d33 100644 --- a/ue4/mycpu/mycpu.cpp +++ b/ue4/mycpu/mycpu.cpp | |||
| @@ -29,7 +29,19 @@ | |||
| 29 | using namespace std; | 29 | using namespace std; |
| 30 | namespace po = boost::program_options; | 30 | namespace po = boost::program_options; |
| 31 | 31 | ||
| 32 | /* TODO */ | 32 | /** |
| 33 | * @func cpu_run | ||
| 34 | * @brief template for executing cpu with different datatype | ||
| 35 | * @param me string to name of me | ||
| 36 | * @param vm po::variables_map | ||
| 37 | * @param registers number of registers | ||
| 38 | * @param datatype instance of datatype | ||
| 39 | * @return - | ||
| 40 | * @globalvars none | ||
| 41 | * @exception none | ||
| 42 | * @pre none | ||
| 43 | * @post none | ||
| 44 | */ | ||
| 33 | template<class T> | 45 | template<class T> |
| 34 | void cpu_run(string& me, po::variables_map& vm, unsigned registers, T& datatype) | 46 | void cpu_run(string& me, po::variables_map& vm, unsigned registers, T& datatype) |
| 35 | { | 47 | { |
