Public Member Functions | Public Attributes | Static Public Attributes | List of all members
crl::multisense::DirectedStream Class Reference

#include <MultiSenseTypes.hh>

Public Member Functions

 DirectedStream ()
 
 DirectedStream (DataSource m, const std::string &addr, uint16_t p=DFL_UDP_PORT, uint32_t dec=1)
 

Public Attributes

std::string address
 
uint32_t fpsDecimation
 
DataSource mask
 
uint16_t udpPort
 

Static Public Attributes

static CRL_CONSTEXPR uint16_t DFL_UDP_PORT = 10001
 

Detailed Description

Class used to request that MultiSense data be sent to a 3rd-party stream destination (UDP port), currently supported only by CRL's Monocular IP Camera. This functionality is not supported by any of CRL's stereo sensor products.

Definition at line 163 of file MultiSenseTypes.hh.

Constructor & Destructor Documentation

crl::multisense::DirectedStream::DirectedStream ( )
inline

Default constructor

Definition at line 181 of file MultiSenseTypes.hh.

crl::multisense::DirectedStream::DirectedStream ( DataSource  m,
const std::string &  addr,
uint16_t  p = DFL_UDP_PORT,
uint32_t  dec = 1 
)
inline

Constructor to initialize a directed stream between a MultiSense device and a host machine

Parameters
mThe data Sources to stream to a give device
addrA IP address to send steam data to
pThe UDP port to send stream data data to
decThe number of frames to decimate (i.e. if image.frameID % dec == 0 send the image stream)

Definition at line 195 of file MultiSenseTypes.hh.

Member Data Documentation

std::string crl::multisense::DirectedStream::address

IPv4 Address dotted quad

Definition at line 172 of file MultiSenseTypes.hh.

CRL_CONSTEXPR uint16_t crl::multisense::DirectedStream::DFL_UDP_PORT = 10001
static

Default UDP target port

Definition at line 167 of file MultiSenseTypes.hh.

uint32_t crl::multisense::DirectedStream::fpsDecimation

Every Nth image to send. For a value of 1 every image is sent

Definition at line 176 of file MultiSenseTypes.hh.

DataSource crl::multisense::DirectedStream::mask

The data source to stream to a given device

Definition at line 170 of file MultiSenseTypes.hh.

uint16_t crl::multisense::DirectedStream::udpPort

default=10001

Definition at line 174 of file MultiSenseTypes.hh.


The documentation for this class was generated from the following file:


multisense_lib
Author(s):
autogenerated on Sun Mar 14 2021 02:34:50