Home | History | Annotate | Download | only in service

Lines Matching refs:Daemon

31 // The Daemon class is a singleton that represents the root of the ownership
34 class Daemon {
36 // Initializes the daemon. This must be called to at the start of the
37 // application to set up the global daemon instance and everything it manages.
41 // Cleans up all the resources associated with the global Daemon object.
44 // Assigns the global Daemon instance for testing. Should only be called from
46 static void InitializeForTesting(Daemon* test_daemon);
48 // Returns the singleton Daemon instance. All classes can interact with the
49 // Daemon, obtain its resources etc using this getter.
50 static Daemon* Get();
53 // the Daemon object.
57 // that should be executed on the daemon's main thread.
60 // Starts the daemon's main loop.
64 Daemon() = default;
65 virtual ~Daemon() = default;
71 DISALLOW_COPY_AND_ASSIGN(Daemon);