-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathI2CDevice.h
More file actions
37 lines (26 loc) · 834 Bytes
/
I2CDevice.h
File metadata and controls
37 lines (26 loc) · 834 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 I2CDEVICE_H
#define I2CDEVICE_H
#include <CDPSystem/Base/CDPBaseObject.h>
#include <StudioAPI/CDPNode.h>
#include <IO/ServerIO/ChannelManager.h>
class I2CAdapter;
class I2CDevice : public CDP::StudioAPI::CDPNode
{
public:
I2CDevice();
virtual ~I2CDevice();
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:
I2CDevice(const I2CDevice& rhs) = delete;
const I2CDevice& operator= (const I2CDevice& rhs) = delete;
class Private;
std::unique_ptr<Private> d;
};
#endif