mURGCtrl Class Reference

モニタ対応の URG 制御クラス More...

#include <mURGCtrl.h>

Inheritance diagram for mURGCtrl:

Inheritance graph
[legend]
Collaboration diagram for mURGCtrl:

Collaboration graph
[legend]

List of all members.

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)


Detailed Description

モニタ対応の URG 制御クラス
Examples:

noAdjust.cpp, simuPosUse.cpp, stopToObstacle.cpp, and ticksPosUse.cpp.

Definition at line 21 of file mURGCtrl.h.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Examples:
noAdjust.cpp, simuPosUse.cpp, and ticksPosUse.cpp.

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().


The documentation for this class was generated from the following files:

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1