Rtms creator class.
More...
#include <mudpiCreator.hpp>
Rtms creator class.
This class is responsible for creation of all the MUDPI packages. This will include:
- The HRTCp leader packet
- One or more HRTCp payload packets
- The HRTCp trailer packet
◆ MudpiCreator() [1/3]
| ccf::stdpub::MudpiCreator::MudpiCreator |
( |
uint32_t |
mudpi_topic_id, |
|
|
uint16_t |
mudpi_component_id, |
|
|
uint32_t |
starting_mudpi_sample_id, |
|
|
hrtcpif::SimSource |
hrtcp_sim_source, |
|
|
hrtcpif::Endianness |
hrtcp_endianness, |
|
|
int |
bytes_per_pixel |
|
) |
| |
◆ MudpiCreator() [2/3]
Disables unused constructors and operators.
◆ MudpiCreator() [3/3]
◆ getMudpiPackets()
| std::vector< mudpiif::mudpiPacketJumbo > & ccf::stdpub::MudpiCreator::getMudpiPackets |
( |
std::vector< unsigned char > & |
raw_image_data, |
|
|
double |
timestamp |
|
) |
| |
This function returns a complete set of MUDPI packets for an image, all having the same sample id
- Parameters
-
| [in] | raw_image_data | Reference to the raw pixel data |
| [in] | timestamp | The timestamp that shall be used to timestamp the complete set of MUDPI frames for this eparticular frame. |
- Returns
- Vector of MUDPI packets
◆ increaseSampleId()
| void ccf::stdpub::MudpiCreator::increaseSampleId |
( |
| ) |
|
This function increases the SampleID field in the MUDPI header. This should be called once a full frame (a complete picture) is created.
◆ operator=()
The documentation for this class was generated from the following files: