-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathI2CDeviceChannelGroup.h
More file actions
37 lines (26 loc) · 964 Bytes
/
I2CDeviceChannelGroup.h
File metadata and controls
37 lines (26 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* (c)2017 CDP Technologies AS
*/
#ifndef I2CDEVICECHANNELGROUP_H
#define I2CDEVICECHANNELGROUP_H
#include <IO/ServerIO/ChannelManager.h>
#include <StudioAPI/CDPNode.h>
#include <CDPSystem/Base/CDPBaseObject.h>
class I2CAdapter;
class I2CDeviceChannelGroup : public CDP::StudioAPI::CDPNode
{
public:
I2CDeviceChannelGroup(std::string deviceName);
virtual ~I2CDeviceChannelGroup();
void Configure(XMLElementEx* element, CDPComponent* owner, ServerIO::ChannelManager* channelManager);
void Process(I2CAdapter& adapter);
virtual const std::string GetNodeName() const override;
virtual std::string GetNodeTypeName() const override;
virtual void FillNodeChildren(CDP::StudioAPI::NodeStream &serializer) const override;
private:
I2CDeviceChannelGroup(const I2CDeviceChannelGroup& rhs) = delete;
const I2CDeviceChannelGroup& operator= (const I2CDeviceChannelGroup& rhs) = delete;
class Private;
std::unique_ptr<Private> d;
};
#endif