AudioManager  7.5.11
Native Application Runtime Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CAmDatabaseHandlerMap.cpp File Reference

SPDX license identifier: MPL-2.0. More...

#include <iostream>
#include <cassert>
#include <stdexcept>
#include <vector>
#include <fstream>
#include <sstream>
#include <string>
#include <limits>
#include "CAmDatabaseHandlerMap.h"
#include "CAmDatabaseObserver.h"
#include "CAmRouter.h"
#include "CAmDltWrapper.h"

Go to the source code of this file.

Namespaces

 am
 A Common-API wrapper class, which loads the common-api runtime and instantiates all necessary objects.
 

Macros

#define DB_COND_UPDATE_RIE(x, y)   x = y
 
#define DB_COND_UPDATE_INIT
 
#define DB_COND_UPDATE(x, y)   x = y
 
#define DB_COND_ISMODIFIED   (true)
 

Functions

template<typename T >
bool am::isDataEqual (const T &left, const T &right)
 
template<typename T , typename L = std::vector<T>>
bool am::isDataEqual (const L &left, const L &right)
 
template<typename TMapKeyType , class TMapObjectType >
TMapObjectType const * am::objectForKeyIfExistsInMap (const TMapKeyType &key, const std::unordered_map< TMapKeyType, TMapObjectType > &map)
 
template<typename TMapKeyType , class TMapObjectType >
bool am::existsObjectWithKeyInMap (const TMapKeyType &key, const std::unordered_map< TMapKeyType, TMapObjectType > &map)
 
template<class TReturn , typename TIdentifier >
const TReturn * am::objectMatchingPredicate (const std::unordered_map< TIdentifier, TReturn > &map, std::function< bool(const TReturn &refObject)> comparator)
 Returns an object matching predicate. More...
 
bool am::changeMainNotificationConfiguration (std::vector< am_NotificationConfiguration_s > &listMainNotificationConfigurations, const am_NotificationConfiguration_s &mainNotificationConfiguration)
 
bool am::changeNotificationConfiguration (std::vector< am_NotificationConfiguration_s > &listNotificationConfigurations, const am_NotificationConfiguration_s &notificationConfiguration)
 

Detailed Description

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.

Author
Aleksandar Donchev, aleks.nosp@m.ande.nosp@m.r.don.nosp@m.chev.nosp@m.@part.nosp@m.ner..nosp@m.bmw.d.nosp@m.e BMW 2013

For further information see http://www.genivi.org/.

Definition in file CAmDatabaseHandlerMap.cpp.

Macro Definition Documentation

#define DB_COND_ISMODIFIED   (true)

Definition at line 53 of file CAmDatabaseHandlerMap.cpp.

#define DB_COND_UPDATE (   x,
 
)    x = y

Definition at line 51 of file CAmDatabaseHandlerMap.cpp.

#define DB_COND_UPDATE_INIT

Definition at line 50 of file CAmDatabaseHandlerMap.cpp.

#define DB_COND_UPDATE_RIE (   x,
 
)    x = y

Definition at line 48 of file CAmDatabaseHandlerMap.cpp.