40 lines
742 B
C++
Executable File
40 lines
742 B
C++
Executable File
/**
|
|
* Handle Data Events
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "rpr_global.h"
|
|
|
|
#include <IObserverDataIntClassCB.h>
|
|
#include <IObserverDataIntInstance.h>
|
|
|
|
#include <QObject>
|
|
|
|
#include <Common/logger.h>
|
|
|
|
/**
|
|
* The notifier for new action requests
|
|
*/
|
|
class ObserverDataCBNotifier : public QObject, public rpr2::IObserverDataIntClassCB
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ObserverDataCBNotifier();
|
|
|
|
void newDataIntInstance(const rpr2::IObserverDataIntInstance &interaction) override;
|
|
void deleteInterface() override;
|
|
|
|
protected:
|
|
NGL::INGLLogger &m_logger;
|
|
|
|
signals:
|
|
// This is only emitted, when ICE sends data to us. This is not the case ever.
|
|
void newData(const rpr2::IObserverDataIntInstance &interaction);
|
|
};
|
|
|