24 lines
401 B
C++
24 lines
401 B
C++
|
|
#ifndef DEVICEROLE_H
|
||
|
|
#define DEVICEROLE_H
|
||
|
|
|
||
|
|
#include <memory>
|
||
|
|
#include <user/deviceAttachmentSpec.h>
|
||
|
|
|
||
|
|
namespace smo {
|
||
|
|
namespace device {
|
||
|
|
|
||
|
|
class DeviceRole
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
DeviceRole(std::shared_ptr<DeviceAttachmentSpec> spec)
|
||
|
|
: deviceAttachmentSpec(spec)
|
||
|
|
{}
|
||
|
|
|
||
|
|
std::shared_ptr<DeviceAttachmentSpec> deviceAttachmentSpec;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace device
|
||
|
|
} // namespace smo
|
||
|
|
|
||
|
|
#endif // DEVICEROLE_H
|