Example of c++ class + access control + handle classes