COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Signals | Public Member Functions | Private Attributes | List of all members
CNodeNotifier Class Reference

Handles signal emitting for CNode class. More...

#include <CNode.hpp>

Inherits QObject.

Signals

void child_count_changed ()
 Signal emitted when children have been added or removed. More...
 
void signal_signature (cf3::common::SignalArgs &node)
 Signal emitted when a signal signature has been received. More...
 

Public Member Functions

 CNodeNotifier (CNode *parent=nullptr)
 Constructor. More...
 
void notify_child_count_changed ()
 Emits child_count_changed() signal. More...
 
void notify_signal_signature (common::SignalArgs &node)
 Emits signal_signature() signal. More...
 

Private Attributes

CNodem_parent
 The parent CNode. More...
 

Detailed Description

Handles signal emitting for CNode class.

#CNode class cannot derive from QObject (thus, cannot emit or catch Qt signals) because one of its subclasses (#NTree) also derives from another Qt class. It means that this subclass would derive twice from QObject, which is illegal in C++.

Author
Quentin Gasper

Definition at line 43 of file CNode.hpp.

Constructor & Destructor Documentation

CNodeNotifier ( CNode parent = nullptr)

Constructor.

Parameters
parentThe parent CNode. May be null.

Definition at line 61 of file CNode.cpp.

Member Function Documentation

void child_count_changed ( )
signal

Signal emitted when children have been added or removed.

void notify_child_count_changed ( )

Emits child_count_changed() signal.

Definition at line 69 of file CNode.cpp.

void notify_signal_signature ( common::SignalArgs node)

Emits signal_signature() signal.

Definition at line 76 of file CNode.cpp.

void signal_signature ( cf3::common::SignalArgs node)
signal

Signal emitted when a signal signature has been received.

Member Data Documentation

CNode* m_parent
private

The parent CNode.

Definition at line 72 of file CNode.hpp.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin