33 const std::string& windowName()
const;
36 void setWindowName(
const std::string& windowName );
39 const std::string& channelName()
const;
42 void setChannelName(
const std::string& channelName );
45 bool autoStart()
const;
48 void setAutoStart(
bool autoStart );
51 int frameRate()
const;
54 void setFrameRate(
int frameRate );
57 const std::string& dataType()
const;
60 void setDataType(
const std::string& dataType );
63 const std::string& pixelFormat()
const;
66 void setPixelFormat(
const std::string& pixelFormat );
69 int numBuffers()
const;
72 void setNumBuffers(
int numBuffers );
78 const std::string& readBuffer()
const;
84 void setReadBuffer(
const std::string& readBuffer );
87 bool useGPUForEncoding()
const;
90 void setUseGPUForEncoding(
bool useGPU );
96 const std::string& encodingFormat()
const;
102 void setEncodingFormat(
const std::string& encodingFormat);
108 void setMetadataPublisher(
124 void clearImageTasks();
133 friend class boost::serialization::access;
135 template <
class Archive>
138 ar & BOOST_SERIALIZATION_NVP( myWindowName );
139 ar & BOOST_SERIALIZATION_NVP( myChannelName );
140 ar & BOOST_SERIALIZATION_NVP( myFrameRate );
141 ar & BOOST_SERIALIZATION_NVP( myDataType );
142 ar & BOOST_SERIALIZATION_NVP( myPixelFormat );
143 ar & BOOST_SERIALIZATION_NVP( myNumBuffers );
144 ar & BOOST_SERIALIZATION_NVP( myReadBuffer );
145 ar & BOOST_SERIALIZATION_NVP( myMetadataPublisherRecord );
146 ar & BOOST_SERIALIZATION_NVP( myImageTaskRecords );
149 ar & BOOST_SERIALIZATION_NVP( myAutoStart );
153 ar & BOOST_SERIALIZATION_NVP(myEncodingFormat);
158 ar & BOOST_SERIALIZATION_NVP(myUseGPUForEncoding);
168 size_t foundIndex = myReadBuffer.find(
"_hardware");
169 myUseGPUForEncoding = (foundIndex != std::string::npos);
170 if (myUseGPUForEncoding)
173 myReadBuffer = myReadBuffer.substr(0, foundIndex);
std::string myPixelFormat
Definition: DtVideoStreamRecord.h:182
std::string myDataType
Definition: DtVideoStreamRecord.h:181
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
DtMetadataPublisherRecord myMetadataPublisherRecord
Definition: DtVideoStreamRecord.h:187
Contains makArchives::DtDriverRecord class.
Record for a sensor definition.
Definition: DtImageTaskRecord.h:20
int myFrameRate
Definition: DtVideoStreamRecord.h:180
void serialize(Archive &ar, const unsigned int version)
Definition: DtVideoStreamRecord.h:136
std::string myEncodingFormat
Definition: DtVideoStreamRecord.h:186
bool myAutoStart
Definition: DtVideoStreamRecord.h:189
std::string myReadBuffer
Definition: DtVideoStreamRecord.h:184
Record of a collection of sensor definitions.
Definition: DtVideoStreamRecord.h:17
bool myUseGPUForEncoding
Definition: DtVideoStreamRecord.h:185
std::string myChannelName
Definition: DtVideoStreamRecord.h:179
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
std::vector< DtImageTaskRecord > ImageTaskRecords
List of image task records.
Definition: DtVideoStreamRecord.h:112
ImageTaskRecords myImageTaskRecords
Definition: DtVideoStreamRecord.h:188
std::string myWindowName
Definition: DtVideoStreamRecord.h:178
int myNumBuffers
Definition: DtVideoStreamRecord.h:183