Dustin Spicuzza
8c3efa5926
Increment reference count when creating VideoSource object ( #53 )
2017-02-09 00:55:40 -08:00
Thad House
cf8cab850b
Fixes missing VideoProperty constructor. ( #49 )
2017-01-20 00:49:58 -07:00
Peter Johnson
7ddbf20108
Create VideoCamera base class and move camera settings functions to it.
...
This makes them available for both UsbCamera and HttpCamera / AxisCamera.
To avoid virtual functions in the public-facing interface, move the
implementation of the camera settings functions to the core library.
2017-01-02 23:17:00 -08:00
Peter Johnson
318d23ba1c
Add AxisCamera wrapper class.
...
This takes hosts (IP or DNS name) rather than URLs, making it easier
to use.
Also add more overloads to resolve ambiguities encountered when using
std::string and const char*, and also add overloads for
std::initializer_list<T> so braced initializer lists can be used.
2016-12-23 22:26:27 -08:00
Peter Johnson
9016a9e8b8
Start implementing HttpCamera.
...
This is a work in progress that does not yet support camera settings.
2016-12-23 22:26:27 -08:00
Peter Johnson
1f93a4ab4f
Change acronym class names to use MixedCase (UsbCamera, MjpegServer). ( #22 )
2016-12-04 00:08:47 -08:00
Peter Johnson
a05636d9a6
Add data accessors for USBCamera and MJPEGServer.
...
USBCamera: getPath()
MJPEGServer: getListenAddress() and getPort()
2016-11-18 17:21:03 -08:00
Peter Johnson
881d55f858
VideoListener: Add move assignment operator.
2016-11-18 15:10:37 -08:00
Peter Johnson
dcf773c3ef
Add USBCamera setting functions similar to the old WPILib nivision ones.
2016-11-18 12:41:08 -08:00
Peter Johnson
791cabbc26
Rename Type to Kind.
2016-11-18 12:41:08 -08:00
Peter Johnson
3381340eb5
Add method to get source/sink type.
...
Also provide convenience method to enumerate all sinks connected to a source.
2016-11-18 12:41:08 -08:00
Peter Johnson
f83ff41e47
Rename from cameraserver to cscore.
...
This is primarily to avoid header naming conflicts with wpilib.
2016-11-05 22:11:55 -07:00