#include <visionserver2.h>
Definition at line 19 of file visionserver2.h.
◆ VisionServer() [1/3]
VisionServer::VisionServer |
( |
| ) |
|
|
private |
◆ ~VisionServer()
VisionServer::~VisionServer |
( |
| ) |
|
|
private |
◆ VisionServer() [2/3]
◆ VisionServer() [3/3]
◆ ntable()
static const std::shared_ptr< nt::NetworkTable > & vs2::VisionServer::ntable |
( |
| ) |
|
|
inlinestatic |
◆ getInstance()
◆ Init()
static void vs2::VisionServer::Init |
( |
| ) |
|
|
inlinestatic |
◆ addCamera()
◆ addCameras()
bool VisionServer::addCameras |
( |
std::vector< VisionCamera > && |
cms | ) |
|
|
static |
◆ setCameras()
bool VisionServer::setCameras |
( |
std::vector< VisionCamera > && |
cms | ) |
|
|
static |
◆ getCameras()
std::vector< VisionCamera > & vs2::VisionServer::getCameras |
( |
| ) |
|
|
inlinestatic |
◆ numCameras()
size_t vs2::VisionServer::numCameras |
( |
| ) |
|
|
inlinestatic |
◆ addPipeline() [1/2]
template<class pipeline >
bool vs2::VisionServer::addPipeline |
|
static |
◆ addPipeline() [2/2]
bool VisionServer::addPipeline |
( |
BasePipe * |
p | ) |
|
|
static |
◆ addPipelines() [1/3]
template<class... pipelines_t>
bool vs2::VisionServer::addPipelines |
|
static |
◆ addPipelines() [2/3]
bool VisionServer::addPipelines |
( |
std::vector< BasePipe * > && |
ps | ) |
|
|
static |
◆ addPipelines() [3/3]
bool VisionServer::addPipelines |
( |
std::initializer_list< BasePipe * > |
ps | ) |
|
|
static |
◆ setPipelines() [1/3]
template<class... pipelines_t>
bool vs2::VisionServer::setPipelines |
|
static |
◆ setPipelines() [2/3]
bool VisionServer::setPipelines |
( |
std::vector< BasePipe * > && |
ps | ) |
|
|
static |
◆ setPipelines() [3/3]
bool VisionServer::setPipelines |
( |
std::initializer_list< BasePipe * > |
ps | ) |
|
|
static |
◆ getPipelines()
◆ numPipelines()
size_t vs2::VisionServer::numPipelines |
( |
| ) |
|
|
inlinestatic |
◆ addStream() [1/5]
bool VisionServer::addStream |
( |
| ) |
|
|
static |
◆ addStream() [2/5]
bool VisionServer::addStream |
( |
std::string_view |
name | ) |
|
|
static |
◆ addStream() [3/5]
bool VisionServer::addStream |
( |
std::string_view |
name, |
|
|
int |
port |
|
) |
| |
|
static |
◆ addStream() [4/5]
bool VisionServer::addStream |
( |
const cs::MjpegServer & |
s | ) |
|
|
static |
◆ addStream() [5/5]
bool VisionServer::addStream |
( |
cs::MjpegServer && |
s | ) |
|
|
static |
◆ addStreams() [1/4]
bool VisionServer::addStreams |
( |
size_t |
n = 2 | ) |
|
|
static |
◆ addStreams() [2/4]
bool VisionServer::addStreams |
( |
std::initializer_list< std::string_view > |
strms | ) |
|
|
static |
◆ addStreams() [3/4]
bool VisionServer::addStreams |
( |
std::initializer_list< std::pair< std::string_view, int > > |
strms | ) |
|
|
static |
◆ addStreams() [4/4]
bool VisionServer::addStreams |
( |
const std::vector< cs::MjpegServer > & |
strms | ) |
|
|
static |
◆ getStreams()
◆ numStreams()
size_t vs2::VisionServer::numStreams |
( |
| ) |
|
|
inlinestatic |
◆ compensate()
bool VisionServer::compensate |
( |
| ) |
|
|
static |
◆ runRaw()
bool VisionServer::runRaw |
( |
| ) |
|
|
static |
◆ runRawThread()
bool VisionServer::runRawThread |
( |
| ) |
|
|
static |
◆ run()
bool VisionServer::run |
( |
float |
fps_cap = 30.f | ) |
|
|
static |
◆ runSingle()
bool VisionServer::runSingle |
( |
float |
fps_cap = 30.f | ) |
|
|
static |
◆ runThread()
bool VisionServer::runThread |
( |
float |
fps_cap = 30.f | ) |
|
|
static |
◆ runSingleThread()
bool VisionServer::runSingleThread |
( |
float |
fps_cap = 30.f | ) |
|
|
static |
◆ isRunning()
bool vs2::VisionServer::isRunning |
( |
| ) |
|
|
inlinestatic |
◆ stop()
bool VisionServer::stop |
( |
| ) |
|
|
static |
◆ stopExit()
static void vs2::VisionServer::stopExit |
( |
| ) |
|
|
inlinestatic |
◆ pipeExpander()
template<class pipeline , class... pipelines>
size_t vs2::VisionServer::pipeExpander |
( |
std::vector< std::unique_ptr< BasePipe > > & |
pipes | ) |
|
|
static |
◆ inst()
◆ pipelineRunner()
void VisionServer::pipelineRunner |
( |
BasePipe * |
pipe, |
|
|
float |
fps_cap |
|
) |
| |
|
staticprotected |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ cameras
◆ pipelines
std::vector<BasePipe*> vs2::VisionServer::pipelines |
|
private |
◆ heap_allocated
std::vector<std::unique_ptr<BasePipe> > vs2::VisionServer::heap_allocated |
|
private |
◆ streams
◆ head
std::thread vs2::VisionServer::head |
|
private |
◆ is_running
std::atomic<bool> vs2::VisionServer::is_running {false} |
|
private |
The documentation for this class was generated from the following files: