12#include <catch2/catch_amalgamated.hpp>
22 Network::setLocalMode(
true);
24 SECTION(
"Checking openCVWriter device")
37 cfg.put(
"device",
"openCVWriter");
38 cfg.put(
"framerate", 30);
39 cfg.put(
"width", 320);
40 cfg.put(
"height", 240);
53 Network::setLocalMode(
false);
A container for a device driver.
bool close() override
Close the DeviceDriver.
bool open(const std::string &txt)
Construct and configure a device by its common name.
A mini-server for performing network communication in the background.
A class for storing options and configuration information.
Helper class for finding config files and other external resources.
bool setDefaultContext(const std::string &contextName)
Sets the context for the current ResourceFinder object.
std::string findFileByName(const std::string &name)
Find the full path to a file.
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.
TEST_CASE("dev::openCVWriterTest", "[yarp::dev]")