LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
IEntityManager::DelegationResult Struct Reference

The result of delegating this entity to another plugin. More...

#include "ientitymanager.h"

Public Member Functions

 DelegationResult ()=default
 
 DelegationResult (QObject *handler, int id)
 
 operator bool () const
 

Public Attributes

QObject * Handler_ = nullptr
 The plugin instance object that handles this entity. More...
 
int ID_ = 0
 

Detailed Description

The result of delegating this entity to another plugin.

Definition at line 54 of file ientitymanager.h.

Constructor & Destructor Documentation

◆ DelegationResult() [1/2]

IEntityManager::DelegationResult::DelegationResult ( )
default

◆ DelegationResult() [2/2]

IEntityManager::DelegationResult::DelegationResult ( QObject *  handler,
int  id 
)
inline

Definition at line 69 of file ientitymanager.h.

Member Function Documentation

◆ operator bool()

IEntityManager::DelegationResult::operator bool ( ) const
inline

Definition at line 75 of file ientitymanager.h.

Member Data Documentation

◆ Handler_

QObject* IEntityManager::DelegationResult::Handler_ = nullptr

The plugin instance object that handles this entity.

If no object handles the entity, this is a nullptr.

Definition at line 60 of file ientitymanager.h.

◆ ID_

int IEntityManager::DelegationResult::ID_ = 0

The internal ID of the delegated entity local to the handling plugin.

Definition at line 65 of file ientitymanager.h.


The documentation for this struct was generated from the following file: