UNIVERS
15.3
UNIVERS base processing software API
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
hds_batch
hds_batch_module.hpp
1
/* hds_packet_module.hpp */
2
/* $Id$ */
3
#ifndef __hds_batch_module_hpp
4
#define __hds_batch_module_hpp
5
6
#include <hds_batch/hds_module.hpp>
7
#include <hds_batch/defines.hpp>
8
#include <hds_batch/hds_batch_module_context.hpp>
9
#include <hds_batch/hds_messenger.hpp>
10
#include <hds_batch/hds_module_progress.hpp>
11
13
namespace
hds
14
{
16
class
BatchModule
:
public
Module
17
{
18
Q_OBJECT
19
20
public
:
21
23
BatchModule
(QObject *pParrent = 0x0);
24
26
virtual
~BatchModule
();
27
28
30
void
setContext
(
const
hds::BatchModuleContext
&
context
) {m_context =
context
;}
31
33
const
hds::BatchModuleContext
&
context
()
const
{
return
m_context;}
34
35
37
void
infoMsg
(
const
QString &str)
const
;
38
40
void
warningMsg
(
const
QString &str)
const
;
41
43
void
errorMsg
(
const
QString &str)
const
;
44
46
void
debugMsg
(
const
QString &str)
const
;
47
49
const
hds::ModuleProgress
&
progress
()
const
{
return
m_progress;}
50
51
53
void
attachMessenger
(
const
hds::Messenger
&messenger);
54
56
void
removeMessengers
();
57
58
private
:
59
61
QVector<const hds::Messenger*> m_messengers_ptrs;
62
64
BatchModuleContext
m_context;
65
67
hds::ModuleProgress
m_progress;
68
};
69
};
70
71
#endif
/* hds_batch_module.hpp */
hds::BatchModule::infoMsg
void infoMsg(const QString &str) const
hds::BatchModule::progress
const hds::ModuleProgress & progress() const
Definition:
hds_batch_module.hpp:49
hds::BatchModule::context
const hds::BatchModuleContext & context() const
Definition:
hds_batch_module.hpp:33
hds::BatchModule::warningMsg
void warningMsg(const QString &str) const
hds::BatchModule::~BatchModule
virtual ~BatchModule()
hds::BatchModule
Definition:
hds_batch_module.hpp:16
hds::BatchModule::attachMessenger
void attachMessenger(const hds::Messenger &messenger)
hds::BatchModule::BatchModule
BatchModule(QObject *pParrent=0x0)
hds::BatchModule::setContext
void setContext(const hds::BatchModuleContext &context)
Definition:
hds_batch_module.hpp:30
hds::ModuleProgress
Definition:
hds_module_progress.hpp:15
hds::Messenger
Definition:
hds_messenger.hpp:16
hds::BatchModule::debugMsg
void debugMsg(const QString &str) const
hds::BatchModule::errorMsg
void errorMsg(const QString &str) const
hds::BatchModuleContext
Definition:
hds_batch_module_context.hpp:18
hds::Module
Definition:
hds_module.hpp:14
hds::BatchModule::removeMessengers
void removeMessengers()
Generated by
1.8.5