14#include <Safir/Utilities/Internal/VisibilityHelpers.h>
16#ifdef safir_generated_Core_cpp_EXPORTS
17# define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_EXPORT
19# define SAFIR_GENERATED_Core_API SAFIR_HELPER_DLL_IMPORT
20# define SAFIR_LIBRARY_NAME "safir_generated-Core-cpp"
21# include <Safir/Utilities/Internal/AutoLink.h>
23#define SAFIR_GENERATED_Core_API_LOCAL SAFIR_HELPER_DLL_LOCAL
182#pragma warning (push)
183#pragma warning (disable : 4251)
#define SAFIR_GENERATED_Core_API
Definition BackdoorCommand.h:18
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
std::shared_ptr< NodeParameters > NodeParametersPtr
Definition NodeParameters.h:37
std::shared_ptr< NodeType > NodeTypePtr
Definition NodeType.h:36
Safir::Dob::Typesystem::GenericObjectSequenceContainer< NodeParameters > NodeParametersSequenceContainer
Definition NodeParameters.h:42
Safir::Dob::Typesystem::ArrayContainer< NodeParametersContainer > NodeParametersContainerArray
Definition NodeParameters.h:41
Safir::Dob::Typesystem::ObjectContainerImpl< NodeParameters > NodeParametersContainer
Definition NodeParameters.h:40
std::shared_ptr< const NodeParameters > NodeParametersConstPtr
Definition NodeParameters.h:38
DotsC_Int32 Int32
32 bit integer type.
Definition Defs.h:66
DotsC_Int64 Int64
64 bit integer type.
Definition Defs.h:69
DotsC_Float64 Float64
64 bit floating point type.
Definition Defs.h:75
std::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition Object.h:44
DotsC_ArrayIndex ArrayIndex
Index into an array.
Definition Defs.h:246
DotsC_TypeId TypeId
A unique type identifier.
Definition Defs.h:218
DotsC_MemberIndex MemberIndex
The index of a member in an object.
Definition Defs.h:237
Float64 Second
64 bit representation of Second.
Definition Defs.h:197
STL container for arrays of DOB-containers.
Definition ArrayContainer.h:59
Base class for all Containers.
Definition ContainerBase.h:44
Class containing the identity of an instance.
Definition InstanceId.h:49
Template class for all containers of automatically generated DOB objects.
Definition ObjectContainer.h:190
Definition SequenceContainer.h:704
Contains paramaters for all nodes in the system.
Definition NodeParameters.h:49
void SetChanged(const bool changed) override
Recursively set change flags in all members of this object.
const Safir::Dob::Typesystem::ContainerBase & GetMember(const Safir::Dob::Typesystem::MemberIndex member, const Safir::Dob::Typesystem::ArrayIndex index) const override
Get a const reference to a member container from an object.
void WriteToBlob(Safir::Dob::Typesystem::Int64 handle) const override
Write the object to a blob.
static Safir::Dob::Typesystem::Float64 SharedMemoryLevels(const std::wstring &key)
Percentages of the SharedMemorySize to enter the different degradation levels.
static Safir::Dob::Typesystem::Float64 SharedMemoryLevelsValueFromIndex(const Safir::Dob::Typesystem::Int32 index)
static Safir::Dob::Typesystem::Int32 SharedMemoryLevelsDictionarySize()
static Safir::Dob::Typesystem::Si64::Second NewSystemFormationTimeout()
How long to wait at startup to find other nodes before forming a new system.
Safir::Dob::Typesystem::ObjectPtr Clone() const override
Create a copy of the object.
static std::wstring IncarnationBlacklistFilename()
Full filename where the system stores the incarnation blacklist.
static Safir::Dob::Typesystem::Int32 SharedMemorySize()
Specifies the amount of shared memory to allocate for the Dob distribution (in megabytes)
NodeParameters(Safir::Dob::Typesystem::Int64 handle)
Safir::Dob::Typesystem::TypeId GetTypeId() const override
Get the type id of this object.
Definition NodeParameters.h:161
static Safir::Dob::Typesystem::Int32 MaxNumberOfConnections()
This controls how many connections the local Dob instance can handle.
static Safir::Dob::Typesystem::ArrayIndex NodeTypesArraySize()
static Safir::Dob::Typesystem::ArrayIndex LocalContextsArraySize()
static bool LocalContexts(const Safir::Dob::Typesystem::ArrayIndex index)
Specifies for every context wether or not it is a local context.
static Safir::Dob::Typesystem::Int32 DoseMainThreadWatchdogTimeout()
Min time (seconds) before an apparently hanging dose_main thread causes a termination of the dose_mai...
static std::wstring SharedMemoryLevelsKeyFromIndex(const Safir::Dob::Typesystem::Int32 index)
static Safir::Dob::NodeTypePtr NodeTypes(const Safir::Dob::Typesystem::ArrayIndex index)
Defines the different node types in the system.
static Safir::Dob::Typesystem::Int32 NumberOfContexts()
The number of contexts in the system.
static NodeParametersPtr Create()
static Safir::Dob::Typesystem::Int32 FragmentSize()
Network fragment size.
bool IsChanged() override
Check if any member of this object is changed.
static Safir::Dob::Typesystem::Si64::Second LocalInterfaceTimeout()
How long to wait for the local interfaces becoming available before giving up.
static Safir::Dob::Typesystem::InstanceId SystemId()
Specifies the Id of the System/System installation.
Safir::Dob::Typesystem::ContainerBase & GetMember(const Safir::Dob::Typesystem::MemberIndex member, const Safir::Dob::Typesystem::ArrayIndex index) override
Get a reference to a member container from an object.
static bool TerminateDoseMainWhenUnrecoverableError()
Determines if an unrecoverable error, typically an abondoned locked shared memory lock,...
static Safir::Dob::Typesystem::Int32 MaxNodeNameLength()
Maximum string length of a node name and node type name.
This class is intended to be used as baseclass for classes that only contains parameters.
Definition Parametrization.h:46