MCPcopy Create free account
hub / github.com/CasparCG/client / DeviceModel

Method DeviceModel

src/Core/Models/DeviceModel.cpp:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "DeviceModel.h"
2
3DeviceModel::DeviceModel(int id, const QString& name, const QString& address, int port, const QString& username,
4 const QString& password, const QString& description, const QString& version, const QString& shadow,
5 int channels, const QString& channelFormats, int previewChannel, int lockedChannel)
6 : id(id), port(port), name(name), address(address), username(username), password(password), description(description),
7 version(version), shadow(shadow), channels(channels), channelFormats(channelFormats), previewChannel(previewChannel), lockedChannel(lockedChannel)
8{
9}
10
11int DeviceModel::getId() const
12{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected