Tellurium Plugin C API
1.0.0
Plugin Framework for Tellurium
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Macros
Groups
Pages
telAPIHandleManager.h
1
#ifndef telAPIHandleManagerH
2
#define telAPIHandleManagerH
3
#include <map>
4
#include "
telplugins_types.h
"
5
//---------------------------------------------------------------------------
6
//Class keeping track of all handles that are created in the Tellurium C API
7
8
using namespace
tlpc;
9
using
std::map;
10
typedef
map<TELHandle, const char*> HandleMap;
11
12
class
APIHandleManager
13
{
14
public
:
15
APIHandleManager
();
16
~
APIHandleManager
();
17
TELHandle
registerHandle(
TELHandle
handle,
const
char
* typeOf);
18
bool
unRegisterHandle(
TELHandle
handle);
19
TELHandle
validate(
TELHandle
handle,
const
char
* typeOf,
const
char
* fnc);
20
21
protected
:
22
HandleMap mHandles;
23
TELHandle
searchFor(
TELHandle
handle);
24
25
};
26
#endif
27
28
Generated on Mon Mar 31 2014 14:36:32 for Tellurium Plugin C API by
1.8.4