swift
Loading...
Searching...
No Matches
swift::misc::CIdentifiable Class Reference

Base class with a member CIdentifier to be inherited by a class which has an identity in the environment of modular distributed swift processes. More...

#include <identifiable.h>

Inheritance diagram for swift::misc::CIdentifiable:
[legend]

Public Member Functions

const CIdentifier & identifier () const
 Get identifier.
void setIdentifier (const CIdentifier &identifier)
 Set identifier, allows to set an external identifier.
bool isMyIdentifier (const CIdentifier &otherIdentifier) const
 My identifier?

Protected Member Functions

 CIdentifiable (const QString &objectName)
 Use literal based object name.
 CIdentifiable (QObject *nameProvider)
 Connect with QObject providing the name.
 CIdentifiable ()
 Construct without a name.
 ~CIdentifiable ()
 Destructor.
 CIdentifiable (const CIdentifiable &)=default
 Copy constructor.
CIdentifiable & operator= (const CIdentifiable &)=default
 Copy assignment operator.

Detailed Description

Base class with a member CIdentifier to be inherited by a class which has an identity in the environment of modular distributed swift processes.

Definition at line 23 of file identifiable.h.

Constructor & Destructor Documentation

◆ CIdentifiable() [1/3]

swift::misc::CIdentifiable::CIdentifiable ( const QString & objectName)
inlineprotected

Use literal based object name.

Definition at line 37 of file identifiable.h.

◆ CIdentifiable() [2/3]

swift::misc::CIdentifiable::CIdentifiable ( QObject * nameProvider)
protected

Connect with QObject providing the name.

Definition at line 8 of file identifiable.cpp.

◆ CIdentifiable() [3/3]

swift::misc::CIdentifiable::CIdentifiable ( )
inlineprotected

Construct without a name.

Definition at line 43 of file identifiable.h.

◆ ~CIdentifiable()

swift::misc::CIdentifiable::~CIdentifiable ( )
protected

Destructor.

Definition at line 15 of file identifiable.cpp.

Member Function Documentation

◆ identifier()

const CIdentifier & swift::misc::CIdentifiable::identifier ( ) const
inline

Get identifier.

Definition at line 27 of file identifiable.h.

◆ isMyIdentifier()

bool swift::misc::CIdentifiable::isMyIdentifier ( const CIdentifier & otherIdentifier) const
inline

My identifier?

Definition at line 33 of file identifiable.h.

◆ setIdentifier()

void swift::misc::CIdentifiable::setIdentifier ( const CIdentifier & identifier)
inline

Set identifier, allows to set an external identifier.

Definition at line 30 of file identifiable.h.


The documentation for this class was generated from the following files: