Searched hist:"9462 e0667fdc6bf32b265fc393e057c1b67d9cbe" (Results 1 – 4 of 4) sorted by relevance
/openbmc/phosphor-power/test/ |
H A D | file_descriptor_tests.cpp | 9462e0667fdc6bf32b265fc393e057c1b67d9cbe Tue Sep 15 14:39:17 CDT 2020 Shawn McCarney <shawnmm@us.ibm.com> FileDescriptor: Add move and close methods
Made the following enhancements to the FileDescriptor class: * Moved header file from file.hpp to file_descriptor.hpp to match naming convention used in other files. * Added move constructor and move assignment operator so FileDescriptor objects can be put in containers like std::vector. * Added close() method so users of class can optionally close the descriptor explicitly and check the return code for errors. If not explicitly closed, the descriptor will still be closed by the destructor which ignores errors. * Added automated tests * Added doxygen comments
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I1e05bbb232443ed1a79728768aaaa1efac8707ec
|
H A D | meson.build | diff 9462e0667fdc6bf32b265fc393e057c1b67d9cbe Tue Sep 15 14:39:17 CDT 2020 Shawn McCarney <shawnmm@us.ibm.com> FileDescriptor: Add move and close methods
Made the following enhancements to the FileDescriptor class: * Moved header file from file.hpp to file_descriptor.hpp to match naming convention used in other files. * Added move constructor and move assignment operator so FileDescriptor objects can be put in containers like std::vector. * Added close() method so users of class can optionally close the descriptor explicitly and check the return code for errors. If not explicitly closed, the descriptor will still be closed by the destructor which ignores errors. * Added automated tests * Added doxygen comments
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I1e05bbb232443ed1a79728768aaaa1efac8707ec
|
/openbmc/phosphor-power/ |
H A D | file_descriptor.hpp | 9462e0667fdc6bf32b265fc393e057c1b67d9cbe Tue Sep 15 14:39:17 CDT 2020 Shawn McCarney <shawnmm@us.ibm.com> FileDescriptor: Add move and close methods
Made the following enhancements to the FileDescriptor class: * Moved header file from file.hpp to file_descriptor.hpp to match naming convention used in other files. * Added move constructor and move assignment operator so FileDescriptor objects can be put in containers like std::vector. * Added close() method so users of class can optionally close the descriptor explicitly and check the return code for errors. If not explicitly closed, the descriptor will still be closed by the destructor which ignores errors. * Added automated tests * Added doxygen comments
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I1e05bbb232443ed1a79728768aaaa1efac8707ec
|
H A D | gpio.hpp | diff 9462e0667fdc6bf32b265fc393e057c1b67d9cbe Tue Sep 15 14:39:17 CDT 2020 Shawn McCarney <shawnmm@us.ibm.com> FileDescriptor: Add move and close methods
Made the following enhancements to the FileDescriptor class: * Moved header file from file.hpp to file_descriptor.hpp to match naming convention used in other files. * Added move constructor and move assignment operator so FileDescriptor objects can be put in containers like std::vector. * Added close() method so users of class can optionally close the descriptor explicitly and check the return code for errors. If not explicitly closed, the descriptor will still be closed by the destructor which ignores errors. * Added automated tests * Added doxygen comments
Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com> Change-Id: I1e05bbb232443ed1a79728768aaaa1efac8707ec
|