Details

    • Sub-task
    • Resolution: Done
    • Not Evaluated
    • None
    • All Other Issues
    • None

    Description

      Singletons should have only static public methods,
      with the exception of signals and slots.
      The instance() method should only be used for accessing the singleton's signals and slots.

      The one instance for the singleton is defined statically in the .cpp file and assigned in the constructor.

      Constructor and destructor should be private, the class that manages the singleton being a friend.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes