qpcpp/doxygen/snippets/qf_ctor.cpp
Quantum Leaps 890c8e7d8c 5.1.1
2013-10-10 20:01:51 -04:00

10 lines
233 B
C++

class Philo : public QActive { // derives from QActive
. . .
public:
Philo::Philo() // public default constructor
: QActive(Q_STATE_CAST(&Philosopher::initial)),
m_timeEvt(TIMEOUT_SIG, this, 0U)
{}
. . .
};