Closed leducp closed 7 months ago
I find the naming around the mailbox a bit confusing.
We have a namespace mailbox, with then the namespaces request/response. In these namespaces we have the struct mailbox
and the class mailbox
. IMO it would be easier to differentiate them by renaming them explicitly MailboxResponse and MailboxRequest.
There is also the file CoE/Mailbox
, which only contains the class SDOMessage, I would suggest to rename the file SDOMessage
instead of mailbox.
I find the naming around the mailbox a bit confusing.
We have a namespace mailbox, with then the namespaces request/response. In these namespaces we have the
struct mailbox
and theclass mailbox
. IMO it would be easier to differentiate them by renaming them explicitly MailboxResponse and MailboxRequest.There is also the file
CoE/Mailbox
, which only contains the class SDOMessage, I would suggest to rename the fileSDOMessage
instead of mailbox.
I disagree: you almost never use both together and I prefer to use namespace for this purpose (which are designed for that). Note that the old master code needs to be moved in another PR.
I find the naming around the mailbox a bit confusing. We have a namespace mailbox, with then the namespaces request/response. In these namespaces we have the
struct mailbox
and theclass mailbox
. IMO it would be easier to differentiate them by renaming them explicitly MailboxResponse and MailboxRequest. There is also the fileCoE/Mailbox
, which only contains the class SDOMessage, I would suggest to rename the fileSDOMessage
instead of mailbox.I disagree: you almost never use both together and I prefer to use namespace for this purpose (which are designed for that). Note that the old master code needs to be moved in another PR.
So the file Mailbox will be split in two ?
I find the naming around the mailbox a bit confusing. We have a namespace mailbox, with then the namespaces request/response. In these namespaces we have the
struct mailbox
and theclass mailbox
. IMO it would be easier to differentiate them by renaming them explicitly MailboxResponse and MailboxRequest. There is also the fileCoE/Mailbox
, which only contains the class SDOMessage, I would suggest to rename the fileSDOMessage
instead of mailbox.I disagree: you almost never use both together and I prefer to use namespace for this purpose (which are designed for that). Note that the old master code needs to be moved in another PR.
So the file Mailbox will be split in two ?
I would like to split the mailbox in 2xN -> 2 -> request/resposne N -> services (CoE, FoE, EoE, VoE, and so on)
15%
23%
7%
79%
75%
83%
86%
87%
85%
61%
61%
0%
0%
0%
0%
60%
100%
20%
83%
100%
66%
75%
100%
50%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
0%
Minimum allowed coverage is
75%
Generated by :monkey: cobertura-action against 073095d3d457cd169e25e8b4f616929cb8be2b3a