libpromeki main
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
ObjectBase::MetaInfo Class Reference

Captures all the metadata about this object. More...

#include <objectbase.h>

Public Types

using SignalList = List< SignalMeta * >
 
using SlotList = List< SlotMeta * >
 

Public Member Functions

 MetaInfo (const char *n, const MetaInfo *p=nullptr)
 Constructs MetaInfo with a type name and optional parent.
 
const MetaInfoparent () const
 Returns the parent MetaInfo, or nullptr if this is the root.
 
const charname () const
 Returns the demangled type name.
 
const SignalListsignalList () const
 Returns the list of signals registered for this type.
 
const SlotListslotList () const
 Returns the list of slots registered for this type.
 
void dumpToLog () const
 Dumps all MetaInfo fields to the log output.
 

Friends

class SignalMeta
 
class SlotMeta
 

Detailed Description

Captures all the metadata about this object.

Constructor & Destructor Documentation

◆ MetaInfo()

ObjectBase::MetaInfo::MetaInfo ( const char n,
const MetaInfo p = nullptr 
)
inline

Constructs MetaInfo with a type name and optional parent.

Parameters
nThe mangled type name (typically from typeid).
pThe parent MetaInfo, or nullptr for the root.

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