#include <mURGCtrl.h>
Public Member Functions | |
int | connect (bool autoCapture, const char *device, long baudrate=URG::DefaultBaudrate) |
int | connect (bool autoCapture=true) |
int | connect (int argc, char *argv[], bool autoCapture=URG::AutoCapture) |
int | getVersionInfo (char lines[][LineLength]) |
bool | isConnected (void) |
int | getCaptureTimes (void) |
noAdjust.cpp, simuPosUse.cpp, stopToObstacle.cpp, and ticksPosUse.cpp.
Definition at line 21 of file mURGCtrl.h.
int mURGCtrl::connect | ( | bool | autoCapture, | |
const char * | device, | |||
long | baudrate = URG::DefaultBaudrate | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
autoCapture | [i] 接続の際の urg_capture_mode_page を指定 | |
device | [i] 接続デバイス名 | |
baudrate | [i] 接続ボーレート |
Definition at line 91 of file mURGCtrl.cpp.
References URGCtrl::checkVersion(), URGCtrl::enableTimestamp, URGCtrl::initTicksInfo(), and Monitor::Playback.
Referenced by connect().
int mURGCtrl::connect | ( | bool | autoCapture = true |
) | [virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
autoCapture | [i] 接続の際の urg_capture_mode_page を指定 |
Reimplemented from URGCtrl.
Definition at line 104 of file mURGCtrl.cpp.
References connect(), and Monitor::Playback.
int mURGCtrl::connect | ( | int | argc, | |
char * | argv[], | |||
bool | autoCapture = URG::AutoCapture | |||
) | [virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
argc | [i] 引数の個数 | |
argv | [i] 引数文字列を格納した配列 | |
autoCapture | [i] 接続の際の urg_capture_mode_page を指定 |
Reimplemented from URGCtrl.
Definition at line 112 of file mURGCtrl.cpp.
References vmonitor::add(), connect(), vmonitor::connect(), vmonitor::del(), vmonitor::env, EnvironmentManage::getPolygonsReference(), vmonitor::getURGType(), Monitor::Playback, URG_Simulator::setEnvironment(), URG_Simulator::setURGObject(), URG_Simulator::setURGType(), Monitor::Simulator, and URGCtrl::to_simulator.
int mURGCtrl::getVersionInfo | ( | char | lines[][LineLength] | ) | [virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
lines | [i] V コマンド応答が改行区切りで格納される |
Reimplemented from URGCtrl.
Definition at line 247 of file mURGCtrl.cpp.
References vmonitor::getTicks(), and Monitor::Playback.
bool mURGCtrl::isConnected | ( | void | ) | [virtual] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from URGCtrl.
Definition at line 82 of file mURGCtrl.cpp.
References Monitor::Playback.
int mURGCtrl::getCaptureTimes | ( | void | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from URGCtrl.
Definition at line 285 of file mURGCtrl.cpp.
References LogCtrl::fd, LogCtrl::getLineBuffer(), vmonitor::getTicks(), LogCtrl::lock(), vmonitor::log, Monitor::Playback, LogCtrl::readTag(), vmonitor::task, LogCtrl::unlock(), MonitorTask::waitToTicks(), LogCtrl::writeTag(), and LogCtrl::writeTagEnd().