#include <CImageCapturer.h>
Public Member Functions | |
bool | captureFromTopic (std::string strTopicName, std::string &strFileName, std::string strWorkingDirectory, bool bUseFreeName=true) |
CImageCapturer () | |
void | imageCallback (const sensor_msgs::Image &imgData) |
void | publishImages (std::string strImagesTopic) |
~CImageCapturer () | |
Private Member Functions | |
bool | fileExists (std::string strFileName) |
void | freeFilename (std::string &strFileName, std::string strWorkingDirectory) |
Private Attributes | |
bool | m_bReceived |
sensor_msgs::Image | m_imgReceived |
ros::Publisher | m_pubImages |
std::string | m_strImagesTopic |
ros::Subscriber | m_subImage |
Definition at line 62 of file CImageCapturer.h.
Definition at line 44 of file CImageCapturer.cpp.
Definition at line 48 of file CImageCapturer.cpp.
bool beliefstate::CImageCapturer::captureFromTopic | ( | std::string | strTopicName, |
std::string & | strFileName, | ||
std::string | strWorkingDirectory, | ||
bool | bUseFreeName = true |
||
) |
Definition at line 81 of file CImageCapturer.cpp.
bool beliefstate::CImageCapturer::fileExists | ( | std::string | strFileName | ) | [private] |
Definition at line 51 of file CImageCapturer.cpp.
void beliefstate::CImageCapturer::freeFilename | ( | std::string & | strFileName, |
std::string | strWorkingDirectory | ||
) | [private] |
Definition at line 61 of file CImageCapturer.cpp.
void beliefstate::CImageCapturer::imageCallback | ( | const sensor_msgs::Image & | imgData | ) |
Definition at line 140 of file CImageCapturer.cpp.
void beliefstate::CImageCapturer::publishImages | ( | std::string | strImagesTopic | ) |
Definition at line 147 of file CImageCapturer.cpp.
bool beliefstate::CImageCapturer::m_bReceived [private] |
Definition at line 65 of file CImageCapturer.h.
sensor_msgs::Image beliefstate::CImageCapturer::m_imgReceived [private] |
Definition at line 66 of file CImageCapturer.h.
Definition at line 72 of file CImageCapturer.h.
std::string beliefstate::CImageCapturer::m_strImagesTopic [private] |
Definition at line 71 of file CImageCapturer.h.
Definition at line 64 of file CImageCapturer.h.