sample RT component which has one data input port and one data output port More...
#include <CaptureController.h>
Public Member Functions | |
CaptureController (RTC::Manager *manager) | |
Constructor. | |
virtual RTC::ReturnCode_t | onActivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onDeactivated (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onExecute (RTC::UniqueId ec_id) |
virtual RTC::ReturnCode_t | onInitialize () |
void | start_continuous () |
void | stop_continuous () |
void | take_one_frame () |
virtual | ~CaptureController () |
Destructor. | |
Protected Attributes | |
CameraCaptureService_impl | m_CameraCaptureService |
RTC::CorbaPort | m_CameraCaptureServicePort |
Img::TimedCameraImage | m_image |
InPort< Img::TimedCameraImage > | m_imageIn |
OutPort< Img::TimedCameraImage > | m_imageOut |
Private Types | |
enum | mode { SLEEP, ONESHOT, CONTINUOUS } |
Private Attributes | |
int | dummy |
int | m_frameRate |
std::string | m_initialMode |
mode | m_mode |
double | m_tOld |
sample RT component which has one data input port and one data output port
Definition at line 37 of file CaptureController.h.
enum CaptureController::mode [private] |
Definition at line 141 of file CaptureController.h.
CaptureController::CaptureController | ( | RTC::Manager * | manager | ) |
Constructor.
manager | pointer to the Manager |
Definition at line 34 of file CaptureController.cpp.
CaptureController::~CaptureController | ( | ) | [virtual] |
Destructor.
Definition at line 46 of file CaptureController.cpp.
RTC::ReturnCode_t CaptureController::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 108 of file CaptureController.cpp.
RTC::ReturnCode_t CaptureController::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 122 of file CaptureController.cpp.
RTC::ReturnCode_t CaptureController::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 128 of file CaptureController.cpp.
RTC::ReturnCode_t CaptureController::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 52 of file CaptureController.cpp.
Definition at line 184 of file CaptureController.cpp.
Definition at line 189 of file CaptureController.cpp.
Definition at line 179 of file CaptureController.cpp.
int CaptureController::dummy [private] |
Definition at line 146 of file CaptureController.h.
Definition at line 136 of file CaptureController.h.
Definition at line 130 of file CaptureController.h.
int CaptureController::m_frameRate [private] |
Definition at line 143 of file CaptureController.h.
Img::TimedCameraImage CaptureController::m_image [protected] |
Definition at line 109 of file CaptureController.h.
InPort<Img::TimedCameraImage> CaptureController::m_imageIn [protected] |
Definition at line 113 of file CaptureController.h.
OutPort<Img::TimedCameraImage> CaptureController::m_imageOut [protected] |
Definition at line 119 of file CaptureController.h.
std::string CaptureController::m_initialMode [private] |
Definition at line 145 of file CaptureController.h.
mode CaptureController::m_mode [private] |
Definition at line 142 of file CaptureController.h.
double CaptureController::m_tOld [private] |
Definition at line 144 of file CaptureController.h.