ATLAS Offline Software
Loading...
Searching...
No Matches
IVP1System Class Referenceabstract

#include <IVP1System.h>

Inheritance diagram for IVP1System:
Collaboration diagram for IVP1System:

Classes

class  Imp

Public Types

enum  State { CONSTRUCTED =0 , REFRESHED , ERASED , UNCREATED }
enum  ActiveState { ON =0 , OFF }

Signals

void sysmessage (QString) const
void inactiveSystemTurnedActive ()
void needErase ()

Public Member Functions

 IVP1System (const QString &name, const QString &information, const QString &contact_info)
virtual ~IVP1System ()
const QString & name () const
const QString & information () const
const QString & contact_info () const
bool supportsJSON () const
QWidget * controllerWidget ()
virtual QByteArray saveState ()
virtual void restoreFromState (QByteArray)
void message (const QString &) const
void messageDebug (const QString &) const
void messageVerbose (const QString &) const
void message (const QStringList &, const QString &addtoend="") const
void messageDebug (const QStringList &, const QString &addtoend="") const
void messageVerbose (const QStringList &, const QString &addtoend="") const
void message (const QString &addtostart, const QStringList &, const QString &addtoend="") const
void messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const
void messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const
void updateGUI ()
StoreGateSvc * storeGate () const
StoreGateSvc * eventStore () const
StoreGateSvc * detectorStore () const
ISvcLocator * serviceLocator () const
IToolSvc * toolSvc () const
State state () const
ActiveState activeState () const

Static Public Member Functions

static bool verbose ()
static QString str (const QString &s)
static QString str (const char *c)
static QString str (const bool b)
static QString str (const QColor &)
static QString str (const SbColor &)
static QString str (const VP1Interval &)
static QString str (const SbVec2d &)
static QString str (const SbVec2f &)
static QString str (const SbVec2s &)
static QString str (const SbVec3d &)
static QString str (const SbVec3f &)
static QString str (const SbVec3s &)
static QString str (const SbVec4d &)
static QString str (const SbVec4f &)
static QString str (short int n)
static QString str (unsigned short int n)
static QString str (long n)
static QString str (ulong n)
static QString str (int n)
static QString str (uint n)
static QString str (qlonglong n)
static QString str (qulonglong n)
static QString str (const double &d)
static QString str (const float &f)
static QString str (const void *)
template<class T>
static QString str (const T *t)
template<class T>
static QString str (const QFlags< T > &f)
template<class T>
static QString str (const HepGeom::BasicVector3D< T > &t)
static QString str (const Amg::Vector3D &t)
template<class T>
static QString str (const QList< T > &t)

Protected Member Functions

virtual void create (StoreGateSvc *detectorStore)=0
virtual void refresh (StoreGateSvc *eventStore)=0
virtual void erase ()=0
virtual void uncreate ()
void setSupportsJSON (bool supported)
void registerController (QWidget *)

Private Member Functions

 IVP1System (const IVP1System &)
IVP1System & operator= (const IVP1System &)
void disallowUpdateGUI ()
void allowUpdateGUI ()
void setChannel (IVP1ChannelWidget *)
IVP1ChannelWidget * channel () const
void deleteController ()
void setState (const State &)
void setActiveState (const ActiveState &, const bool &donttriggererase=true)
bool isRefreshing ()
void setRefreshing (const bool &)
void setCanRegisterController (const bool &)

Private Attributes

Imp * m_d

Static Private Attributes

static const bool s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")

Friends

class VP1ExecutionScheduler
class VP1Prioritiser
class IVP1ChannelWidget
class VP1MainWindow

Detailed Description

Definition at line 36 of file IVP1System.h.

Member Enumeration Documentation

◆ ActiveState

Enumerator
ON 
OFF 

Definition at line 152 of file IVP1System.h.

152{ ON=0, OFF };//Whether it is part of the erase/refresh cycle.

◆ State

Enumerator
CONSTRUCTED 
REFRESHED 
ERASED 
UNCREATED 

Definition at line 151 of file IVP1System.h.

Constructor & Destructor Documentation

◆ IVP1System() [1/2]

IVP1System::IVP1System ( const QString & name,
const QString & information,
const QString & contact_info )

Definition at line 69 of file IVP1System.cxx.

70 : m_d(new Imp(n,i,c))
71{
72 if (VP1Msg::verbose()){
73 messageVerbose("IVP1System()");
74 }
75 setObjectName("IVP1System:"+n);
76
77}
void messageVerbose(const QString &) const
static bool verbose()
Definition VP1Msg.h:31

◆ ~IVP1System()

IVP1System::~IVP1System ( )
virtual

Definition at line 80 of file IVP1System.cxx.

81{
82 if (VP1Msg::verbose()){
83 messageVerbose("IVP1System() Destructor. Start...");
84 }
85
86 assert(m_d->state==UNCREATED||m_d->state==CONSTRUCTED);
87 assert(!m_d->controller);
88
89 delete m_d;
90 m_d=nullptr;
91 VP1Msg::messageDebug("IVP1System() Destructor. END.");
92}
static void messageDebug(const QString &)
Definition VP1Msg.cxx:39

◆ IVP1System() [2/2]

IVP1System::IVP1System ( const IVP1System & )
private

Member Function Documentation

◆ activeState()

IVP1System::ActiveState IVP1System::activeState ( ) const

Definition at line 148 of file IVP1System.cxx.

149{
150 return m_d->activeState;
151}

◆ allowUpdateGUI()

void IVP1System::allowUpdateGUI ( )
private

Definition at line 269 of file IVP1System.cxx.

270{
271 m_d->allowupdategui=true;
272}

◆ channel()

IVP1ChannelWidget * IVP1System::channel ( ) const
private

Definition at line 288 of file IVP1System.cxx.

289{
290 if (VP1Msg::verbose()&&!m_d->channel){
291 messageVerbose("WARNING channel() returning NULL");
292 }
293 assert(m_d->channel);
294 return m_d->channel;
295}

◆ contact_info()

const QString & IVP1System::contact_info ( ) const

Definition at line 63 of file IVP1System.cxx.

64{
65 return m_d->contact_info;
66}

◆ controllerWidget()

QWidget * IVP1System::controllerWidget ( )

Definition at line 215 of file IVP1System.cxx.

215 {
216 if (VP1Msg::verbose()) {
217 messageVerbose("controllerWidget()");
218 messageVerbose("registerController m_d->state==ERASED = "+QString(m_d->state==ERASED?"true":"false"));
219 messageVerbose("registerController m_d->state==REFRESHED = "+QString(m_d->state==REFRESHED?"true":"false"));
220 }
221 assert(m_d->state==REFRESHED||m_d->state==ERASED);
222 return m_d->controller;
223 }

◆ create()

virtual void IVP1System::create ( StoreGateSvc * detectorStore)
protectedpure virtual

◆ deleteController()

void IVP1System::deleteController ( )
private

Definition at line 226 of file IVP1System.cxx.

227{
228 if (VP1Msg::verbose()){
229 messageVerbose("deleteController()");
230 }
231 if (m_d->controller)
232 m_d->controller->deleteLater();
233 m_d->controller = 0;
234}

◆ detectorStore()

StoreGateSvc * IVP1System::detectorStore ( ) const

Definition at line 331 of file IVP1System.cxx.

332{
334}
static StoreGateSvc * detectorStore()

◆ disallowUpdateGUI()

void IVP1System::disallowUpdateGUI ( )
private

Definition at line 263 of file IVP1System.cxx.

264{
265 m_d->allowupdategui=false;
266}

◆ erase()

virtual void IVP1System::erase ( )
protectedpure virtual

◆ eventStore()

StoreGateSvc * IVP1System::eventStore ( ) const

Definition at line 325 of file IVP1System.cxx.

326{
328}
static StoreGateSvc * eventStore()

◆ inactiveSystemTurnedActive

void IVP1System::inactiveSystemTurnedActive ( )
signal

◆ information()

const QString & IVP1System::information ( ) const

Definition at line 57 of file IVP1System.cxx.

58{
59 return m_d->information;
60}

◆ isRefreshing()

bool IVP1System::isRefreshing ( )
private

Definition at line 121 of file IVP1System.cxx.

122{
123 return m_d->refreshing;
124}

◆ message() [1/3]

void IVP1System::message ( const QString & str) const

Definition at line 349 of file IVP1System.cxx.

350{
351 if (receivers(SIGNAL(sysmessage(QString))) > 0){
353 }
354 else{
355 std::cout<<VP1Msg::prefix_msg()<<" ["<<m_d->name.toStdString()<<"]: "<<str.toStdString()<<std::endl;
356 }
357}
void sysmessage(QString) const
static const char * prefix_msg()
Definition VP1Msg.h:56
static QString str(const QString &s)
Definition VP1String.h:49

◆ message() [2/3]

void IVP1System::message ( const QString & addtostart,
const QStringList & l,
const QString & addtoend = "" ) const

Definition at line 413 of file IVP1System.cxx.

414{
415 if (addtostart.isEmpty()) {
416 message(l,addtoend);
417 return;
418 }
419 if (addtoend.isEmpty()) {
420 for (const QString& s : l)
421 message(addtostart+s);
422 } else {
423 for (const QString& s : l)
424 message(addtostart+s+addtoend);
425 }
426}
void message(const QString &) const

◆ message() [3/3]

void IVP1System::message ( const QStringList & l,
const QString & addtoend = "" ) const

Definition at line 375 of file IVP1System.cxx.

376{
377 if (addtoend.isEmpty()) {
378 for (const QString& s : l)
379 message(s);
380 } else {
381 for (const QString& s : l)
382 message(s+addtoend);
383 }
384}

◆ messageDebug() [1/3]

void IVP1System::messageDebug ( const QString & str) const

Definition at line 360 of file IVP1System.cxx.

361{
362 if (VP1Msg::debug())
363 std::cout<<VP1Msg::prefix_debug()<<" ["<<m_d->name.toStdString()<<"]: "<<str.toStdString()<<std::endl;
364}
static bool debug()
Definition VP1Msg.h:32
static const char * prefix_debug()
Definition VP1Msg.h:57

◆ messageDebug() [2/3]

void IVP1System::messageDebug ( const QString & addtostart,
const QStringList & l,
const QString & addtoend = "" ) const

Definition at line 429 of file IVP1System.cxx.

430{
431 if (addtostart.isEmpty()) {
432 messageDebug(l,addtoend);
433 return;
434 }
435 if (addtoend.isEmpty()) {
436 for (const QString& s : l)
437 messageDebug(addtostart+s);
438 } else {
439 for (const QString& s : l)
440 messageDebug(addtostart+s+addtoend);
441 }
442}
void messageDebug(const QString &) const

◆ messageDebug() [3/3]

void IVP1System::messageDebug ( const QStringList & l,
const QString & addtoend = "" ) const

Definition at line 387 of file IVP1System.cxx.

388{
389 if (addtoend.isEmpty()) {
390 for (const QString& s : l)
391 messageDebug(s);
392 } else {
393 for (const QString& s : l)
394 messageDebug(s+addtoend);
395 }
396}

◆ messageVerbose() [1/3]

void IVP1System::messageVerbose ( const QString & str) const

Definition at line 367 of file IVP1System.cxx.

368{
369 if (VP1Msg::verbose())
370 std::cout<<VP1Msg::prefix_verbose()<<" ["<<m_d->name.toStdString()<<"]: "<<str.toStdString()<<std::endl;
371}
static const char * prefix_verbose()
Definition VP1Msg.h:59

◆ messageVerbose() [2/3]

void IVP1System::messageVerbose ( const QString & addtostart,
const QStringList & l,
const QString & addtoend = "" ) const

Definition at line 445 of file IVP1System.cxx.

446{
447 if (!VP1Msg::verbose())
448 return;
449 if (addtostart.isEmpty()) {
450 messageVerbose(l,addtoend);
451 return;
452 }
453 if (addtoend.isEmpty()) {
454 for (const QString& s : l)
455 messageVerbose(addtostart+s);
456 } else {
457 for (const QString& s : l)
458 messageVerbose(addtostart+s+addtoend);
459 }
460}

◆ messageVerbose() [3/3]

void IVP1System::messageVerbose ( const QStringList & l,
const QString & addtoend = "" ) const

Definition at line 399 of file IVP1System.cxx.

400{
401 if (!VP1Msg::verbose())
402 return;
403 if (addtoend.isEmpty()) {
404 for (const QString& s : l)
406 } else {
407 for (const QString& s : l)
408 messageVerbose(s+addtoend);
409 }
410}

◆ name()

const QString & IVP1System::name ( ) const

Definition at line 51 of file IVP1System.cxx.

52{
53 return m_d->name;
54}

◆ needErase

void IVP1System::needErase ( )
signal

◆ operator=()

IVP1System & IVP1System::operator= ( const IVP1System & )
private

◆ refresh()

virtual void IVP1System::refresh ( StoreGateSvc * eventStore)
protectedpure virtual

◆ registerController()

void IVP1System::registerController ( QWidget * w)
protected

Definition at line 237 of file IVP1System.cxx.

238{
239 if (VP1Msg::verbose()) {
240 messageVerbose("registerController ");
241 messageVerbose("registerController m_d->canregistercontroller = "+QString(m_d->canregistercontroller?"true":"false"));
242 messageVerbose("registerController m_d->state==CONSTRUCTED = "+QString(m_d->state==CONSTRUCTED?"true":"false"));
243 messageVerbose("registerController m_d->controller==0 = "+QString(m_d->controller==0?"true":"false"));
244 messageVerbose("registerController w!=0 = "+QString(w!=0?"true":"false"));
245 }
246 if (!m_d->canregistercontroller)
247 message("ERROR: Please don't register controllers after create().");
248 if (m_d->state!=CONSTRUCTED)
249 message("ERROR: Please only register controllers in CONSTRUCTED state.");
250 if (!w) {
251 message("ERROR: Attempt to register null controller.");
252 return;
253 }
254 if (m_d->controller) {
255 message("ERROR: Attempt to register controller twice.");
256 return;
257 }
258 m_d->controller = w;
259 w->setParent(0);
260}

◆ restoreFromState()

void IVP1System::restoreFromState ( QByteArray ba)
virtual

Reimplemented in VP1AODSystem, VP1BanksSystem, VP1CaloCellSystem, VP1CaloClusterSystem, VP1CaloHitLegoSystem, VP1CaloLegoSystem, VP1CaloReadoutSystem, VP1ExtraInputSystem, VP1GeometrySystem, VP1GuideLineSystem, VP1HVLegoSystem, VP1MCSystem, VP1PartSpectSystem, VP1PrepRawDataSystem, VP1RawDataSystem, VP1TrackingGeometrySystem, VP1TrackSystem, and VP1VertexSystem.

Definition at line 315 of file IVP1System.cxx.

316{
317 if (VP1Msg::verbose()){
318 messageVerbose("base restoreFromState called");
319 }
320 if (!ba.isEmpty())
321 message("Error in IVP1System::restoreFromState: Received non-empty saved state.");
322}

◆ saveState()

◆ serviceLocator()

ISvcLocator * IVP1System::serviceLocator ( ) const

Definition at line 337 of file IVP1System.cxx.

338{
340}
static ISvcLocator * serviceLocator()

◆ setActiveState()

void IVP1System::setActiveState ( const ActiveState & s,
const bool & donttriggererase = true )
private

Definition at line 175 of file IVP1System.cxx.

176{
177 //First handle case where we dont actually change state. Only
178 //special consideration is OFF->OFF where we have to do something if
179 //we need to erase:
180 if (m_d->activeState==OFF&&s==OFF&&(m_d->state==REFRESHED||m_d->refreshing)&&!donttriggererase) {
181 needErase();
182 m_d->channel->emitRefreshInfoChanged();
183 return;
184 } else if (m_d->activeState==s) {
185 m_d->channel->emitRefreshInfoChanged();
186 return;
187 }
188
189 //Ok, we know that we are either ON->OFF or OFF->ON.
190 m_d->activeState = s;
191
192 if (s==ON) {
193 //OFF->ON: We might need a refresh, so send out a signal for the scheduler:
195 } else {
196 //ON->OFF: We might need an erase signal:
197 if ((m_d->state==REFRESHED||m_d->refreshing)&&!donttriggererase) {
198 needErase();
199 }
200 }
201 m_d->channel->emitRefreshInfoChanged();
202}
void inactiveSystemTurnedActive()
void needErase()

◆ setCanRegisterController()

void IVP1System::setCanRegisterController ( const bool & c)
private

Definition at line 298 of file IVP1System.cxx.

299{
300 if (VP1Msg::verbose()){
301 messageVerbose("setCanRegisterController called with"+QString(c?"true":"false"));
302 }
303 m_d->canregistercontroller=c;
304}

◆ setChannel()

void IVP1System::setChannel ( IVP1ChannelWidget * cw)
private

Definition at line 107 of file IVP1System.cxx.

108{
109 if (VP1Msg::verbose()) {
110 messageVerbose("setChannel ");
111 messageVerbose("setChannel m_d->state==CONSTRUCTED = "+QString(m_d->state==CONSTRUCTED?"true":"false"));
112 messageVerbose("setChannel cw!=0 = "+QString(cw!=0?"true":"false"));
113 }
114 assert(!m_d->channel);
115 assert(cw);
116 assert(m_d->state==CONSTRUCTED);
117 m_d->channel = cw;
118}

◆ setRefreshing()

void IVP1System::setRefreshing ( const bool & b)
private

Definition at line 127 of file IVP1System.cxx.

128{
129 if (VP1Msg::verbose()){
130 messageVerbose("setRefreshing() called with b="+QString(b?"true":"false"));
131 }
132 if (b) {
133 assert(m_d->state==ERASED);
134 } else {
135 assert(m_d->state==REFRESHED);
136 }
137 m_d->refreshing = b;
138}

◆ setState()

void IVP1System::setState ( const State & s)
private

Definition at line 154 of file IVP1System.cxx.

155{
156#ifndef NDEBUG
157 assert (m_d->state != s);
158 assert(s!=CONSTRUCTED);
159 if (s==REFRESHED) {
160 assert(m_d->state==ERASED);
161 }
162 if (s==ERASED) {
163 assert(m_d->state==REFRESHED||m_d->state==CONSTRUCTED);
164 }
165 if (s==UNCREATED) {
166 assert(m_d->state==ERASED);
167 }
168#endif
169 m_d->state = s;
170 if (s==REFRESHED||s==ERASED)
171 m_d->channel->emitRefreshInfoChanged();
172}

◆ setSupportsJSON()

void IVP1System::setSupportsJSON ( bool supported)
protected

Definition at line 101 of file IVP1System.cxx.

102{
103 m_d->supportsJSON = supported;
104}

◆ state()

IVP1System::State IVP1System::state ( ) const

Definition at line 142 of file IVP1System.cxx.

143{
144 return m_d->state;
145}

◆ storeGate()

StoreGateSvc * IVP1System::storeGate ( ) const
inline

Definition at line 127 of file IVP1System.h.

127{ return eventStore(); }//OBSOLETE NAME. Use eventStore() instead.
StoreGateSvc * eventStore() const

◆ str() [1/30]

QString VP1String::str ( const Amg::Vector3D & t)
inlinestaticinherited

Definition at line 98 of file VP1String.h.

98{ return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ str() [2/30]

QString VP1String::str ( const bool b)
inlinestaticinherited

Definition at line 53 of file VP1String.h.

53{ return b?"True":"False"; }

◆ str() [3/30]

QString VP1String::str ( const char * c)
inlinestaticinherited

Definition at line 50 of file VP1String.h.

50{ return c; }

◆ str() [4/30]

QString VP1String::str ( const double & d)
inlinestaticinherited

Definition at line 81 of file VP1String.h.

81{ return QString::number(d); }

◆ str() [5/30]

QString VP1String::str ( const float & f)
inlinestaticinherited

Definition at line 82 of file VP1String.h.

82{ return QString::number(f); }

◆ str() [6/30]

template<class T>
QString VP1String::str ( const HepGeom::BasicVector3D< T > & t)
inlinestaticinherited

Definition at line 95 of file VP1String.h.

95{ return "("+str(t.x())+", "+str(t.y())+", "+str(t.z())+")"; }

◆ str() [7/30]

QString VP1String::str ( const QColor & c)
staticinherited

Definition at line 30 of file VP1String.cxx.

31{
32 return c.isValid() ? c.name() : "Invalid";
33}

◆ str() [8/30]

template<class T>
QString VP1String::str ( const QFlags< T > & f)
inlinestaticinherited

Definition at line 91 of file VP1String.h.

91{ return "0x"+QString::number(f, 16).toUpper().rightJustified(8,'0'); }

◆ str() [9/30]

template<class T>
QString VP1String::str ( const QList< T > & t)
inlinestaticinherited

Definition at line 102 of file VP1String.h.

102{ return "QList of size"+QString::number(t.size()); }

◆ str() [10/30]

QString VP1String::str ( const QString & s)
inlinestaticinherited

Definition at line 49 of file VP1String.h.

49{ return s; }

◆ str() [11/30]

QString VP1String::str ( const SbColor & c)
staticinherited

Definition at line 36 of file VP1String.cxx.

37{
39}
static QColor sbcol2qcol(const SbColor &)

◆ str() [12/30]

QString VP1String::str ( const SbVec2d & v)
staticinherited

Definition at line 61 of file VP1String.cxx.

61{ double x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }
#define y
#define x

◆ str() [13/30]

QString VP1String::str ( const SbVec2f & v)
staticinherited

Definition at line 62 of file VP1String.cxx.

62{ float x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [14/30]

QString VP1String::str ( const SbVec2s & v)
staticinherited

Definition at line 63 of file VP1String.cxx.

63{ short x,y; v.getValue(x,y); return "("+str(x)+", "+str(y)+")"; }

◆ str() [15/30]

QString VP1String::str ( const SbVec3d & v)
staticinherited

Definition at line 64 of file VP1String.cxx.

64{ double x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }
#define z

◆ str() [16/30]

QString VP1String::str ( const SbVec3f & v)
staticinherited

Definition at line 65 of file VP1String.cxx.

65{ float x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [17/30]

QString VP1String::str ( const SbVec3s & v)
staticinherited

Definition at line 66 of file VP1String.cxx.

66{ short x,y,z; v.getValue(x,y,z); return "("+str(x)+", "+str(y)+", "+str(z)+")"; }

◆ str() [18/30]

QString VP1String::str ( const SbVec4d & v)
staticinherited

Definition at line 67 of file VP1String.cxx.

67{ double x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ str() [19/30]

QString VP1String::str ( const SbVec4f & v)
staticinherited

Definition at line 68 of file VP1String.cxx.

68{ float x,y,z,t; v.getValue(x,y,z,t); return "("+str(x)+", "+str(y)+", "+str(z)+", "+str(t)+")"; }

◆ str() [20/30]

template<class T>
QString VP1String::str ( const T * t)
inlinestaticinherited

Definition at line 87 of file VP1String.h.

87{ return str(static_cast<const void* >(t)); }

◆ str() [21/30]

QString VP1String::str ( const void * p)
staticinherited

Definition at line 48 of file VP1String.cxx.

49{
50 if (p) {
51 std::ostringstream s;
52 s << p;
53 // Explicitly naming QString here avoids a cppcheck warning.
54 return QString (s.str().c_str());
55 } else {
56 return "NULL";
57 }
58}

◆ str() [22/30]

QString VP1String::str ( const VP1Interval & i)
staticinherited

Definition at line 42 of file VP1String.cxx.

43{
44 return i.toString();
45}

◆ str() [23/30]

QString VP1String::str ( int n)
inlinestaticinherited

Definition at line 77 of file VP1String.h.

77{ return QString::number(n); }

◆ str() [24/30]

QString VP1String::str ( long n)
inlinestaticinherited

Definition at line 75 of file VP1String.h.

75{ return QString::number(n); }

◆ str() [25/30]

QString VP1String::str ( qlonglong n)
inlinestaticinherited

Definition at line 79 of file VP1String.h.

79{ return QString::number(n); }

◆ str() [26/30]

QString VP1String::str ( qulonglong n)
inlinestaticinherited

Definition at line 80 of file VP1String.h.

80{ return QString::number(n); }

◆ str() [27/30]

QString VP1String::str ( short int n)
inlinestaticinherited

Definition at line 73 of file VP1String.h.

73{ return QString::number(n); }

◆ str() [28/30]

QString VP1String::str ( uint n)
inlinestaticinherited

Definition at line 78 of file VP1String.h.

78{ return QString::number(n); }

◆ str() [29/30]

QString VP1String::str ( ulong n)
inlinestaticinherited

Definition at line 76 of file VP1String.h.

76{ return QString::number(n); }

◆ str() [30/30]

QString VP1String::str ( unsigned short int n)
inlinestaticinherited

Definition at line 74 of file VP1String.h.

74{ return QString::number(n); }

◆ supportsJSON()

bool IVP1System::supportsJSON ( ) const

Definition at line 95 of file IVP1System.cxx.

96{
97 return m_d->supportsJSON;
98}

◆ sysmessage

void IVP1System::sysmessage ( QString ) const
signal

◆ toolSvc()

IToolSvc * IVP1System::toolSvc ( ) const

Definition at line 343 of file IVP1System.cxx.

344{
345 return VP1AthenaPtrs::toolSvc();
346}
static IToolSvc * toolSvc()

◆ uncreate()

void IVP1System::uncreate ( )
protectedvirtual

Reimplemented in IVP12DDetViewsSystem, IVP12DSystemSimple, and IVP13DSystemSimple.

Definition at line 205 of file IVP1System.cxx.

206{
207 if (VP1Msg::verbose()) {
208 messageVerbose("uncreate() base implementation");
209 messageVerbose("registerController m_d->state==ERASED = "+QString(m_d->state==ERASED?"true":"false"));
210 }
211 assert(m_d->state==ERASED);
212}

◆ updateGUI()

void IVP1System::updateGUI ( )

Definition at line 275 of file IVP1System.cxx.

275 {
276// messageDebug("IVP1System::updateGUI() - START");
277 //assert(m_d->allowupdategui);
278 //assert(m_d->state==ERASED);
279
280 if ( m_d->allowupdategui ) {
281 qApp->processEvents();
282 }
283
284// messageDebug("IVP1System::updateGUI() - END");
285}

◆ verbose()

bool IVP1System::verbose ( )
inlinestatic

Definition at line 94 of file IVP1System.h.

94{ return s_vp1verbose; }// Returns true if env var VP1_VERBOSE_OUTPUT=1
static const bool s_vp1verbose
Definition IVP1System.h:166

◆ IVP1ChannelWidget

friend class IVP1ChannelWidget
friend

Definition at line 142 of file IVP1System.h.

◆ VP1ExecutionScheduler

friend class VP1ExecutionScheduler
friend

Definition at line 140 of file IVP1System.h.

◆ VP1MainWindow

friend class VP1MainWindow
friend

Definition at line 143 of file IVP1System.h.

◆ VP1Prioritiser

friend class VP1Prioritiser
friend

Definition at line 141 of file IVP1System.h.

Member Data Documentation

◆ m_d

Imp* IVP1System::m_d
private

Definition at line 139 of file IVP1System.h.

◆ s_vp1verbose

const bool IVP1System::s_vp1verbose = VP1QtUtils::environmentVariableIsOn("VP1_VERBOSE_OUTPUT")
staticprivate

Definition at line 166 of file IVP1System.h.


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