Safir SDK Core
|
Contains paramaters for all nodes in the system. More...
#include </home/lars/safir-sdk-core/src/safir_dou/gen/cpp/include/Safir/Dob/NodeParameters.h>
Public Member Functions | |
NodeParameters () | |
virtual Safir::Dob::Typesystem::ObjectPtr | Clone () const |
Create a copy of the object. More... | |
virtual Safir::Dob::Typesystem::TypeId | GetTypeId () const |
Get the type id of this object. More... | |
virtual bool | IsChanged () |
Check if any member of this object is changed. More... | |
virtual void | SetChanged (const bool changed) |
Recursively set change flags in all members of this object. More... | |
virtual Safir::Dob::Typesystem::ContainerBase & | GetMember (const Safir::Dob::Typesystem::MemberIndex member, const Safir::Dob::Typesystem::ArrayIndex index) |
Get a reference to a member container from an object. More... | |
virtual const Safir::Dob::Typesystem::ContainerBase & | GetMember (const Safir::Dob::Typesystem::MemberIndex member, const Safir::Dob::Typesystem::ArrayIndex index) const |
Get a const reference to a member container from an object. More... | |
virtual void | WriteToBlob (Safir::Dob::Typesystem::Int64 handle) const |
Write the object to a blob. More... | |
NodeParameters (Safir::Dob::Typesystem::Int64 handle) | |
Public Member Functions inherited from Safir::Dob::Parametrization | |
Parametrization () | |
Parametrization (Safir::Dob::Typesystem::Int64 handle) | |
Public Member Functions inherited from Safir::Dob::Typesystem::Object | |
Object () | |
Default constructor. More... | |
virtual | ~Object () |
Virtual destructor. More... | |
Object (Safir::Dob::Typesystem::Int64 handle) | |
Create an Object from a blob. More... | |
Static Public Member Functions | |
static NodeParametersPtr | Create () |
static Safir::Dob::Typesystem::InstanceId | SystemId () |
Specifies the Id of the System/System installation. More... | |
static Safir::Dob::Typesystem::Int32 | SharedMemorySize () |
Specifies the amount of shared memory to allocate for the Dob distribution (in megabytes) More... | |
static Safir::Dob::Typesystem::Int32 | MaxNumberOfConnections () |
This controls how many connections the local Dob instance can handle. More... | |
static Safir::Dob::Typesystem::Int32 | MaxNodeNameLength () |
Maximum string length of a node name and node type name. More... | |
static bool | TerminateDoseMainWhenUnrecoverableError () |
Determines if an unrecoverable error, typically an abondoned locked shared memory lock, causes a termination of dose_main. More... | |
static Safir::Dob::Typesystem::Int32 | DoseMainThreadWatchdogTimeout () |
Min time (seconds) before an apparently hanging dose_main thread causes a termination of the dose_main program. More... | |
static Safir::Dob::Typesystem::Int32 | NumberOfContexts () |
The number of contexts in the system. More... | |
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. More... | |
static std::wstring | IncarnationBlacklistFilename () |
Full filename where the system stores the incarnation blacklist. More... | |
static Safir::Dob::Typesystem::ArrayIndex | NodeTypesArraySize () |
static Safir::Dob::NodeTypePtr | NodeTypes (const Safir::Dob::Typesystem::ArrayIndex index) |
Defines the different node types in the system. More... | |
Static Public Member Functions inherited from Safir::Dob::Parametrization | |
static ParametrizationPtr | Create () |
Static Public Member Functions inherited from Safir::Dob::Typesystem::Object | |
static Dob::Typesystem::ObjectPtr | Create () |
Creates a new Object. More... | |
Static Public Attributes | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = -4532363161627336967LL |
Type id for NodeParameters. More... | |
Static Public Attributes inherited from Safir::Dob::Parametrization | |
static const Safir::Dob::Typesystem::TypeId | ClassTypeId = 8075666004421608370LL |
Type id for Parametrization. More... | |
Static Public Attributes inherited from Safir::Dob::Typesystem::Object | |
static const Dob::Typesystem::TypeId | ClassTypeId = 5955188366590963785LL |
The TypeId of the Object class. More... | |
Contains paramaters for all nodes in the system.
Safir::Dob::NodeParameters::NodeParameters | ( | ) |
|
explicit |
|
virtual |
Create a copy of the object.
Will create a copy of the object on the heap and return a smart pointer to it. Use boost::static_pointer_cast or boost::dynamic_pointer_cast to cast it to the pointer type that you're after.
Reimplemented from Safir::Dob::Parametrization.
|
static |
|
static |
Min time (seconds) before an apparently hanging dose_main thread causes a termination of the dose_main program.
|
virtual |
Get a reference to a member container from an object.
Use the methods in Members to get member indices and array sizes for use with this method.
Note: Do not use this method unless you're very sure it is the one you need!
member | [in] - The index of the member to get. |
index | [in] - The array index of the member to get. |
IllegalValueException | If the index is not in the range of the array. |
SoftwareViolationException | If the element is not an array and the index is not 0. |
Reimplemented from Safir::Dob::Parametrization.
|
virtual |
Get a const reference to a member container from an object.
Use the methods in Members to get member indices and array sizes for use with this method.
Note: Do not use this method unless you're very sure it is the one you need!
member | [in] - The index of the member to get. |
index | [in] - The array index of the member to get. |
IllegalValueException | If the index is not in the range of the array. |
SoftwareViolationException | If the element is not an array and the index is not 0. |
Reimplemented from Safir::Dob::Parametrization.
|
virtual |
Get the type id of this object.
Gets the type id of the object. Method is virtual to ensure that the right value gets returned for pointers or references.
Reimplemented from Safir::Dob::Parametrization.
|
static |
Full filename where the system stores the incarnation blacklist.
Use forward slashes as directory separator!
|
virtual |
Check if any member of this object is changed.
This method will recursively check if any member of the object has its change flag set.
Reimplemented from Safir::Dob::Parametrization.
|
static |
Specifies for every context wether or not it is a local context.
The array length must correspond to the NumberOfContexts parameter above.
|
static |
|
static |
Maximum string length of a node name and node type name.
|
static |
This controls how many connections the local Dob instance can handle.
|
static |
Defines the different node types in the system.
|
static |
|
static |
The number of contexts in the system.
(The context numbering starts from 0.)
|
virtual |
Recursively set change flags in all members of this object.
changed | [in] - The value to set the change flags to |
Reimplemented from Safir::Dob::Parametrization.
|
static |
Specifies the amount of shared memory to allocate for the Dob distribution (in megabytes)
|
static |
Specifies the Id of the System/System installation.
|
static |
Determines if an unrecoverable error, typically an abondoned locked shared memory lock, causes a termination of dose_main.
Consider setting this parameter to false when running dose_main under a debugger
|
virtual |
Write the object to a blob.
handle | [in] - Handle to a blobWriter that is the destination of the serialized object. |
Reimplemented from Safir::Dob::Parametrization.
|
static |
Type id for NodeParameters.