theora_image_transport::TheoraSubscriber Class Reference

#include <theora_subscriber.h>

List of all members.

Public Member Functions

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

Protected Types

typedef
theora_image_transport::TheoraSubscriberConfig 
Config
typedef
dynamic_reconfigure::Server
< Config
ReconfigureServer

Protected Member Functions

void configCb (Config &config, uint32_t level)
virtual void internalCallback (const theora_image_transport::PacketConstPtr &msg, const Callback &user_cb)
void msgToOggPacket (const theora_image_transport::Packet &msg, ogg_packet &ogg)
virtual void subscribeImpl (ros::NodeHandle &nh, const std::string &base_topic, uint32_t queue_size, const Callback &callback, const ros::VoidPtr &tracked_object, const image_transport::TransportHints &transport_hints)
int updatePostProcessingLevel (int level)

Protected Attributes

th_dec_ctx * decoding_context_
th_comment header_comment_
th_info header_info_
sensor_msgs::ImagePtr latest_image_
int pplevel_
bool received_header_
bool received_keyframe_
boost::shared_ptr
< ReconfigureServer
reconfigure_server_
th_setup_info * setup_info_

Detailed Description

Definition at line 4 of file theora_subscriber.h.


Member Typedef Documentation

Definition at line 20 of file theora_subscriber.h.

typedef dynamic_reconfigure::Server<Config> theora_image_transport::TheoraSubscriber::ReconfigureServer [protected]

Definition at line 21 of file theora_subscriber.h.


Constructor & Destructor Documentation

theora_image_transport::TheoraSubscriber::TheoraSubscriber (  ) 

Definition at line 13 of file theora_subscriber.cpp.

theora_image_transport::TheoraSubscriber::~TheoraSubscriber (  )  [virtual]

Definition at line 24 of file theora_subscriber.cpp.


Member Function Documentation

void theora_image_transport::TheoraSubscriber::configCb ( Config config,
uint32_t  level 
) [protected]

Definition at line 47 of file theora_subscriber.cpp.

virtual std::string theora_image_transport::TheoraSubscriber::getTransportName (  )  const [inline, virtual]

Definition at line 7 of file theora_subscriber.h.

void theora_image_transport::TheoraSubscriber::internalCallback ( const theora_image_transport::PacketConstPtr msg,
const Callback &  user_cb 
) [protected, virtual]

Todo:
Break this function into pieces
Todo:
Handle RGB8 or MONO8 efficiently

Definition at line 88 of file theora_subscriber.cpp.

void theora_image_transport::TheoraSubscriber::msgToOggPacket ( const theora_image_transport::Packet msg,
ogg_packet &  ogg 
) [protected]

Definition at line 77 of file theora_subscriber.cpp.

void theora_image_transport::TheoraSubscriber::subscribeImpl ( ros::NodeHandle &  nh,
const std::string &  base_topic,
uint32_t  queue_size,
const Callback &  callback,
const ros::VoidPtr &  tracked_object,
const image_transport::TransportHints &  transport_hints 
) [protected, virtual]

Definition at line 32 of file theora_subscriber.cpp.

int theora_image_transport::TheoraSubscriber::updatePostProcessingLevel ( int  level  )  [protected]

Definition at line 57 of file theora_subscriber.cpp.


Member Data Documentation

Definition at line 33 of file theora_subscriber.h.

Definition at line 35 of file theora_subscriber.h.

Definition at line 34 of file theora_subscriber.h.

Definition at line 37 of file theora_subscriber.h.

Definition at line 23 of file theora_subscriber.h.

Definition at line 31 of file theora_subscriber.h.

Definition at line 32 of file theora_subscriber.h.

Definition at line 22 of file theora_subscriber.h.

Definition at line 36 of file theora_subscriber.h.


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


theora_image_transport
Author(s): Patrick Mihelich, Ethan Dreyfuss
autogenerated on Fri Jan 11 09:41:26 2013