Skip to content

Commit 89de530

Browse files
authored
Update README.md
1 parent b5bfa69 commit 89de530

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -34,34 +34,34 @@
3434

3535
In this context, ***Providers*** are functions that provide data to the library for transferring to the target *DDS.Net Server* for onward sharing with corresponding consumers; and ***Consumers*** are functions that consume delivered data from connected *DDS.Net Server* through the library. Function signatures and their corresponding library registration functions are enlisted here.
3636

37-
| Data type | Provider / consumer function signature | Registration function in dds::net::connector::DdsConnector |
38-
|-------------------|-----------------------------------------------------|----------------------------------------------------------------|
39-
| *String* | | |
40-
| | | |
41-
| *Boolean* | | |
42-
| | | |
43-
| *Byte* | | |
44-
| | | |
45-
| *Word* | | |
46-
| | | |
47-
| *DWord* | | |
48-
| | | |
49-
| *QWord* | | |
50-
| | | |
51-
| *Unsigned Byte* | | |
52-
| | | |
53-
| *Unsigned Word* | | |
54-
| | | |
55-
| *Unsigned DWord* | | |
56-
| | | |
57-
| *Unsigned QWord* | | |
58-
| | | |
59-
| *Single* | | |
60-
| | | |
61-
| *Double* | | |
62-
| | | |
63-
| *Raw Bytes* | | |
64-
| | | |
37+
| Data type | Provider / consumer function signature | Registration function in dds::net::connector::DdsConnector |
38+
|-------------------|-----------------------------------------------------------------------------|----------------------------------------------------------------|
39+
| *String* | std::string (\*provider)(std::string& varName) | |
40+
| | void (\*consumer)(std::string& varName, std::string& value) | |
41+
| *Boolean* | bool (\*provider)(std::string& varName) | |
42+
| | void (\*consumer)(std::string& varName, bool value) | |
43+
| *Byte* | char (\*provider)(std::string& varName) | |
44+
| | void (\*consumer)(std::string& varName, char value) | |
45+
| *Word* | short (\*provider)(std::string& varName) | |
46+
| | void (\*consumer)(std::string& varName, short value) | |
47+
| *DWord* | long (\*provider)(std::string& varName) | |
48+
| | void (\*consumer)(std::string& varName, long value) | |
49+
| *QWord* | long long (\*provider)(std::string& varName) | |
50+
| | void (\*consumer)(std::string& varName, long long value) | |
51+
| *Unsigned Byte* | unsigned char (\*provider)(std::string& varName) | |
52+
| | void (\*consumer)(std::string& varName, unsigned char value) | |
53+
| *Unsigned Word* | unsigned short (\*provider)(std::string& varName) | |
54+
| | void (\*consumer)(std::string& varName, unsigned short value) | |
55+
| *Unsigned DWord* | unsigned long (\*provider)(std::string& varName) | |
56+
| | void (\*consumer)(std::string& varName, unsigned long value) | |
57+
| *Unsigned QWord* | unsigned long long (\*provider)(std::string& varName) | |
58+
| | void (\*consumer)(std::string& varName, unsigned long long value) | |
59+
| *Single* | float (\*provider)(std::string& varName) | |
60+
| | void (\*consumer)(std::string& varName, float value) | |
61+
| *Double* | double (\*provider)(std::string& varName) | |
62+
| | void (\*consumer)(std::string& varName, double value) | |
63+
| *Raw Bytes* | int (\*provider)(std::string& varName, unsigned char\* buff, int size) | |
64+
| | void (\*consumer)(std::string& varName, unsigned char\* buff, int size) | |
6565

6666

6767

0 commit comments

Comments
 (0)