Ardour  9.0-pre0-582-g084a23a80d
VideoMonitor Class Reference

communication with xjadeo's remote-control interface More...

#include <video_monitor.h>

Inheritance diagram for VideoMonitor:
[legend]

Public Member Functions

 VideoMonitor (PublicEditor *, std::string)
 
virtual ~VideoMonitor ()
 
void set_filename (std::string filename)
 
void set_fps (float f)
 
bool is_started ()
 
bool start ()
 
void quit ()
 
void open (std::string)
 
void set_session (ARDOUR::Session *s)
 
void save_session ()
 
void query_full_state (bool)
 
bool set_custom_setting (const std::string, const std::string)
 
const std::string get_custom_setting (const std::string)
 
void restore_settings_mask (int i)
 
int restore_settings_mask () const
 
void set_offset (ARDOUR::sampleoffset_t)
 
void manual_seek (ARDOUR::samplepos_t, bool, ARDOUR::sampleoffset_t)
 
void srsupdate ()
 
void querystate ()
 
bool synced_by_manual_seeks ()
 
void send_cmd (int what, int param)
 
void set_debug (bool onoff)
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Public Attributes

sigc::signal< void > Terminated
 
PBD::Signal< void(std::string)> UiState
 

Protected Types

typedef std::map< std::string, std::string > XJSettings
 

Protected Member Functions

void parse_output (std::string d, size_t s)
 
void terminated ()
 
void forward_keyevent (unsigned int)
 
void parameter_changed (std::string const &p)
 
bool skip_setting (std::string)
 
void xjadeo_sync_setup ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

PublicEditoreditor
 
ARDOUR::SystemExecprocess
 
float fps
 
int _restore_settings_mask
 
XJSettings xjadeo_settings
 
ARDOUR::samplepos_t manually_seeked_frame
 
ARDOUR::sampleoffset_t video_offset
 
bool sync_by_manual_seek
 
sigc::connection clock_connection
 
sigc::connection state_connection
 
int state_clk_divide
 
int starting
 
int knownstate
 
int osdmode
 
PBD::Signal< void(unsigned int)> XJKeyEvent
 
bool debug_enable
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

communication with xjadeo's remote-control interface

Definition at line 46 of file video_monitor.h.

Member Typedef Documentation

◆ XJSettings

typedef std::map<std::string,std::string> VideoMonitor::XJSettings
protected

Definition at line 91 of file video_monitor.h.

Constructor & Destructor Documentation

◆ VideoMonitor()

VideoMonitor::VideoMonitor ( PublicEditor ,
std::string   
)

◆ ~VideoMonitor()

virtual VideoMonitor::~VideoMonitor ( )
virtual

Member Function Documentation

◆ forward_keyevent()

void VideoMonitor::forward_keyevent ( unsigned int  )
protected

◆ get_custom_setting()

const std::string VideoMonitor::get_custom_setting ( const std::string  )

◆ is_started()

bool VideoMonitor::is_started ( )

◆ manual_seek()

void VideoMonitor::manual_seek ( ARDOUR::samplepos_t  ,
bool  ,
ARDOUR::sampleoffset_t   
)

◆ open()

void VideoMonitor::open ( std::string  )

◆ parameter_changed()

void VideoMonitor::parameter_changed ( std::string const &  p)
protected

◆ parse_output()

void VideoMonitor::parse_output ( std::string  d,
size_t  s 
)
protected

◆ query_full_state()

void VideoMonitor::query_full_state ( bool  )

◆ querystate()

void VideoMonitor::querystate ( )

◆ quit()

void VideoMonitor::quit ( )

◆ restore_settings_mask() [1/2]

int VideoMonitor::restore_settings_mask ( ) const
inline

Definition at line 65 of file video_monitor.h.

◆ restore_settings_mask() [2/2]

void VideoMonitor::restore_settings_mask ( int  i)
inline

Definition at line 64 of file video_monitor.h.

◆ save_session()

void VideoMonitor::save_session ( )

◆ send_cmd()

void VideoMonitor::send_cmd ( int  what,
int  param 
)

◆ set_custom_setting()

bool VideoMonitor::set_custom_setting ( const std::string  ,
const std::string   
)

◆ set_debug()

void VideoMonitor::set_debug ( bool  onoff)
inline

Definition at line 78 of file video_monitor.h.

◆ set_filename()

void VideoMonitor::set_filename ( std::string  filename)

◆ set_fps()

void VideoMonitor::set_fps ( float  f)
inline

Definition at line 53 of file video_monitor.h.

◆ set_offset()

void VideoMonitor::set_offset ( ARDOUR::sampleoffset_t  )

◆ set_session()

void VideoMonitor::set_session ( ARDOUR::Session s)
virtual

Reimplemented from ARDOUR::SessionHandlePtr.

◆ skip_setting()

bool VideoMonitor::skip_setting ( std::string  )
protected

◆ srsupdate()

void VideoMonitor::srsupdate ( )

◆ start()

bool VideoMonitor::start ( )

◆ synced_by_manual_seeks()

bool VideoMonitor::synced_by_manual_seeks ( )
inline

Definition at line 71 of file video_monitor.h.

◆ terminated()

void VideoMonitor::terminated ( )
protected

◆ xjadeo_sync_setup()

void VideoMonitor::xjadeo_sync_setup ( )
protected

Member Data Documentation

◆ _restore_settings_mask

int VideoMonitor::_restore_settings_mask
protected

Definition at line 93 of file video_monitor.h.

◆ clock_connection

sigc::connection VideoMonitor::clock_connection
protected

Definition at line 101 of file video_monitor.h.

◆ debug_enable

bool VideoMonitor::debug_enable
protected

Definition at line 110 of file video_monitor.h.

◆ editor

PublicEditor* VideoMonitor::editor
protected

Definition at line 82 of file video_monitor.h.

◆ fps

float VideoMonitor::fps
protected

Definition at line 84 of file video_monitor.h.

◆ knownstate

int VideoMonitor::knownstate
protected

Definition at line 105 of file video_monitor.h.

◆ manually_seeked_frame

ARDOUR::samplepos_t VideoMonitor::manually_seeked_frame
protected

Definition at line 98 of file video_monitor.h.

◆ osdmode

int VideoMonitor::osdmode
protected

Definition at line 106 of file video_monitor.h.

◆ process

ARDOUR::SystemExec* VideoMonitor::process
protected

Definition at line 83 of file video_monitor.h.

◆ starting

int VideoMonitor::starting
protected

Definition at line 104 of file video_monitor.h.

◆ state_clk_divide

int VideoMonitor::state_clk_divide
protected

Definition at line 103 of file video_monitor.h.

◆ state_connection

sigc::connection VideoMonitor::state_connection
protected

Definition at line 102 of file video_monitor.h.

◆ sync_by_manual_seek

bool VideoMonitor::sync_by_manual_seek
protected

Definition at line 100 of file video_monitor.h.

◆ Terminated

sigc::signal<void> VideoMonitor::Terminated

Definition at line 73 of file video_monitor.h.

◆ UiState

PBD::Signal<void(std::string)> VideoMonitor::UiState

Definition at line 74 of file video_monitor.h.

◆ video_offset

ARDOUR::sampleoffset_t VideoMonitor::video_offset
protected

Definition at line 99 of file video_monitor.h.

◆ xjadeo_settings

XJSettings VideoMonitor::xjadeo_settings
protected

Definition at line 95 of file video_monitor.h.

◆ XJKeyEvent

PBD::Signal<void(unsigned int)> VideoMonitor::XJKeyEvent
protected

Definition at line 108 of file video_monitor.h.


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