#include <udev_environment.h>
mir::mir_test_framework::UdevEnvironment::UdevEnvironment |
( |
| ) |
|
mir::mir_test_framework::UdevEnvironment::~UdevEnvironment |
( |
| ) |
|
|
noexcept |
std::string mir::mir_test_framework::UdevEnvironment::add_device |
( |
char const * |
subsystem, |
|
|
char const * |
name, |
|
|
char const * |
parent, |
|
|
std::initializer_list< char const * > |
attributes, |
|
|
std::initializer_list< char const * > |
properties |
|
) |
| |
void mir::mir_test_framework::UdevEnvironment::add_standard_device |
( |
std::string const & |
name | ) |
|
Add a device from the set of standard device traces.
Looks for a name
.umockdev file, and adds a UMockDev device from that description.
If name
.ioctl exists, it loads that ioctl script for the device
- Parameters
-
name | The unadorned filename of the device traces to add. |
void mir::mir_test_framework::UdevEnvironment::emit_device_changed |
( |
std::string const & |
device_path | ) |
|
void mir::mir_test_framework::UdevEnvironment::remove_device |
( |
std::string const & |
device_path | ) |
|
std::string const mir::mir_test_framework::UdevEnvironment::recordings_path |
UMockdevTestbed* mir::mir_test_framework::UdevEnvironment::testbed |
The documentation for this class was generated from the following file:
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014