Added method to retrieve engine's default tick sleep interval.

git-svn-id: http://voip.null.ro/svn/yate@2303 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-11-03 15:48:31 +00:00
parent 721571ab27
commit 0bc17ce162
1 changed files with 7 additions and 0 deletions

View File

@ -701,6 +701,13 @@ public:
*/
unsigned long tickSleep(unsigned long usec = 1000000);
/**
* Get the default engine tick sleep time in microseconds
* @return Default timer sleep in usec
*/
inline unsigned long tickDefault() const
{ return m_usecSleep; }
/**
* Helper template used to remove a component descendant from its engine,
* destroy it and set the received pointer to 0