Public Slots | Public Member Functions | Private Attributes | List of all members
PublisherVideo Class Reference

#include <video_viewer.h>

Inheritance diagram for PublisherVideo:
Inheritance graph
[legend]

Public Slots

virtual void setEnabled (bool enabled) override
 
- Public Slots inherited from PJ::StatePublisher
virtual void setEnabled (bool enabled)=0
 Method called when the checkbox "enabled" is checked in the main app. More...
 

Public Member Functions

bool enabled () const override
 True if started. More...
 
const char * name () const override
 Name of the plugin type, NOT the particular instance. More...
 
void play (double current_time) override
 
 PublisherVideo ()
 
void updateState (double current_time) override
 Method called when the timetracker is moved manually to a certain position. More...
 
bool xmlLoadState (const QDomElement &parent_element) override
 Override this method to load the status of the plugin from XML. More...
 
bool xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override
 Override this method to save the status of the plugin to XML. More...
 
virtual ~PublisherVideo ()
 
- Public Member Functions inherited from PJ::StatePublisher
void setDataMap (const PlotDataMapRef *datamap)
 
virtual ~StatePublisher ()=default
 
- Public Member Functions inherited from PJ::PlotJugglerPlugin
virtual const std::vector< QAction * > & availableActions ()
 
virtual bool isDebugPlugin ()
 
virtual QWidget * optionsWidget ()
 optionsWidget pointer to a persistent widget used to set the plugin options . More...
 
 PlotJugglerPlugin ()=default
 
QDomElement xmlSaveState (QDomDocument &doc) const
 

Private Attributes

VideoDialog_dialog = nullptr
 
bool _enabled = false
 
bool _xml_loaded = false
 

Additional Inherited Members

- Signals inherited from PJ::StatePublisher
void closed ()
 signal to be emitted when the plugin disable itself. More...
 
- Protected Attributes inherited from PJ::StatePublisher
const PlotDataMapRef_datamap
 

Detailed Description

Definition at line 12 of file video_viewer.h.

Constructor & Destructor Documentation

◆ PublisherVideo()

PublisherVideo::PublisherVideo ( )

Definition at line 7 of file video_viewer.cpp.

◆ ~PublisherVideo()

PublisherVideo::~PublisherVideo ( )
virtual

Definition at line 16 of file video_viewer.cpp.

Member Function Documentation

◆ enabled()

bool PublisherVideo::enabled ( ) const
inlineoverridevirtual

True if started.

Implements PJ::StatePublisher.

Definition at line 28 of file video_viewer.h.

◆ name()

const char* PublisherVideo::name ( ) const
inlineoverridevirtual

Name of the plugin type, NOT the particular instance.

Implements PJ::PlotJugglerPlugin.

Definition at line 23 of file video_viewer.h.

◆ play()

void PublisherVideo::play ( double  interval)
overridevirtual

Method called when the "play" button is cheked.

Parameters
intervalis seconds passed since the last time play was called.

Implements PJ::StatePublisher.

Definition at line 49 of file video_viewer.cpp.

◆ setEnabled

void PublisherVideo::setEnabled ( bool  enabled)
overridevirtualslot

Definition at line 87 of file video_viewer.cpp.

◆ updateState()

void PublisherVideo::updateState ( double  current_time)
overridevirtual

Method called when the timetracker is moved manually to a certain position.

Implements PJ::StatePublisher.

Definition at line 21 of file video_viewer.cpp.

◆ xmlLoadState()

bool PublisherVideo::xmlLoadState ( const QDomElement &  parent_element)
overridevirtual

Override this method to load the status of the plugin from XML.

Reimplemented from PJ::PlotJugglerPlugin.

Definition at line 66 of file video_viewer.cpp.

◆ xmlSaveState()

bool PublisherVideo::xmlSaveState ( QDomDocument &  doc,
QDomElement &  parent_element 
) const
overridevirtual

Override this method to save the status of the plugin to XML.

Reimplemented from PJ::PlotJugglerPlugin.

Definition at line 54 of file video_viewer.cpp.

Member Data Documentation

◆ _dialog

VideoDialog* PublisherVideo::_dialog = nullptr
private

Definition at line 48 of file video_viewer.h.

◆ _enabled

bool PublisherVideo::_enabled = false
private

Definition at line 45 of file video_viewer.h.

◆ _xml_loaded

bool PublisherVideo::_xml_loaded = false
private

Definition at line 46 of file video_viewer.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50