lintel 0.2.0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
PropertyService.h File Reference
#include <functional>
#include <map>
#include <optional>
#include <ostream>
#include <vector>
#include "lintel/core/models/ProcessName.h"
#include "lintel/core/models/Property.h"
#include "lintel/core/models/PropertyRepositoryType.h"
#include "lintel/core/services/AbstractService.h"
#include "lintel/core/services/LoggerService.h"
#include "lintel/core/services/PersistableBean.h"
#include "lintel/features/base/events/EventBus.h"
#include "lintel/features/property/events/PropertyChange.h"
#include "lintel/features/property/exceptions/PropertyNoRuntimeChangeSupported.h"
#include "lintel/features/property/exceptions/PropertyNotFoundException.h"
#include "lintel/features/property/repositories/PropertyRepository.h"

Go to the source code of this file.

Classes

class  lintel::PropertyService
 

Namespaces

namespace  lintel
 

Macros

#define DEFINE_PROPERTY(name, type, defaultValue, description, runtime)
 
#define LOAD_PROPERTIES()    if (propertyService != nullptr) { propertyService->getOrCreate(m_properties); }
 

Macro Definition Documentation

◆ DEFINE_PROPERTY

#define DEFINE_PROPERTY (   name,
  type,
  defaultValue,
  description,
  runtime 
)
Value:
std::shared_ptr<lintel::Property<type>> name = \
registerProperty<type>(std::string(#name), defaultValue, description, runtime, __FILE__, __LINE__)

◆ LOAD_PROPERTIES

#define LOAD_PROPERTIES ( )     if (propertyService != nullptr) { propertyService->getOrCreate(m_properties); }