Hardware access by C++ user space application

Dear community,
I’m new on toradex products and would like to use Colibri iMX6 module for a new hardware design.

I would like to develop a C++ application to implement serial and ethernet communication and I need to access to the I2C bus and GPIO as well.

Are any example provided for C++ application?

Thank you in advance

We at Toradex do not really have any such example C++ application but for serial aka UART you may use libserial, for Ethernet some socket classes e.g. ClientSocket and ServerSocket, for I2C e.g. this and for GPIO e.g. that.

Thank you.

David