Public Member Functions | Private Attributes | List of all members
gscam::GSCam Class Reference

#include <gscam.h>

Public Member Functions

void cleanup_stream ()
 
bool configure ()
 
 GSCam (ros::NodeHandle nh_camera, ros::NodeHandle nh_private)
 
bool init_stream ()
 
void publish_stream ()
 
void run ()
 
 ~GSCam ()
 

Private Attributes

camera_info_manager::CameraInfoManager camera_info_manager_
 
std::string camera_info_url_
 
std::string camera_name_
 
image_transport::CameraPublisher camera_pub_
 
ros::Publisher cinfo_pub_
 
std::string frame_id_
 
std::string gsconfig_
 
int height_
 
std::string image_encoding_
 
image_transport::ImageTransport image_transport_
 
ros::Publisher jpeg_pub_
 
ros::NodeHandle nh_
 
ros::NodeHandle nh_private_
 
GstElement * pipeline_
 
bool preroll_
 
bool reopen_on_eof_
 
GstElement * sink_
 
bool sync_sink_
 
double time_offset_
 
bool use_gst_timestamps_
 
int width_
 

Detailed Description

Definition at line 22 of file gscam.h.

Constructor & Destructor Documentation

gscam::GSCam::GSCam ( ros::NodeHandle  nh_camera,
ros::NodeHandle  nh_private 
)

Definition at line 32 of file gscam.cpp.

gscam::GSCam::~GSCam ( )

Definition at line 43 of file gscam.cpp.

Member Function Documentation

void gscam::GSCam::cleanup_stream ( )

Definition at line 402 of file gscam.cpp.

bool gscam::GSCam::configure ( )

Definition at line 47 of file gscam.cpp.

bool gscam::GSCam::init_stream ( )

Definition at line 110 of file gscam.cpp.

void gscam::GSCam::publish_stream ( )

Definition at line 232 of file gscam.cpp.

void gscam::GSCam::run ( )

Definition at line 413 of file gscam.cpp.

Member Data Documentation

camera_info_manager::CameraInfoManager gscam::GSCam::camera_info_manager_
private

Definition at line 60 of file gscam.h.

std::string gscam::GSCam::camera_info_url_
private

Definition at line 53 of file gscam.h.

std::string gscam::GSCam::camera_name_
private

Definition at line 52 of file gscam.h.

image_transport::CameraPublisher gscam::GSCam::camera_pub_
private

Definition at line 61 of file gscam.h.

ros::Publisher gscam::GSCam::cinfo_pub_
private

Definition at line 64 of file gscam.h.

std::string gscam::GSCam::frame_id_
private

Definition at line 49 of file gscam.h.

std::string gscam::GSCam::gsconfig_
private

Definition at line 36 of file gscam.h.

int gscam::GSCam::height_
private

Definition at line 50 of file gscam.h.

std::string gscam::GSCam::image_encoding_
private

Definition at line 51 of file gscam.h.

image_transport::ImageTransport gscam::GSCam::image_transport_
private

Definition at line 59 of file gscam.h.

ros::Publisher gscam::GSCam::jpeg_pub_
private

Definition at line 63 of file gscam.h.

ros::NodeHandle gscam::GSCam::nh_
private

Definition at line 58 of file gscam.h.

ros::NodeHandle gscam::GSCam::nh_private_
private

Definition at line 58 of file gscam.h.

GstElement* gscam::GSCam::pipeline_
private

Definition at line 39 of file gscam.h.

bool gscam::GSCam::preroll_
private

Definition at line 44 of file gscam.h.

bool gscam::GSCam::reopen_on_eof_
private

Definition at line 45 of file gscam.h.

GstElement* gscam::GSCam::sink_
private

Definition at line 40 of file gscam.h.

bool gscam::GSCam::sync_sink_
private

Definition at line 43 of file gscam.h.

double gscam::GSCam::time_offset_
private

Definition at line 57 of file gscam.h.

bool gscam::GSCam::use_gst_timestamps_
private

Definition at line 46 of file gscam.h.

int gscam::GSCam::width_
private

Definition at line 50 of file gscam.h.


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


gscam
Author(s): Jonathan Bohren , Graylin Trevor Jay , Christopher Crick
autogenerated on Mon Jun 10 2019 13:26:59