File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -33,22 +33,23 @@ namespace Aris
33
33
template <typename STANDARD_LAYOUT_STRUCT>
34
34
class PIPE :private PIPE_BASE
35
35
{
36
- PIPE (int port, bool isBlock):PIPE_BASE(port,isBlock){};
36
+ public:
37
+ PIPE (int port, bool isBlock) :PIPE_BASE(port, isBlock) {};
37
38
int SendToRT (const STANDARD_LAYOUT_STRUCT &data)
38
39
{
39
- return SendToRT_RawData (static_cast <const void *>(&data),sizeof (data));
40
+ return SendToRT_RawData (static_cast <const void *>(&data), sizeof (data));
40
41
};
41
42
int SendToNRT (const STANDARD_LAYOUT_STRUCT &data)
42
43
{
43
- return SendToNRT_RawData (static_cast <const void *>(&data),sizeof (data));
44
+ return SendToNRT_RawData (static_cast <const void *>(&data), sizeof (data));
44
45
};
45
46
int RecvInRT (STANDARD_LAYOUT_STRUCT &data)
46
47
{
47
- return RecvInRT_RawData (static_cast <void *>(&data),sizeof (data));
48
+ return RecvInRT_RawData (static_cast <void *>(&data), sizeof (data));
48
49
};
49
50
int RecvInNRT (STANDARD_LAYOUT_STRUCT &data)
50
51
{
51
- return RecvInNRT_RawData (static_cast <void *>(&data),sizeof (data));
52
+ return RecvInNRT_RawData (static_cast <void *>(&data), sizeof (data));
52
53
};
53
54
};
54
55
You can’t perform that action at this time.
0 commit comments