template class axl::sys::lnx::UdevContextBase

#include <axl_sys_lnx_UdevContext.h>

template <typename T>
class UdevContextBase: public axl::sl::Handle
{
public:
    // construction

    UdevContextBase();
    UdevContextBase(udev* h);

    // methods

    bool
    create();

    void
    addRef();

    udev_device*
    getDeviceFromSysPath(const sl::StringRef& sysPath);

    udev_device*
    getDeviceFromDevNum(
        char type,
        dev_t devNum
        );

    udev_device*
    getDeviceFromSubsytemSysName(
        const sl::StringRef& subsystem,
        const sl::StringRef& sysName
        );

    udev_device*
    getDeviceFromEnvironment();

    udev_enumerate*
    createEnumerator();

    udev_monitor*
    createMonitor(const sl::StringRef& name);
};

Inherited Members

public:
    // typedefs

    typedef T H;

    // methods

    operator T() const;

    T
    operator->() const;

    const Handle&
    operator=(T h);

    bool
    isOpen() const;

    void
    close();

    void
    attach(T h);

    T
    detach();

    T*
    p();

    static
    T
    getInvalidHandle();