Safir SDK Core
Loading...
Searching...
No Matches
Safir::Application::TracerStatus Class Reference

Status of an application debug tracer. More...

#include </home/lars/safir/safir-sdk-core/src/safir_dou/gen/cpp/include/Safir/Application/TracerStatus.h>

Inheritance diagram for Safir::Application::TracerStatus:
[legend]
Collaboration diagram for Safir::Application::TracerStatus:
[legend]

Public Member Functions

 TracerStatus ()
 
Safir::Dob::Typesystem::ObjectPtr Clone () const override
 Create a copy of the object.
 
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainerProgramName () const
 Name of the program that is using the tracer.
 
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainerProgramName ()
 
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainerNodeName () const
 Name of the node on which the tracing program is running.
 
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainerNodeName ()
 
const Safir::Dob::Typesystem::DictionaryContainer< std::wstring, Safir::Dob::Typesystem::BooleanContainer > & Prefixes () const
 
Safir::Dob::Typesystem::DictionaryContainer< std::wstring, Safir::Dob::Typesystem::BooleanContainer > & Prefixes ()
 
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainerLogToStdout () const
 Should the tracer log to standard output?
 
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainerLogToStdout ()
 
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainerLogToSafirLogging () const
 Should the tracer log to Safir.Logging, i.e.
 
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainerLogToSafirLogging ()
 
const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainerLogToTracer () const
 Should the tracer log to the Tracer UDP protocol?
 
Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainerLogToTracer ()
 
Safir::Dob::Typesystem::TypeId GetTypeId () const override
 Get the type id of this object.
 
bool IsChanged () override
 Check if any member of this object is changed.
 
void SetChanged (const bool changed) override
 Recursively set change flags in all members of this object.
 
Safir::Dob::Typesystem::ContainerBaseGetMember (const Safir::Dob::Typesystem::MemberIndex member, const Safir::Dob::Typesystem::ArrayIndex index) override
 Get a reference to a member container from an object.
 
const Safir::Dob::Typesystem::ContainerBaseGetMember (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.
 
 TracerStatus (Safir::Dob::Typesystem::Int64 handle)
 
- Public Member Functions inherited from Safir::Dob::Entity
 Entity ()
 
 Entity (Safir::Dob::Typesystem::Int64 handle)
 
- Public Member Functions inherited from Safir::Dob::Typesystem::Object
 Object ()
 Default constructor.
 
virtual ~Object ()
 Virtual destructor.
 
 Object (Safir::Dob::Typesystem::Int64 handle)
 Create an Object from a blob.
 

Static Public Member Functions

static TracerStatusPtr Create ()
 
static Safir::Dob::Typesystem::MemberIndex ProgramNameMemberIndex ()
 
static Safir::Dob::Typesystem::Int32 ProgramNameMaxStringLength ()
 
static Safir::Dob::Typesystem::MemberIndex NodeNameMemberIndex ()
 
static Safir::Dob::Typesystem::Int32 NodeNameMaxStringLength ()
 
static Safir::Dob::Typesystem::MemberIndex PrefixesMemberIndex ()
 
static Safir::Dob::Typesystem::MemberIndex LogToStdoutMemberIndex ()
 
static Safir::Dob::Typesystem::MemberIndex LogToSafirLoggingMemberIndex ()
 
static Safir::Dob::Typesystem::MemberIndex LogToTracerMemberIndex ()
 
- Static Public Member Functions inherited from Safir::Dob::Entity
static EntityPtr Create ()
 
- Static Public Member Functions inherited from Safir::Dob::Typesystem::Object
static Dob::Typesystem::ObjectPtr Create ()
 Creates a new Object.
 

Static Public Attributes

static const Safir::Dob::Typesystem::TypeId ClassTypeId = 600445804305245387LL
 Type id for TracerStatus.
 
- Static Public Attributes inherited from Safir::Dob::Entity
static const Safir::Dob::Typesystem::TypeId ClassTypeId = -2411771300820206595LL
 Type id for Entity.
 
- Static Public Attributes inherited from Safir::Dob::Typesystem::Object
static const Dob::Typesystem::TypeId ClassTypeId = 5955188366590963785LL
 The TypeId of the Object class.
 

Detailed Description

Status of an application debug tracer.

Constructor & Destructor Documentation

◆ TracerStatus() [1/2]

Safir::Application::TracerStatus::TracerStatus ( )

◆ TracerStatus() [2/2]

Safir::Application::TracerStatus::TracerStatus ( Safir::Dob::Typesystem::Int64 handle)
explicit

Member Function Documentation

◆ Clone()

Safir::Dob::Typesystem::ObjectPtr Safir::Application::TracerStatus::Clone ( ) const
overridevirtual

Create a copy of the object.

Will create a copy of the object on the heap and return a smart pointer to it. Use std::static_pointer_cast or std::dynamic_pointer_cast to cast it to the pointer type that you're after.

Returns
A smart pointer to the copy of the object.

Reimplemented from Safir::Dob::Entity.

◆ Create()

static TracerStatusPtr Safir::Application::TracerStatus::Create ( )
static

◆ GetMember() [1/2]

const Safir::Dob::Typesystem::ContainerBase & Safir::Application::TracerStatus::GetMember ( const Safir::Dob::Typesystem::MemberIndex member,
const Safir::Dob::Typesystem::ArrayIndex index ) const
overridevirtual

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!

Parameters
member[in] - The index of the member to get.
index[in] - The array index of the member to get.
Returns
A const reference to the member container.
Exceptions
IllegalValueExceptionIf the index is not in the range of the array.
SoftwareViolationExceptionIf the element is not an array and the index is not 0.

Reimplemented from Safir::Dob::Entity.

◆ GetMember() [2/2]

Safir::Dob::Typesystem::ContainerBase & Safir::Application::TracerStatus::GetMember ( const Safir::Dob::Typesystem::MemberIndex member,
const Safir::Dob::Typesystem::ArrayIndex index )
overridevirtual

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!

Parameters
member[in] - The index of the member to get.
index[in] - The array index of the member to get.
Returns
A reference to the member container.
Exceptions
IllegalValueExceptionIf the index is not in the range of the array.
SoftwareViolationExceptionIf the element is not an array and the index is not 0.

Reimplemented from Safir::Dob::Entity.

◆ GetTypeId()

Safir::Dob::Typesystem::TypeId Safir::Application::TracerStatus::GetTypeId ( ) const
overridevirtual

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.

Note
this method is overridden by all auto-generated classes.
Returns
The TypeId of the object.

Reimplemented from Safir::Dob::Entity.

References ClassTypeId.

◆ IsChanged()

bool Safir::Application::TracerStatus::IsChanged ( )
overridevirtual

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.

Note
this method is overridden by all auto-generated classes.
Returns
True if any member has changed.

Reimplemented from Safir::Dob::Entity.

◆ LogToSafirLogging() [1/2]

Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainer > Safir::Application::TracerStatus::LogToSafirLogging ( )

◆ LogToSafirLogging() [2/2]

const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainer > Safir::Application::TracerStatus::LogToSafirLogging ( ) const

Should the tracer log to Safir.Logging, i.e.

syslog?

◆ LogToSafirLoggingMemberIndex()

static Safir::Dob::Typesystem::MemberIndex Safir::Application::TracerStatus::LogToSafirLoggingMemberIndex ( )
static

◆ LogToStdout() [1/2]

Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainer > Safir::Application::TracerStatus::LogToStdout ( )

◆ LogToStdout() [2/2]

const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainer > Safir::Application::TracerStatus::LogToStdout ( ) const

Should the tracer log to standard output?

◆ LogToStdoutMemberIndex()

static Safir::Dob::Typesystem::MemberIndex Safir::Application::TracerStatus::LogToStdoutMemberIndex ( )
static

◆ LogToTracer() [1/2]

Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainer > Safir::Application::TracerStatus::LogToTracer ( )

◆ LogToTracer() [2/2]

const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::BooleanContainer > Safir::Application::TracerStatus::LogToTracer ( ) const

Should the tracer log to the Tracer UDP protocol?

◆ LogToTracerMemberIndex()

static Safir::Dob::Typesystem::MemberIndex Safir::Application::TracerStatus::LogToTracerMemberIndex ( )
static

◆ NodeName() [1/2]

Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Application::TracerStatus::NodeName ( )

◆ NodeName() [2/2]

const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Application::TracerStatus::NodeName ( ) const

Name of the node on which the tracing program is running.

As defined per ThisNodeParameters.

◆ NodeNameMaxStringLength()

static Safir::Dob::Typesystem::Int32 Safir::Application::TracerStatus::NodeNameMaxStringLength ( )
static

◆ NodeNameMemberIndex()

static Safir::Dob::Typesystem::MemberIndex Safir::Application::TracerStatus::NodeNameMemberIndex ( )
static

◆ Prefixes() [1/2]

Safir::Dob::Typesystem::DictionaryContainer< std::wstring, Safir::Dob::Typesystem::BooleanContainer > & Safir::Application::TracerStatus::Prefixes ( )

◆ Prefixes() [2/2]

const Safir::Dob::Typesystem::DictionaryContainer< std::wstring, Safir::Dob::Typesystem::BooleanContainer > & Safir::Application::TracerStatus::Prefixes ( ) const

◆ PrefixesMemberIndex()

static Safir::Dob::Typesystem::MemberIndex Safir::Application::TracerStatus::PrefixesMemberIndex ( )
static

◆ ProgramName() [1/2]

Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Application::TracerStatus::ProgramName ( )

◆ ProgramName() [2/2]

const Safir::Dob::Typesystem::ContainerProxy< Safir::Dob::Typesystem::StringContainer > Safir::Application::TracerStatus::ProgramName ( ) const

Name of the program that is using the tracer.

Most likely the name of the executable.

◆ ProgramNameMaxStringLength()

static Safir::Dob::Typesystem::Int32 Safir::Application::TracerStatus::ProgramNameMaxStringLength ( )
static

◆ ProgramNameMemberIndex()

static Safir::Dob::Typesystem::MemberIndex Safir::Application::TracerStatus::ProgramNameMemberIndex ( )
static

◆ SetChanged()

void Safir::Application::TracerStatus::SetChanged ( const bool changed)
overridevirtual

Recursively set change flags in all members of this object.

Note
this method is overridden by all auto-generated classes.
Parameters
changed[in] - The value to set the change flags to

Reimplemented from Safir::Dob::Entity.

◆ WriteToBlob()

void Safir::Application::TracerStatus::WriteToBlob ( Safir::Dob::Typesystem::Int64 handle) const
overridevirtual

Write the object to a blob.

Parameters
handle[in] - Handle to a blobWriter that is the destination of the serialized object.

Reimplemented from Safir::Dob::Entity.

Member Data Documentation

◆ ClassTypeId

const Safir::Dob::Typesystem::TypeId Safir::Application::TracerStatus::ClassTypeId = 600445804305245387LL
static

Type id for TracerStatus.

Referenced by GetTypeId().