VisionServer  v2.1.1-1-g21dc5465
FRC vision library
vs2::VisionServer::OutputStream Struct Reference
+ Inheritance diagram for vs2::VisionServer::OutputStream:
+ Collaboration diagram for vs2::VisionServer::OutputStream:

Public Member Functions

 OutputStream (cs::MjpegServer &&s)
 
 OutputStream (std::string_view n)
 
 OutputStream (std::string_view n, int p)
 
 OutputStream (const OutputStream &o)
 
 OutputStream (OutputStream &&o)
 
 ~OutputStream ()
 
void setSourceIdx (int i)
 
void setPipelineIdx (uint16_t i)
 
void setCameraIdx (uint16_t i)
 

Static Public Member Functions

static const std::shared_ptr< nt::NetworkTable > & ntable ()
 

Protected Member Functions

void syncIdx ()
 

Private Attributes

const std::shared_ptr< nt::NetworkTable > table
 
std::atomic_int local_idx {0}
 

Friends

class VisionServer
 

Detailed Description

Definition at line 157 of file visionserver2.h.

Constructor & Destructor Documentation

◆ OutputStream() [1/5]

VisionServer::OutputStream::OutputStream ( cs::MjpegServer &&  s)

Definition at line 224 of file visionserver2.cpp.

◆ OutputStream() [2/5]

vs2::VisionServer::OutputStream::OutputStream ( std::string_view  n)
inline

Definition at line 166 of file visionserver2.h.

◆ OutputStream() [3/5]

vs2::VisionServer::OutputStream::OutputStream ( std::string_view  n,
int  p 
)
inline

Definition at line 168 of file visionserver2.h.

◆ OutputStream() [4/5]

vs2::VisionServer::OutputStream::OutputStream ( const OutputStream o)
inline

Definition at line 170 of file visionserver2.h.

◆ OutputStream() [5/5]

vs2::VisionServer::OutputStream::OutputStream ( OutputStream &&  o)
inline

Definition at line 172 of file visionserver2.h.

◆ ~OutputStream()

VisionServer::OutputStream::~OutputStream ( )

Definition at line 230 of file visionserver2.cpp.

Member Function Documentation

◆ ntable()

static const std::shared_ptr< nt::NetworkTable > & vs2::VisionServer::OutputStream::ntable ( )
inlinestatic

Definition at line 160 of file visionserver2.h.

◆ setSourceIdx()

void VisionServer::OutputStream::setSourceIdx ( int  i)

Definition at line 231 of file visionserver2.cpp.

◆ setPipelineIdx()

void vs2::VisionServer::OutputStream::setPipelineIdx ( uint16_t  i)
inline

Definition at line 177 of file visionserver2.h.

◆ setCameraIdx()

void vs2::VisionServer::OutputStream::setCameraIdx ( uint16_t  i)
inline

Definition at line 178 of file visionserver2.h.

◆ syncIdx()

void VisionServer::OutputStream::syncIdx ( )
protected

Definition at line 241 of file visionserver2.cpp.

Friends And Related Function Documentation

◆ VisionServer

friend class VisionServer
friend

Definition at line 158 of file visionserver2.h.

Member Data Documentation

◆ table

const std::shared_ptr<nt::NetworkTable> vs2::VisionServer::OutputStream::table
private

Definition at line 184 of file visionserver2.h.

◆ local_idx

std::atomic_int vs2::VisionServer::OutputStream::local_idx {0}
private

Definition at line 185 of file visionserver2.h.


The documentation for this struct was generated from the following files: