Added method to get the circuit from a circuit event.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1780 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2008-03-14 14:34:22 +00:00
parent 516c65f20c
commit 595371636e
1 changed files with 7 additions and 0 deletions

View File

@ -1109,6 +1109,13 @@ public:
inline Type type() const
{ return m_type; }
/**
* Get the circuit that generated this event
* @return The circuit that generated this event
*/
inline SignallingCircuit* circuit()
{ return m_circuit; }
private:
SignallingCircuit* m_circuit;
Type m_type;