VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVideoStreamConfigurationLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
16 namespace makVrv
17 {
18  class DtVideoStreamConfigurationInterface;
19  class DtVideoStream;
20  class DtWindow;
21  class DtChannel;
22 
27  {
28  public:
32  DtVideoStream& videoStream);
33 
36 
37  protected:
39  void setupPossibleValues() const;
40 
43  void setupPossibleChannelNames( const DtWindow* window = 0 ) const;
44 
47  void setupImageTaskReorderArrows();
48 
51  virtual void setWindowAndChannelWarningStates() const;
52 
56  videoStreamState( const DtVideoStream& stream );
57 
59 
63  virtual void slot_windowNameSelectionChanged(
64  const DtUnicode& windowName );
65 
68  virtual void slot_channelNameSelectionChanged(
69  const DtUnicode& channelName );
70 
73  virtual void slot_frameRateSelectionChanged( int frameRate );
74 
77  virtual void slot_numBuffersSelectionChanged( int numBuffers );
78 
81  virtual void slot_readBufferSelectionChanged(
82  const DtUnicode& readBuffer );
83 
86  virtual void slot_encodingMethodSelectionChanged(
87  const DtUnicode& encodingMethod );
88 
91  virtual void slot_encodingFormatSelectionChanged(
92  const DtUnicode& encodingFormat );
93 
96  virtual void slot_addImageTaskPressed();
97 
100  virtual void slot_imageTaskTypeSelectionChanged( int index,
101  const DtUnicode& taskType );
102 
105  virtual void slot_deleteImageTaskPressed( int index );
106 
109  virtual void slot_moveImageTaskUpPressed( int index );
110 
113  virtual void slot_moveImageTaskDownPressed( int index );
114 
117  virtual void slot_metadataPublisherIncludedChanged( bool included );
118 
121  virtual void slot_metadataPublisherTypeSelectionChanged(
122  const DtUnicode& publisher );
123 
126  virtual void slot_toggleVideoStreamState();
127 
130  virtual void slot_toggleCurrentVideoStreamAutoStartState();
131 
133 
135 
138  virtual void slot_windowNameChanged( const DtUnicode& windowName );
139 
141  virtual void slot_channelNameChanged( const DtUnicode& channelName );
142 
144  virtual void slot_frameRateChanged( int frameRate );
145 
147  virtual void slot_numBuffersChanged( int numBuffers );
148 
150  virtual void slot_readBufferChanged( const DtUnicode& readBuffer );
151 
153  virtual void slot_encodingMethodChanged( bool useGPU );
154 
156  virtual void slot_encodingFormatChanged( const DtUnicode& encodingFormat );
157 
159  virtual void slot_imageTaskAdded(
160  const makArchives::DtImageTaskRecord& imageTask );
161 
163  virtual void slot_imageTaskRemoved( int taskIndex );
164 
166  virtual void slot_imageTaskChanged( int index,
167  const makArchives::DtImageTaskRecord& imageTask );
168 
170  virtual void slot_imageTasksSwapped( int index1, int index2 );
171 
174  virtual void slot_videoStreamStatusChanged();
175 
178  virtual void slot_metadataPublisherTypeChanged(
179  const DtUnicode& pubType );
180 
183  virtual void slot_metadataPublisherChanged(
184  const makArchives::DtMetadataPublisherRecord& pubRecord );
185 
188  virtual void slot_videoStreamAutoStartChanged();
189 
191 
193 
197  virtual void slot_windowCreated( DtWindow* window );
198 
201  virtual void slot_windowToBeDestroyed( DtWindow* window );
202 
204 
206 
210  virtual void slot_channelCreated( DtChannel* channel );
211 
214  virtual void slot_channelToBeDestroyed( DtChannel* channel );
215 
217 
218  protected:
223  };
224 }
A DtVideoStream instance will create a single streaming video pipeline on the channel indicated by wi...
Definition: DtVideoStream.h:35
Abstract Base class.
Definition: DtWindow.h:25
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Record for a sensor definition.
Definition: DtImageTaskRecord.h:20
DtDe & myDe
Definition: DtVideoStreamConfigurationLogic.h:221
DtVideoStream & myVideoStream
Definition: DtVideoStreamConfigurationLogic.h:219
Record for a metadata publisher Defines both the type and parameters.
Definition: DtMetadataPublisherRecord.h:21
Contains the makVrv::DtVideoStreamConfigurationInterface class.
#define DT_DLL_VRVVIDEOSTREAMQT
Definition: vrvVideoStreamQt.h:20
The abstract Channel Class.
Definition: DtChannel.h:35
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtVideoStreamConfigurationLogic is the logic element for the video stream configuration widget...
Definition: DtVideoStreamConfigurationLogic.h:26
voidpf stream
Definition: ioapi.h:39
Base class to provide boost signal/slot management.
DtSignalConnectionManager mySignals
Definition: DtVideoStreamConfigurationLogic.h:222
VideoStreamState
Enumerate the possible video states.
Definition: DtVideoStreamConfigurationInterface.h:45
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
DtVideoStreamConfigurationInterface & myWidget
Definition: DtVideoStreamConfigurationLogic.h:220
DtVideoStreamConfigurationInterface is the abstract interface for a video stream configuration widget...
Definition: DtVideoStreamConfigurationInterface.h:34

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)