ardour
Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
VideoMonitor Class Reference

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

#include <video_monitor.h>

Inheritance diagram for VideoMonitor:
ARDOUR::SessionHandlePtr PBD::ScopedConnectionList

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::frameoffset_t)
 
void manual_seek (ARDOUR::framepos_t, bool, ARDOUR::frameoffset_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 ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Public Attributes

sigc::signal< void > Terminated
 
PBD::Signal1< 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::framepos_t manually_seeked_frame
 
ARDOUR::frameoffset_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::Signal1< 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 49 of file video_monitor.h.

Member Typedef Documentation

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

Definition at line 94 of file video_monitor.h.

Constructor & Destructor Documentation

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

Definition at line 37 of file video_monitor.cc.

VideoMonitor::~VideoMonitor ( )
virtual

Definition at line 57 of file video_monitor.cc.

Member Function Documentation

void VideoMonitor::forward_keyevent ( unsigned int  keyval)
protected

Definition at line 256 of file video_monitor.cc.

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

Definition at line 466 of file video_monitor.cc.

bool VideoMonitor::is_started ( )

Definition at line 250 of file video_monitor.cc.

void VideoMonitor::manual_seek ( ARDOUR::framepos_t  when,
bool  ,
ARDOUR::frameoffset_t  offset 
)

Definition at line 510 of file video_monitor.cc.

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

Definition at line 126 of file video_monitor.cc.

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

Definition at line 543 of file video_monitor.cc.

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

Definition at line 264 of file video_monitor.cc.

void VideoMonitor::query_full_state ( bool  wait)

Definition at line 86 of file video_monitor.cc.

void VideoMonitor::querystate ( )

Definition at line 170 of file video_monitor.cc.

void VideoMonitor::quit ( )

Definition at line 104 of file video_monitor.cc.

void VideoMonitor::restore_settings_mask ( int  i)
inline

Definition at line 67 of file video_monitor.h.

int VideoMonitor::restore_settings_mask ( ) const
inline

Definition at line 68 of file video_monitor.h.

void VideoMonitor::save_session ( )

Definition at line 426 of file video_monitor.cc.

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

Definition at line 204 of file video_monitor.cc.

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

Definition at line 459 of file video_monitor.cc.

void VideoMonitor::set_debug ( bool  onoff)
inline

Definition at line 81 of file video_monitor.h.

void VideoMonitor::set_filename ( std::string  filename)
void VideoMonitor::set_fps ( float  f)
inline

Definition at line 56 of file video_monitor.h.

void VideoMonitor::set_offset ( ARDOUR::frameoffset_t  offset)

Definition at line 481 of file video_monitor.cc.

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

Reimplemented from ARDOUR::SessionHandlePtr.

Definition at line 442 of file video_monitor.cc.

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

Definition at line 190 of file video_monitor.cc.

void VideoMonitor::srsupdate ( )

Definition at line 473 of file video_monitor.cc.

bool VideoMonitor::start ( void  )

Definition at line 69 of file video_monitor.cc.

bool VideoMonitor::synced_by_manual_seeks ( )
inline

Definition at line 74 of file video_monitor.h.

void VideoMonitor::terminated ( )
protected

Definition at line 419 of file video_monitor.cc.

void VideoMonitor::xjadeo_sync_setup ( )
protected

Definition at line 554 of file video_monitor.cc.

Member Data Documentation

int VideoMonitor::_restore_settings_mask
protected

Definition at line 96 of file video_monitor.h.

sigc::connection VideoMonitor::clock_connection
protected

Definition at line 104 of file video_monitor.h.

bool VideoMonitor::debug_enable
protected

Definition at line 113 of file video_monitor.h.

PublicEditor* VideoMonitor::editor
protected

Definition at line 85 of file video_monitor.h.

float VideoMonitor::fps
protected

Definition at line 87 of file video_monitor.h.

int VideoMonitor::knownstate
protected

Definition at line 108 of file video_monitor.h.

ARDOUR::framepos_t VideoMonitor::manually_seeked_frame
protected

Definition at line 101 of file video_monitor.h.

int VideoMonitor::osdmode
protected

Definition at line 109 of file video_monitor.h.

ARDOUR::SystemExec* VideoMonitor::process
protected

Definition at line 86 of file video_monitor.h.

int VideoMonitor::starting
protected

Definition at line 107 of file video_monitor.h.

int VideoMonitor::state_clk_divide
protected

Definition at line 106 of file video_monitor.h.

sigc::connection VideoMonitor::state_connection
protected

Definition at line 105 of file video_monitor.h.

bool VideoMonitor::sync_by_manual_seek
protected

Definition at line 103 of file video_monitor.h.

sigc::signal<void> VideoMonitor::Terminated

Definition at line 76 of file video_monitor.h.

PBD::Signal1<void,std::string> VideoMonitor::UiState

Definition at line 77 of file video_monitor.h.

ARDOUR::frameoffset_t VideoMonitor::video_offset
protected

Definition at line 102 of file video_monitor.h.

XJSettings VideoMonitor::xjadeo_settings
protected

Definition at line 98 of file video_monitor.h.

PBD::Signal1<void, unsigned int> VideoMonitor::XJKeyEvent
protected

Definition at line 111 of file video_monitor.h.


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