![]() |
|
|||||
#include "TeleoInterface.h"
#include "TeleoDeviceManager.h"
Go to the source code of this file.
Functions | |
| TeleoError | TeleoEasy_Init (cchar *interfaceName, TI_InterfaceType interfaceTypeId, TeleoDeviceManager **tdm) |
| Initializes the system. | |
| TeleoError | TeleoEasy_destroy () |
| TeleoError | TeleoEasy_InterfaceAdd (cchar *interfaceName, TI_InterfaceType interfaceTypeId) |
| Adds additional interfaces. | |
| TeleoModuleManager * | TeleoEasy_TeleoModuleManagerGet () |
| Returns the Module Manager in case any lower level calls need to be made. | |
| void | TeleoEasy_Start () |
| Starts the system. | |
| void | TeleoEasy_Continue () |
| Waits for the library to exit. | |
| void | TeleoEasy_Lock () |
| Locks access to the library. | |
| void | TeleoEasy_Unlock () |
| Unlocks access to the library. | |
Provides functions for the connection of all the layers of the SDK. Used in several example apps.
Designed to be linked with the version of TeleoEasyXXX.c that is appropriate for the target OS.
Provides a TeleoDeviceManager* from which it is possible to create devices, or device proxies.
Note that code called in callbacks from the lower system levels will have been initiated in one of either the timer or input threads which are (conservatively) protected by mutex locks.
Code called from the main program thread is not thread safe, so all calls into the Teleo SDK should be protected with TeleoEasy_LibraryLock( ) / Unlock( ) calls.
Definition in file TeleoEasy.h.
|
|
Waits for the library to exit.
Definition at line 146 of file TeleoEasyLinux.c. |
|
|
Definition at line 110 of file TeleoEasyWin32.c. References running, TC_destroy(), TDM_destroy(), TELEO_OK, TeleoEasy_Continue(), TeleoError, TI_destroy(), and TMM_destroy(). |
|
||||||||||||||||
|
Initializes the system.
Definition at line 61 of file TeleoEasyLinux.c. References cchar, running, TC_channelNameSet(), TC_Create(), TC_dummySend(), TC_outputCallbackSet(), TC_sendQueueEnable(), TDM_Create(), TDM_moduleManagerSet(), TELEO_OK, teleoDeviceManager, TeleoError, TI_blockingSet(), TI_Create(), TI_open(), TI_typeGet(), TMM_channelAdd(), and TMM_Create(). Referenced by main(). |
|
||||||||||||
|
Adds additional interfaces.
Definition at line 123 of file TeleoEasyLinux.c. References TELEO_E_UNIMPLEMENTED, and TeleoError. |
|
|
Locks access to the library.
Definition at line 187 of file TeleoEasyLinux.c. |
|
|
Starts the system.
Definition at line 134 of file TeleoEasyLinux.c. References running, TELEO_INPUT_THREAD, TELEO_TIMER_THREAD, and teleoThreads. |
|
|
Returns the Module Manager in case any lower level calls need to be made.
Definition at line 129 of file TeleoEasyLinux.c. References teleoModuleManager. |
|
|
Unlocks access to the library.
Definition at line 192 of file TeleoEasyLinux.c. |
|
copyright © 2002, 2003 MakingThings LLC |