theora_imagem_transport::TheoraPublisher Class Reference

#include <theora_publisher.h>

List of all members.

Public Member Functions

virtual std::string getTransportName () const
 TheoraPublisher ()
virtual ~TheoraPublisher ()

Protected Member Functions

virtual void connectCallback (const ros::SingleSubscriberPublisher &pub)
virtual void publish (const sensor_msgs::Image &message, const message_transport::SimplePublisherPlugin< sensor_msgs::Image, theora_imagem_transport::packet >::PublishFn &publish_fn) const

Private Member Functions

void ensure_encoding_context (const CvSize &size, const PublishFn &publish_fn) const
void oggPacketToMsg (const ogg_packet &oggpacket, theora_imagem_transport::packet &msgOutput) const
void sendHeader (const ros::SingleSubscriberPublisher &pub) const

Private Attributes

th_enc_ctx * encoding_context_
sensor_msgs::CvBridge img_bridge_
int nearestHeight
int nearestWidth
int nearestXoff
int nearestYoff
std::vector< ogg_packet > stream_header_

Detailed Description

Definition at line 12 of file theora_publisher.h.


Constructor & Destructor Documentation

theora_imagem_transport::TheoraPublisher::TheoraPublisher (  ) 

Definition at line 14 of file theora_publisher.cpp.

theora_imagem_transport::TheoraPublisher::~TheoraPublisher (  )  [virtual]

Definition at line 19 of file theora_publisher.cpp.


Member Function Documentation

void theora_imagem_transport::TheoraPublisher::connectCallback ( const ros::SingleSubscriberPublisher &  pub  )  [protected, virtual]

Definition at line 26 of file theora_publisher.cpp.

void theora_imagem_transport::TheoraPublisher::ensure_encoding_context ( const CvSize &  size,
const PublishFn &  publish_fn 
) const [private]

Definition at line 136 of file theora_publisher.cpp.

virtual std::string theora_imagem_transport::TheoraPublisher::getTransportName (  )  const [inline, virtual]

Definition at line 16 of file theora_publisher.h.

void theora_imagem_transport::TheoraPublisher::oggPacketToMsg ( const ogg_packet &  oggpacket,
theora_imagem_transport::packet msgOutput 
) const [private]

Definition at line 215 of file theora_publisher.cpp.

void theora_imagem_transport::TheoraPublisher::publish ( const sensor_msgs::Image &  message,
const message_transport::SimplePublisherPlugin< sensor_msgs::Image, theora_imagem_transport::packet >::PublishFn &  publish_fn 
) const [protected, virtual]

Definition at line 40 of file theora_publisher.cpp.

void theora_imagem_transport::TheoraPublisher::sendHeader ( const ros::SingleSubscriberPublisher &  pub  )  const [private]

Member Data Documentation

Definition at line 41 of file theora_publisher.h.

sensor_msgs::CvBridge theora_imagem_transport::TheoraPublisher::img_bridge_ [mutable, private]

Definition at line 40 of file theora_publisher.h.

Definition at line 46 of file theora_publisher.h.

Definition at line 45 of file theora_publisher.h.

Definition at line 47 of file theora_publisher.h.

Definition at line 48 of file theora_publisher.h.

std::vector<ogg_packet> theora_imagem_transport::TheoraPublisher::stream_header_ [mutable, private]

Definition at line 42 of file theora_publisher.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Defines


theora_imagem_transport
Author(s): Ethan Dreyfuss, Cedric Pradalier
autogenerated on Fri Jan 11 09:58:01 2013