Added get modem type methods.

git-svn-id: http://voip.null.ro/svn/yate@1562 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2007-12-20 09:32:36 +00:00
parent 01fb3a6c3d
commit 89975ef051
1 changed files with 14 additions and 0 deletions

View File

@ -167,6 +167,13 @@ public:
inline bool terminated() const
{ return m_terminated; }
/**
* Get the type of this modem
* @return The modem type
*/
inline int type() const
{ return m_type; }
/**
* Reset modem to its initial state
*/
@ -276,6 +283,13 @@ public:
inline Error error() const
{ return m_error; }
/**
* Get the type of this UART's modem
* @return The type of this UART's modem
*/
inline int modemType() const
{ return m_modem.type(); }
/**
* Get the data bit accumulator used by this UART
* @return The data bit accumulator used by this UART