Public Member Functions | Protected Member Functions | Static Private Member Functions | Private Attributes | List of all members
usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding > Class Template Reference

#include <decoding_controllers.hpp>

Inheritance diagram for usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >:
Inheritance graph
[legend]

Public Member Functions

 DecodingController ()
 
virtual ~DecodingController ()
 
- Public Member Functions inherited from usb_cam_controllers::SimplePacketController
virtual bool init (usb_cam_hardware_interface::PacketInterface *hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh)
 
 SimplePacketController ()
 
virtual void starting (const ros::Time &time)
 
virtual void stopping (const ros::Time &time)
 
virtual void update (const ros::Time &time, const ros::Duration &period)
 
virtual ~SimplePacketController ()
 
- Public Member Functions inherited from controller_interface::Controller< usb_cam_hardware_interface::PacketInterface >
 Controller ()
 
virtual bool init (usb_cam_hardware_interface::PacketInterface *, ros::NodeHandle &)
 
virtual ~Controller ()
 
- Public Member Functions inherited from controller_interface::ControllerBase
 ControllerBase ()
 
bool isRunning ()
 
bool isRunning ()
 
bool startRequest (const ros::Time &time)
 
bool startRequest (const ros::Time &time)
 
bool stopRequest (const ros::Time &time)
 
bool stopRequest (const ros::Time &time)
 
void updateRequest (const ros::Time &time, const ros::Duration &period)
 
void updateRequest (const ros::Time &time, const ros::Duration &period)
 
virtual ~ControllerBase ()
 

Protected Member Functions

virtual bool initImpl (usb_cam_hardware_interface::PacketInterface *hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh)
 
virtual void startingImpl (const ros::Time &time)
 
virtual void stoppingImpl (const ros::Time &time)
 
virtual void updateImpl (const ros::Time &time, const ros::Duration &period)
 
- Protected Member Functions inherited from controller_interface::Controller< usb_cam_hardware_interface::PacketInterface >
std::string getHardwareInterfaceType () const
 
virtual bool initRequest (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh, ClaimedResources &claimed_resources)
 

Static Private Member Functions

static void deleteAVCodecContext (AVCodecContext *ctx)
 
static void deleteAVFrame (AVFrame *frame)
 
static AVPixelFormat toUndeprecated (const AVPixelFormat format)
 

Private Attributes

boost::shared_ptr< AVCodecContext > decoder_ctx_
 
image_transport::Publisher publisher_
 

Additional Inherited Members

- Public Types inherited from controller_interface::ControllerBase
typedef std::vector< hardware_interface::InterfaceResourcesClaimedResources
 
- Public Attributes inherited from controller_interface::ControllerBase
 CONSTRUCTED
 
 INITIALIZED
 
 RUNNING
 
enum controller_interface::ControllerBase:: { ... }  state_
 
- Protected Attributes inherited from usb_cam_controllers::SimplePacketController
usb_cam_hardware_interface::PacketHandle packet_iface_
 

Detailed Description

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
class usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >

Definition at line 26 of file decoding_controllers.hpp.

Constructor & Destructor Documentation

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::DecodingController ( )
inline

Definition at line 28 of file decoding_controllers.hpp.

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
virtual usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::~DecodingController ( )
inlinevirtual

Definition at line 30 of file decoding_controllers.hpp.

Member Function Documentation

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
static void usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::deleteAVCodecContext ( AVCodecContext *  ctx)
inlinestaticprivate

Definition at line 139 of file decoding_controllers.hpp.

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
static void usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::deleteAVFrame ( AVFrame *  frame)
inlinestaticprivate

Definition at line 133 of file decoding_controllers.hpp.

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
virtual bool usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::initImpl ( usb_cam_hardware_interface::PacketInterface hw,
ros::NodeHandle root_nh,
ros::NodeHandle controller_nh 
)
inlineprotectedvirtual
template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
virtual void usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::startingImpl ( const ros::Time time)
inlineprotectedvirtual
template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
virtual void usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::stoppingImpl ( const ros::Time time)
inlineprotectedvirtual
template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
static AVPixelFormat usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::toUndeprecated ( const AVPixelFormat  format)
inlinestaticprivate

Definition at line 146 of file decoding_controllers.hpp.

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
virtual void usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::updateImpl ( const ros::Time time,
const ros::Duration period 
)
inlineprotectedvirtual

Member Data Documentation

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
boost::shared_ptr< AVCodecContext > usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::decoder_ctx_
private

Definition at line 164 of file decoding_controllers.hpp.

template<AVCodecID CodecId, AVPixelFormat DstFormat, const std::string * DstEncoding>
image_transport::Publisher usb_cam_controllers::DecodingController< CodecId, DstFormat, DstEncoding >::publisher_
private

Definition at line 165 of file decoding_controllers.hpp.


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


usb_cam_controllers
Author(s):
autogenerated on Tue Jul 14 2020 03:12:08