Browse Subversion Repository
Contents of /simulator/UrgSimulator.cpp
Parent Directory
| Revision Log
Revision 191 -
( show annotations)
( download)
( as text)
Fri Jan 4 02:49:36 2008 UTC
(16 years, 3 months ago)
by satofumi
File MIME type: text/x-c++src
File size: 632 byte(s)
using namespace beego
| 1 |
/*! |
| 2 |
\file |
| 3 |
\brief URG シミュレータ |
| 4 |
|
| 5 |
\author Satofumi KAMIMURA |
| 6 |
|
| 7 |
$Id$ |
| 8 |
*/ |
| 9 |
|
| 10 |
#include "UrgSimulator.h" |
| 11 |
#include <string> |
| 12 |
|
| 13 |
using namespace beego; |
| 14 |
|
| 15 |
|
| 16 |
/*! |
| 17 |
\brief UrgSimulator の内部クラス |
| 18 |
*/ |
| 19 |
struct UrgSimulator::pImpl { |
| 20 |
std::string error_message; |
| 21 |
|
| 22 |
pImpl(void) : error_message("no error.") { |
| 23 |
} |
| 24 |
|
| 25 |
// !!! |
| 26 |
}; |
| 27 |
|
| 28 |
|
| 29 |
UrgSimulator::UrgSimulator(ConnectionInterface& con) { |
| 30 |
} |
| 31 |
|
| 32 |
|
| 33 |
UrgSimulator::~UrgSimulator(void) { |
| 34 |
} |
| 35 |
|
| 36 |
|
| 37 |
const char* UrgSimulator::what(void) { |
| 38 |
|
| 39 |
return pimpl->error_message.c_str(); |
| 40 |
} |
| 41 |
|
| 42 |
|
| 43 |
void UrgSimulator::activateSimulator(void) { |
| 44 |
// !!! |
| 45 |
} |
| 46 |
|
| 47 |
|
| 48 |
SimulatorInterface* UrgSimulator::getObject(void) { |
| 49 |
// !!! |
| 50 |
return NULL; |
| 51 |
} |
|