IM920地温観測システム用 cbUSB()関数定義だけ修正したもの

Fork of C027_Support by u-blox

Embed: (wiki syntax)

« Back to documentation index

MDMRtos< T > Class Template Reference

MDMRtos< T > Class Template Reference

Use this template to override the lock and wait functions of the modem driver in a Rtos system. More...

#include <MDM.h>

Protected Member Functions

virtual void wait_ms (int ms)
 we assume that the modem runs in a thread so we yield when waiting
virtual void lock (void)
 lock a mutex when accessing the modem
virtual void unlock (void)
 unlock the modem when done accessing it

Detailed Description

template<class T>
class MDMRtos< T >

Use this template to override the lock and wait functions of the modem driver in a Rtos system.

For example declare it the modem object as MDMRtos<MDMSerial> instead of MDMSerial.

Definition at line 661 of file MDM.h.


Member Function Documentation

virtual void lock ( void   ) [protected, virtual]

lock a mutex when accessing the modem

Definition at line 670 of file MDM.h.

virtual void unlock ( void   ) [protected, virtual]

unlock the modem when done accessing it

Definition at line 672 of file MDM.h.

virtual void wait_ms ( int  ms ) [protected, virtual]

we assume that the modem runs in a thread so we yield when waiting

Definition at line 665 of file MDM.h.