VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
makVrv::DtVideoStreamConfigurationInterface Class Reference

DtVideoStreamConfigurationInterface is the abstract interface for a video stream configuration widget. More...

Inheritance diagram for makVrv::DtVideoStreamConfigurationInterface:
Inheritance graph
[legend]

Public Types

enum  VideoStreamState { Stopped, Started, Suspended, Unavailable }
 Enumerate the possible video states. More...

Public Member Functions

 DtVideoStreamConfigurationInterface ()
 CTOR.
virtual ~DtVideoStreamConfigurationInterface ()
 DTOR.
virtual void activate ()=0
 Create the logic element.
virtual void setCurrentWindowName (const DtUnicode &windowName)=0
 Set the window name to display in the window selection widget.
virtual void addWindowName (const DtUnicode &windowName)=0
 Add a window name to the window selection widget.
virtual void removeWindowName (const DtUnicode &windowName)=0
 Remove a window name from the window selection widget.
virtual void setCurrentChannelName (const DtUnicode &channelName)=0
 Set the channel name to display in the channel selection widget.
virtual void addChannelName (const DtUnicode &channelNames)=0
 Add a channel name to the channel selection widget.
virtual void removeChannelName (const DtUnicode &channelNames)=0
 Remove a channel name from the channel selection widget.
virtual void setCurrentFrameRate (int frameRate)=0
 Set the value of the frame rate widget.
virtual void setCurrentNumBuffers (int numBuffers)=0
 Set the value of the number of buffers widget.
virtual void setCurrentReadBuffer (const DtUnicode &readBuffer)=0
 Set the value of the read buffer type widget, e.g. "back".
virtual void setReadBufferValues (const std::list< DtUnicode > &data, const std::list< DtUnicode > &names)=0
 Set the allowable values for readBuffer; this populates the read buffer selection widget.
virtual void setImageTaskTypesAndNames (const std::list< DtUnicode > &taskTypes, const std::list< DtUnicode > &taskNames)=0
 Provide the list of all process image tasks currently supported.
virtual void setMetadataPublisherTypesAndNames (const std::list< DtUnicode > &publisherTypes, const std::list< DtUnicode > &publisherNames)=0
 Provide the list of all metadata plublisher types currently supported.
virtual void addImageTask (int index, const makArchives::DtImageTaskRecord &task)=0
 Add an image task to the image task pipeline.
virtual void removeImageTask (int index)=0
 Remove an image task from the image task pipeline.
virtual void setImageTask (int index, const makArchives::DtImageTaskRecord &task)=0
 Specify the process image task that should be at the location indicated by index in the image task pipeline.
virtual void swapImageTasks (int index1, int index2)=0
 Swap the image tasks at the pipeline at the specified indices.
virtual void setImageTaskMoveUpArrowEnabled (int index, bool enabled)=0
 Enable or disable the move up arrow button for the image task at the specified index in the pipeline.
virtual void setImageTaskMoveDownArrowEnabled (int index, bool enabled)=0
 Enable or disable the move down arrow button for the image task at the specified index in the pipeline.
virtual void setMetadataCheckBox (bool onOff)=0
 Set the value of the metadata checkbox.
virtual void setWindowChannelNameWarningLabel (bool warn)=0
 Set the state of the window warning label.
virtual void disableMetadataPublishers ()=0
 Called during initialization if there are no metadata publisher plugins installed.
virtual void setMetadataPublisherVisible (bool visible)=0
 Set whether the metadata publisher selection widget is shown.
virtual void setMetadataPublisherType (const DtUnicode &publisherType)=0
 Set the selected metadata publisher type (if shown)
virtual void setActionButtonState (VideoStreamState state)=0
 Set the state of the action button (start / stop )
virtual void setVideoStreamAutoStartState (bool autoStart)=0
 Set the state of the auto start button.

Public Attributes

boost::signal< void(const
DtUnicode &)> 
signal_windowNameSelectionChanged
 Signal raised by the widget when a window name is selected.
boost::signal< void(const
DtUnicode &)> 
signal_channelNameSelectionChanged
 Signal raised by the widget when a channel name is selected.
boost::signal< void(int)> signal_frameRateSelectionChanged
 Signal raised by the widget when a frame rate is selected.
boost::signal< void(int)> signal_numBuffersSelectionChanged
 Signal raised by the widget when a buffer count is selected.
boost::signal< void(const
DtUnicode &)> 
signal_readBufferSelectionChanged
 Signal raised by the widget when a read buffer type is selected.
boost::signal< void(int)> signal_metadataPublisherIncludedChanged
 Signal raised by the widget when inclusion or exclusion of a metadata publisher is selected.
boost::signal< void(const
DtUnicode &)> 
signal_metadataPublisherTypeSelectionChanged
 Signal raised by the widget when a metadata publisher type is selected.
boost::signal< void(int index,
const DtUnicode &taskType)> 
signal_imageTaskTypeChanged
 Signal raised by the widget when a process image task type is selected.
boost::signal< void()> signal_addImageTaskPressed
 Signal raised by the widget when the addition of a process image task is indicated.
boost::signal< void(int index)> signal_deleteImageTaskPressed
 Signal raised by the widget when the deletion of a process image task is indicated.
boost::signal< void(int index)> signal_moveImageTaskUpPressed
 Signal raised by the widget when the move up button of a process image task is pressed.
boost::signal< void(int index)> signal_moveImageTaskDownPressed
 Signal raised by the widget when the move down button of a process image task is pressed.
boost::signal< void()> signal_toggleVideoStreamState
 Signal raised by the widget when the action button is pressed, indicating that the video stream should be started or stopped.
boost::signal< void()> signal_toggleCurrentVideoStreamAutoStartState
 Signal raised by the widget when the auto start button is pressed, enabling or disabling auto start for the video stream.

Detailed Description

DtVideoStreamConfigurationInterface is the abstract interface for a video stream configuration widget.

All factory-creatable video stream configuration widgets inherit this class. This is a windowing system independent interface that can be used by the associated logic to communicate with the GUI.

Member Enumeration Documentation

Enumerate the possible video states.

Enumerator:
Stopped 

Not streaming (but available)

Started 

Currently Streaming.

Suspended 

Not implemented.

Unavailable 

Not streaming and not available, because some other video stream is streaming on the same window/channel.

Constructor & Destructor Documentation

makVrv::DtVideoStreamConfigurationInterface::DtVideoStreamConfigurationInterface ( )

CTOR.

virtual makVrv::DtVideoStreamConfigurationInterface::~DtVideoStreamConfigurationInterface ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtVideoStreamConfigurationInterface::activate ( )
pure virtual

Create the logic element.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setCurrentWindowName ( const DtUnicode windowName)
pure virtual

Set the window name to display in the window selection widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::addWindowName ( const DtUnicode windowName)
pure virtual

Add a window name to the window selection widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::removeWindowName ( const DtUnicode windowName)
pure virtual

Remove a window name from the window selection widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setCurrentChannelName ( const DtUnicode channelName)
pure virtual

Set the channel name to display in the channel selection widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::addChannelName ( const DtUnicode channelNames)
pure virtual

Add a channel name to the channel selection widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::removeChannelName ( const DtUnicode channelNames)
pure virtual

Remove a channel name from the channel selection widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setCurrentFrameRate ( int  frameRate)
pure virtual

Set the value of the frame rate widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setCurrentNumBuffers ( int  numBuffers)
pure virtual

Set the value of the number of buffers widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setCurrentReadBuffer ( const DtUnicode readBuffer)
pure virtual

Set the value of the read buffer type widget, e.g. "back".

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setReadBufferValues ( const std::list< DtUnicode > &  data,
const std::list< DtUnicode > &  names 
)
pure virtual

Set the allowable values for readBuffer; this populates the read buffer selection widget.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setImageTaskTypesAndNames ( const std::list< DtUnicode > &  taskTypes,
const std::list< DtUnicode > &  taskNames 
)
pure virtual

Provide the list of all process image tasks currently supported.

The widget maintains this list, making it available to process ismage task configuration widgets as they are added to the image task pipeline

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setMetadataPublisherTypesAndNames ( const std::list< DtUnicode > &  publisherTypes,
const std::list< DtUnicode > &  publisherNames 
)
pure virtual

Provide the list of all metadata plublisher types currently supported.

This populates the metadata publisher selection widget

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::addImageTask ( int  index,
const makArchives::DtImageTaskRecord task 
)
pure virtual

Add an image task to the image task pipeline.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::removeImageTask ( int  index)
pure virtual

Remove an image task from the image task pipeline.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setImageTask ( int  index,
const makArchives::DtImageTaskRecord task 
)
pure virtual

Specify the process image task that should be at the location indicated by index in the image task pipeline.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::swapImageTasks ( int  index1,
int  index2 
)
pure virtual

Swap the image tasks at the pipeline at the specified indices.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setImageTaskMoveUpArrowEnabled ( int  index,
bool  enabled 
)
pure virtual

Enable or disable the move up arrow button for the image task at the specified index in the pipeline.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setImageTaskMoveDownArrowEnabled ( int  index,
bool  enabled 
)
pure virtual

Enable or disable the move down arrow button for the image task at the specified index in the pipeline.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setMetadataCheckBox ( bool  onOff)
pure virtual

Set the value of the metadata checkbox.

This widget indicates whether a metadata publisher is included in this video stream

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setWindowChannelNameWarningLabel ( bool  warn)
pure virtual

Set the state of the window warning label.

This label is shown When the selected window name does not exist

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::disableMetadataPublishers ( )
pure virtual

Called during initialization if there are no metadata publisher plugins installed.

Causes everything related to metadata publishers to be removed from the dialog

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setMetadataPublisherVisible ( bool  visible)
pure virtual

Set whether the metadata publisher selection widget is shown.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setMetadataPublisherType ( const DtUnicode publisherType)
pure virtual

Set the selected metadata publisher type (if shown)

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setActionButtonState ( VideoStreamState  state)
pure virtual

Set the state of the action button (start / stop )

Implemented in makVrv::DtVideoStreamConfigurationWidget.

virtual void makVrv::DtVideoStreamConfigurationInterface::setVideoStreamAutoStartState ( bool  autoStart)
pure virtual

Set the state of the auto start button.

Implemented in makVrv::DtVideoStreamConfigurationWidget.

Member Data Documentation

boost::signal<void ( const DtUnicode& )> makVrv::DtVideoStreamConfigurationInterface::signal_windowNameSelectionChanged

Signal raised by the widget when a window name is selected.

boost::signal<void ( const DtUnicode& )> makVrv::DtVideoStreamConfigurationInterface::signal_channelNameSelectionChanged

Signal raised by the widget when a channel name is selected.

boost::signal<void ( int )> makVrv::DtVideoStreamConfigurationInterface::signal_frameRateSelectionChanged

Signal raised by the widget when a frame rate is selected.

boost::signal<void ( int )> makVrv::DtVideoStreamConfigurationInterface::signal_numBuffersSelectionChanged

Signal raised by the widget when a buffer count is selected.

boost::signal<void ( const DtUnicode& )> makVrv::DtVideoStreamConfigurationInterface::signal_readBufferSelectionChanged

Signal raised by the widget when a read buffer type is selected.

boost::signal<void ( int )> makVrv::DtVideoStreamConfigurationInterface::signal_metadataPublisherIncludedChanged

Signal raised by the widget when inclusion or exclusion of a metadata publisher is selected.

boost::signal<void ( const DtUnicode& )> makVrv::DtVideoStreamConfigurationInterface::signal_metadataPublisherTypeSelectionChanged

Signal raised by the widget when a metadata publisher type is selected.

boost::signal<void( int index, const DtUnicode& taskType )> makVrv::DtVideoStreamConfigurationInterface::signal_imageTaskTypeChanged

Signal raised by the widget when a process image task type is selected.

boost::signal<void()> makVrv::DtVideoStreamConfigurationInterface::signal_addImageTaskPressed

Signal raised by the widget when the addition of a process image task is indicated.

boost::signal<void( int index )> makVrv::DtVideoStreamConfigurationInterface::signal_deleteImageTaskPressed

Signal raised by the widget when the deletion of a process image task is indicated.

boost::signal<void( int index )> makVrv::DtVideoStreamConfigurationInterface::signal_moveImageTaskUpPressed

Signal raised by the widget when the move up button of a process image task is pressed.

boost::signal<void( int index )> makVrv::DtVideoStreamConfigurationInterface::signal_moveImageTaskDownPressed

Signal raised by the widget when the move down button of a process image task is pressed.

boost::signal<void( )> makVrv::DtVideoStreamConfigurationInterface::signal_toggleVideoStreamState

Signal raised by the widget when the action button is pressed, indicating that the video stream should be started or stopped.

boost::signal<void ()> makVrv::DtVideoStreamConfigurationInterface::signal_toggleCurrentVideoStreamAutoStartState

Signal raised by the widget when the auto start button is pressed, enabling or disabling auto start for the video stream.


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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)