Files
salmanoff/smocore/include/deviceManager/deviceRole.h
T

29 lines
505 B
C++
Raw Normal View History

#ifndef DEVICEROLE_H
#define DEVICEROLE_H
#include <memory>
#include <user/deviceAttachmentSpec.h>
namespace smo {
namespace device {
class Device; // Forward declaration
class DeviceRole
{
public:
DeviceRole(
Device& parentDevice,
std::shared_ptr<DeviceAttachmentSpec>& spec)
: parentDevice(parentDevice), deviceAttachmentSpec(spec)
{}
Device& parentDevice;
std::shared_ptr<DeviceAttachmentSpec> deviceAttachmentSpec;
};
} // namespace device
} // namespace smo
#endif // DEVICEROLE_H