diff options
author | GENIVI Audio Manager Maintainer <genivi-maint-audiomanager@smtp1.genivi.org> | 2017-03-07 10:44:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-07 10:44:54 +0100 |
commit | 71eab93f9cd67b2e0343700552adf988c420f174 (patch) | |
tree | 9f08492872ce7de767f66535178bd0575b72a5b7 /AudioManagerCore/test/AmMapHandlerTest/CAmTestDatabaseObserver.h | |
parent | 41b1249b1fc3b211dd56333bdc01f7eb8977f674 (diff) | |
parent | ff7a091bd6500413853f381d14be55de2e3affa3 (diff) | |
download | audiomanager-71eab93f9cd67b2e0343700552adf988c420f174.tar.gz |
Merge pull request #14 from GENIVI/Router_adaptions
after phoneconference merged
Diffstat (limited to 'AudioManagerCore/test/AmMapHandlerTest/CAmTestDatabaseObserver.h')
-rw-r--r-- | AudioManagerCore/test/AmMapHandlerTest/CAmTestDatabaseObserver.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/AudioManagerCore/test/AmMapHandlerTest/CAmTestDatabaseObserver.h b/AudioManagerCore/test/AmMapHandlerTest/CAmTestDatabaseObserver.h new file mode 100644 index 0000000..12ba32e --- /dev/null +++ b/AudioManagerCore/test/AmMapHandlerTest/CAmTestDatabaseObserver.h @@ -0,0 +1,53 @@ +/** + * SPDX license identifier: MPL-2.0 + * + * Copyright (C) 2012, BMW AG + * + * This file is part of GENIVI Project AudioManager. + * + * Contributions are licensed to the GENIVI Alliance under one or more + * Contribution License Agreements. + * + * \copyright + * This Source Code Form is subject to the terms of the + * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with + * this file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * + * \author Christian Linke, christian.linke@bmw.de BMW 2011,2012 + * + * \file CAmDatabaseObserver.h + * For further information see http://www.genivi.org/. + * + */ + +#ifndef DATABASEOBSERVER_H_ +#define DATABASEOBSERVER_H_ + +#include "audiomanagertypes.h" +#include <queue> +#include <vector> +#include <functional> +#include "CAmDatabaseHandlerMap.h" + + +namespace am +{ + + +/** + * This class observes the Database and notifies other classes about important events, mainly the CommandSender. + */ + +class CAmDatabaseObserver: public CAmDatabaseHandlerMap::AmDatabaseObserverCallbacks +{ +public: + explicit CAmDatabaseObserver(); + ~CAmDatabaseObserver(); + +private: +}; + +} + +#endif /* DATABASEOBSERVER_H_ */ |