ArnLib  4.0.x
Active Registry Network
ArnCoreItem Class Reference

Core base class for the inherited ArnItem classes. More...

#include <ArnCoreItem.hpp>

Inheritance diagram for ArnCoreItem:

Classes

struct  Heritage
 

Public Member Functions

 ArnCoreItem ()
 Standard constructor of a closed handle. More...
 
virtual ~ArnCoreItem ()
 
QThread * thread () const
 Get the thread affinity of this ArnCoreItem. More...
 

Friends

class ArnBasicItemEventHandler
 

Detailed Description

Core base class for the inherited ArnItem classes.

About ArnItem access

See ArnItem.

ArnCoreItem is just a base class for ArnBasicItem and its inherited classes. Its purpose is to have a core API for meta handling ArnItems without having many virtual functions that icrease the memory footprint for especially ArnBasicItem.

It is the only real base class for all kinds of ArnItems.

Definition at line 56 of file ArnCoreItem.hpp.

Constructor & Destructor Documentation

◆ ArnCoreItem()

ArnCoreItem::ArnCoreItem ( )

Standard constructor of a closed handle.

Definition at line 51 of file ArnCoreItem.cpp.

◆ ~ArnCoreItem()

ArnCoreItem::~ArnCoreItem ( )
virtual

Definition at line 63 of file ArnCoreItem.cpp.

Member Function Documentation

◆ thread()

QThread * ArnCoreItem::thread ( ) const

Get the thread affinity of this ArnCoreItem.

The definition of affinity is different for different ArnItem classes. The returned value should still indicate for the caller if the item is in another thread and then the caller should treat the item with isAlienThread=true.

Returns
the thread affinity
See also
setEventHandler()

Definition at line 69 of file ArnCoreItem.cpp.

Friends And Related Function Documentation

◆ ArnBasicItemEventHandler

friend class ArnBasicItemEventHandler
friend

Definition at line 59 of file ArnCoreItem.hpp.


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