Public Member Functions | Protected Attributes | Private Types | Private Attributes
VideoCapture Class Reference

sample RT component which has one data input port and one data output port More...

#include <VideoCapture.h>

Inheritance diagram for VideoCapture:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void capture ()
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 ()
virtual RTC::ReturnCode_t onStartup (RTC::UniqueId ec_id)
void start_continuous ()
void stop_continuous ()
void take_one_frame ()
 VideoCapture (RTC::Manager *manager)
 Constructor.
virtual ~VideoCapture ()
 Destructor.

Protected Attributes

CameraCaptureService_impl m_CameraCaptureService
RTC::CorbaPort m_CameraCaptureServicePort
Img::TimedCameraImage m_CameraImage
OutPort< Img::TimedCameraImage > m_CameraImageOut
Img::TimedMultiCameraImage m_MultiCameraImages
OutPort
< Img::TimedMultiCameraImage > 
m_MultiCameraImagesOut

Private Types

enum  mode { SLEEP, ONESHOT, CONTINUOUS }

Private Attributes

std::vector< v4l_capture * > m_cameras
std::vector< intm_devIds
int m_frameRate
int m_height
std::string m_initialMode
mode m_mode
double m_tOld
int m_width

Detailed Description

sample RT component which has one data input port and one data output port

Definition at line 39 of file VideoCapture.h.


Member Enumeration Documentation

enum VideoCapture::mode [private]
Enumerator:
SLEEP 
ONESHOT 
CONTINUOUS 

Definition at line 144 of file VideoCapture.h.


Constructor & Destructor Documentation

Constructor.

Parameters:
managerpointer to the Manager

Definition at line 38 of file VideoCapture.cpp.

Destructor.

Definition at line 50 of file VideoCapture.cpp.


Member Function Documentation

Definition at line 189 of file VideoCapture.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 115 of file VideoCapture.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 153 of file VideoCapture.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 163 of file VideoCapture.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 56 of file VideoCapture.cpp.

Reimplemented from RTC::RTObject_impl.

Definition at line 103 of file VideoCapture.cpp.

Definition at line 248 of file VideoCapture.cpp.

Definition at line 253 of file VideoCapture.cpp.

Definition at line 243 of file VideoCapture.cpp.


Member Data Documentation

Definition at line 139 of file VideoCapture.h.

Definition at line 133 of file VideoCapture.h.

Img::TimedCameraImage VideoCapture::m_CameraImage [protected]

Definition at line 121 of file VideoCapture.h.

OutPort<Img::TimedCameraImage> VideoCapture::m_CameraImageOut [protected]

Definition at line 122 of file VideoCapture.h.

std::vector< v4l_capture * > VideoCapture::m_cameras [private]

Definition at line 148 of file VideoCapture.h.

std::vector<int> VideoCapture::m_devIds [private]

Definition at line 147 of file VideoCapture.h.

Definition at line 149 of file VideoCapture.h.

Definition at line 149 of file VideoCapture.h.

std::string VideoCapture::m_initialMode [private]

Definition at line 146 of file VideoCapture.h.

Definition at line 145 of file VideoCapture.h.

Img::TimedMultiCameraImage VideoCapture::m_MultiCameraImages [protected]

Definition at line 119 of file VideoCapture.h.

OutPort<Img::TimedMultiCameraImage> VideoCapture::m_MultiCameraImagesOut [protected]

Definition at line 120 of file VideoCapture.h.

double VideoCapture::m_tOld [private]

Definition at line 150 of file VideoCapture.h.

Definition at line 149 of file VideoCapture.h.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed Sep 6 2017 02:35:58