20 #include <boost/signal.hpp>
24 class DtReadFramebufferCallback;
25 class DtVideoStreamManager;
27 class DtChannelManager;
73 virtual void notifyOtherStreamStarted(
const DtVideoStream& startedStream );
80 virtual void setAutoStart(
bool autoStart );
83 virtual bool autoStart()
const;
89 virtual void notifyOtherStreamStopped(
const DtVideoStream& stoppedStream );
95 virtual void setFromRecord(
106 virtual int channelWidth()
const;
109 virtual int channelHeight()
const;
112 virtual int channelX()
const;
115 virtual int channelY()
const;
118 virtual double horizontalFov()
const;
121 virtual double verticalFov()
const;
130 virtual void setWindowName(
const DtUnicode& windowName );
137 virtual void setChannelName(
const DtUnicode& channelName );
149 virtual void setDataType(
const DtUnicode& dataType );
155 virtual void setFrameRate(
int frameRate );
158 virtual int frameRate()
const;
167 virtual void setPixelFormat(
const DtUnicode& pixelFormat );
173 virtual void setNumBuffers(
int numBuffers );
176 virtual int numBuffers()
const;
183 virtual void setReadBuffer(
const DtUnicode& readBuffer );
191 void setEncodingFormat(
const DtUnicode& encodingFormat);
211 virtual void addImageTask(
216 virtual void removeImageTask(
223 virtual void setImageTask(
int index,
227 virtual void setImageTasks(
239 virtual void setParameterInt(
int taskElementIndex,
240 const DtUnicode& parameterName,
int value );
244 virtual void setParameterDouble(
int taskElementIndex,
245 const DtUnicode& parameterName,
double value );
249 virtual void setParameterBool(
int taskElementIndex,
250 const DtUnicode& parameterName,
bool value );
254 virtual void setParameterString(
int taskElementIndex,
259 virtual void setMetadataPublisher(
264 virtual void setMetadataPublisherType(
const DtUnicode& pubType );
268 virtual void setMetadataPublisherObserverName(
272 virtual void setMetadataPublisherParameters(
281 virtual void swapImageTasks(
int index1,
int index2 );
284 virtual bool saveVideoStream(
const DtUnicode& filePath )
const;
287 virtual bool loadVideoStream(
const DtUnicode& filePath );
291 virtual void reportFramebufferCallbackFailure();
325 boost::signal<void ( const makArchives::DtImageTaskRecord& )>
329 boost::signal<void ( const makArchives::DtImageTaskRecord& )>
341 boost::signal<void ( int index, const makArchives::DtImageTaskRecord& )>
345 boost::signal<void ( const makArchives::DtMetadataPublisherRecord& )>
349 boost::signal<void ( const DtUnicode& )>
353 boost::signal<void ( const DtUnicode& )>
357 boost::signal<void ( const makArchives::DtNameValueLists& )>
372 int taskIndex,
const DtUnicode& parameter,
int value )>
378 int taskIndex,
const DtUnicode& parameter,
double value )>
384 int taskIndex,
const DtUnicode& parameter,
bool value )>
405 virtual void updateFov();
408 virtual void updateChannelWidthAndHeight();
413 virtual bool installFramebufferCallback();
417 virtual void removeFrameReadback();
420 virtual void slot_channelConfigurationModified(
const std::string& displayName,
421 const std::string& windowName,
const std::string& channelName );
424 virtual void slot_windowConfigurationModified(
const std::string& displayName,
425 const std::string& windowName );
431 virtual void slot_updateReadFramebufferCallbackIfNeeded();
A DtVideoStream instance will create a single streaming video pipeline on the channel indicated by wi...
Definition: DtVideoStream.h:33
DtDe & myDe
Definition: DtVideoStream.h:452
boost::signal< void(const DtUnicode &)> signal_encodingFormatChanged
emitted when the encoding format changes
Definition: DtVideoStream.h:322
Creator class for the Standard Video Stream.
Definition: DtVideoStream.h:466
A DtReadFramebufferCallback instance is installed as the draw callback of the camera attached to the ...
Definition: DtReadFramebufferCallback.h:32
A unicode string.
Definition: DtUnicode.h:33
DtUnicode myClassName
Definition: DtVideoStream.h:454
VideoStreamStatus
Definition: DtVideoStream.h:37
boost::signal< void(VideoStreamStatus)> signal_videoStreamStatusChanged
emitted when the video stream's status changes
Definition: DtVideoStream.h:364
DtOsgChannel * myChannel
Definition: DtVideoStream.h:451
int myChannelX
Definition: DtVideoStream.h:457
boost::signal< void(const DtUnicode &)> signal_metadataPublisherObserverNameChanged
emitted when the observer tracked by a metadata publisher changes
Definition: DtVideoStream.h:354
int myChannelHeight
Definition: DtVideoStream.h:456
boost::signal< void(bool)> signal_videoStreamAutoStartChanged
emitted when the video stream's autoStart parameter is changed
Definition: DtVideoStream.h:367
boost::signal< void(int index, const makArchives::DtImageTaskRecord &)> signal_imageTaskChanged
emitted when the image task at index has changed
Definition: DtVideoStream.h:342
boost::signal< void(const DtUnicode &)> signal_readBufferChanged
emitted when the read buffer type changes
Definition: DtVideoStream.h:319
Record for a sensor definition.
Definition: DtImageTaskRecord.h:20
#define DT_DLL_VRVVIDEOSTREAM
Definition: vrvVideoStream.h:20
Contains makVrv::DtDe class.
boost::signal< void(const makArchives::DtMetadataPublisherRecord &)> signal_metadataPublisherChanged
emitted when the metadata publisher changes
Definition: DtVideoStream.h:346
boost::signal< void(const DtUnicode &)> signal_metadataPublisherTypeChanged
emitted when the metadata publisher type has changed
Definition: DtVideoStream.h:350
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:75
double myHorizontalFov
Definition: DtVideoStream.h:459
boost::signal< void(int taskIndex, const DtUnicode ¶meter, bool value)> signal_boolTaskParameterChanged
emitted when the specified boolean parameter/value is changed for the image task at task index ...
Definition: DtVideoStream.h:385
boost::signal< void(const makArchives::DtImageTaskRecord &)> signal_imageTaskAdded
emitted when an process image task element is added
Definition: DtVideoStream.h:326
The abstract Channel Class.
Definition: DtChannel.h:29
DtVideoStreamManager is a singleton class that manages DtVideoStreams in VR-Vantage.
Definition: DtVideoStreamManager.h:35
makArchives::DtVideoStreamRecord myVideoStreamRecord
Definition: DtVideoStream.h:448
VideoStreamStatus myStatus
Definition: DtVideoStream.h:461
boost::signal< void(int taskIndex, const DtUnicode ¶meter, int value)> signal_intTaskParameterChanged
emitted when the specified integer parameter/value is changed for the image task at task index ...
Definition: DtVideoStream.h:373
double myVerticalFov
Definition: DtVideoStream.h:460
stream is started but global video processing is disabled
Definition: DtVideoStream.h:44
DtReadFramebufferCallback * myChannelReadback
Definition: DtVideoStream.h:450
voidpf stream
Definition: ioapi.h:39
boost::signal< void(const makArchives::DtNameValueLists &)> signal_metadataPublisherParametersChanged
emitted when metadatapublisher type-specific parameters change
Definition: DtVideoStream.h:358
boost::signal< void(int)> signal_numBuffersChanged
emitted when the number of pixel buffer objects changes
Definition: DtVideoStream.h:316
Base class for handling DtChannels.
Definition: DtChannelManager.h:35
boost::signal< void(int taskIndex, const DtUnicode ¶meter, const DtUnicode &value)> signal_stringTaskParameterChanged
emitted when the specified string parameter/value is changed for the image task at task index ...
Definition: DtVideoStream.h:391
Record of a collection of sensor definitions.
Definition: DtVideoStreamRecord.h:17
boost::signal< void(int imageTaskIndex)> signal_imageTaskRemoved
emitted after a process image task element has been removed
Definition: DtVideoStream.h:333
boost::signal< void(const DtUnicode &)> signal_channelNameChanged
emitted when the channel that should be streamed changes
Definition: DtVideoStream.h:302
boost::signal< void(int)> signal_frameRateChanged
emitted when the the capture frame rate changes
Definition: DtVideoStream.h:309
int myChannelWidth
Definition: DtVideoStream.h:455
DtVideoStreamManager & myVideoStreamManager
Definition: DtVideoStream.h:449
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
stream is started and global video processing is enabled
Definition: DtVideoStream.h:42
Contains DLL export macros.
boost::signal< void(int taskIndex, const DtUnicode ¶meter, double value)> signal_doubleTaskParameterChanged
emitted when the specified double parameter/value is changed for the image task at task index ...
Definition: DtVideoStream.h:379
DtUnicode myInstanceName
Definition: DtVideoStream.h:453
boost::signal< void(const makArchives::DtImageTaskRecord &)> signal_imageTaskToBeRemoved
emitted when a process image task element is about to be removed
Definition: DtVideoStream.h:330
boost::signal< void(const DtUnicode &)> signal_dataTypeChanged
emitted when the data type of the osg::image used to capture a frame changes
Definition: DtVideoStream.h:306
Inherit this is you need a list of name/value pairs.
Definition: DtNameValueLists.h:21
std::vector< DtImageTaskRecord > ImageTaskRecords
List of image task records.
Definition: DtVideoStreamRecord.h:114
stream is stopped
Definition: DtVideoStream.h:40
boost::signal< void(int index1, int index2)> signal_imageTasksSwapped
emitted when the order of two tasks are swapped
Definition: DtVideoStream.h:361
boost::signal< void(const makArchives::DtVideoStreamRecord::ImageTaskRecords &)> signal_imageTasksChanged
emitted when all image tasks have been replaced
Definition: DtVideoStream.h:338
int myChannelY
Definition: DtVideoStream.h:458
boost::signal< void(const DtUnicode &)> signal_pixelFormatChanged
emitted when the pixel format of the osg::image used to capture a frame changes
Definition: DtVideoStream.h:313
boost::signal< void(const DtUnicode &)> signal_windowNameChanged
Signals raised when changes are made to the video stream configuration.
Definition: DtVideoStream.h:299