Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
setting.h File Reference
#include <functional>
#include <map>
#include <sstream>
#include <string>
#include "base/macros.h"
#include "ion/base/serialize.h"
#include "ion/base/shareable.h"
#include "ion/base/sharedptr.h"
#include "ion/base/stringutils.h"
#include "ion/port/atomic.h"
#include "ion/port/environment.h"
Include dependency graph for setting.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ion::base::SettingBase
 Base class for Setting, which encapsulates the name of the setting and any functors that should be called via NotifyListeners(). More...
 
struct  ion::base::SettingBase::ListenerInfo
 
class  ion::base::SettingGroup
 A SettingGroup is a convenience class to hold Settings that are in the same hierarchical group. More...
 
class  ion::base::Setting< T >
 Forward references. More...
 
class  ion::base::Setting< T >
 Forward references. More...
 
class  ion::base::Setting< std::atomic< T > >
 Specialize for std::atomic types. More...
 
class  ion::base::EnvironmentSetting< T >
 An EnvironmentSetting is a Setting can take its initial value from the named system environment variable passed to its constructor. More...
 
class  ion::base::ScopedSettingValue< T >
 Sets a Setting<T> to a new value. More...
 

Namespaces

 ion
 Copyright 2016 Google Inc.
 
 ion::base
 EnumHelper instantiations. These must be in the ion::base namespace.
 

Functions

template<typename SettingType >
void ion::base::SetTypeDescriptorForType (SettingType *setting)
 Sets the type descriptor string of a setting based on its type. More...
 
template<>
void ion::base::SetTypeDescriptorForType (Setting< bool > *setting)
 Boolean settings set the descriptor to "bool". More...
 
template<>
void ion::base::SetTypeDescriptorForType (Setting< std::atomic< bool > > *setting)