|
34 | 34 |
|
35 | 35 | 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. |
36 | 36 |
|
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) | | |
65 | 65 |
|
66 | 66 |
|
67 | 67 |
|
|
0 commit comments