Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+103
@@ -0,0 +1,103 @@
|
||||
#include "tln_av_tracks.h"
|
||||
|
||||
#include <LtsTimeline/track.h>
|
||||
|
||||
|
||||
namespace Timeline
|
||||
{
|
||||
|
||||
// Building
|
||||
BuildingsRootTrack::BuildingsRootTrack(const QString &text)
|
||||
: LtsTimeline::Track(text)
|
||||
{}
|
||||
|
||||
|
||||
BuildingTrack::BuildingTrack(int mainStructureElementId, const QString &name)
|
||||
#ifdef LTS_DEBUG
|
||||
: LtsTimeline::Track(QStringLiteral("[B%1] %2").arg(mainStructureElementId).arg(name))
|
||||
#else
|
||||
: LtsTimeline::Track(name)
|
||||
#endif
|
||||
, m_msei(mainStructureElementId)
|
||||
{}
|
||||
|
||||
|
||||
BuildingHitsTrack::BuildingHitsTrack(const QString &text)
|
||||
: LtsTimeline::Track(text)
|
||||
{}
|
||||
|
||||
|
||||
BuildingStreamTrack::BuildingStreamTrack(const QString &internal, const QString &display)
|
||||
: LtsTimeline::Track(display)
|
||||
{
|
||||
#ifdef LTS_DEBUG
|
||||
m_text = QStringLiteral("['%1'] %2").arg(internal, display);
|
||||
#else
|
||||
(void)internal;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
// Outdoor Cameras
|
||||
OutdoorCameraRootTrack::OutdoorCameraRootTrack(const QString &text)
|
||||
: LtsTimeline::Track(text)
|
||||
{}
|
||||
|
||||
OutdoorCameraTrack::OutdoorCameraTrack(const QString &streamName)
|
||||
#ifdef LTS_DEBUG
|
||||
: LtsTimeline::Track(QStringLiteral("[S] %1").arg(streamName))
|
||||
#else
|
||||
: LtsTimeline::Track(streamName)
|
||||
#endif
|
||||
, m_streamName(streamName)
|
||||
{}
|
||||
|
||||
|
||||
// Videos
|
||||
VideosRootTrack::VideosRootTrack(const QString &text)
|
||||
: LtsTimeline::Track(text)
|
||||
{}
|
||||
|
||||
|
||||
VideoTrack::VideoTrack(const QString &streamName)
|
||||
#ifdef LTS_DEBUG
|
||||
: LtsTimeline::Track(QStringLiteral("[S] %1").arg(streamName))
|
||||
#else
|
||||
: LtsTimeline::Track(streamName)
|
||||
#endif
|
||||
, m_streamName(streamName)
|
||||
{}
|
||||
|
||||
|
||||
// TVC
|
||||
TvcRootTrack::TvcRootTrack(const QString &text)
|
||||
: LtsTimeline::Track(text)
|
||||
{}
|
||||
|
||||
|
||||
TvcStreamTrack::TvcStreamTrack(const QString &internalStreamName, const QString &displayStreamName)
|
||||
#ifdef LTS_DEBUG
|
||||
: LtsTimeline::Track(QStringLiteral("[S'%1'] %2").arg(internalStreamName, displayStreamName))
|
||||
#else
|
||||
: LtsTimeline::Track(displayStreamName)
|
||||
#endif
|
||||
, m_internalStreamName(internalStreamName)
|
||||
{}
|
||||
|
||||
|
||||
// CNR
|
||||
CnrRootTrack::CnrRootTrack(const QString &text)
|
||||
: LtsTimeline::Track(text)
|
||||
{}
|
||||
|
||||
|
||||
CnrStreamTrack::CnrStreamTrack(const QString &internalStreamName, const QString &displayStreamName)
|
||||
#ifdef LTS_DEBUG
|
||||
: LtsTimeline::Track(QStringLiteral("[S'%1'] %2").arg(internalStreamName, displayStreamName))
|
||||
#else
|
||||
: LtsTimeline::Track(displayStreamName)
|
||||
#endif
|
||||
, m_internalStreamName(internalStreamName)
|
||||
{}
|
||||
|
||||
} // namespace Timeline
|
||||
Reference in new issue
Block a user