Vireo  1.0
Compact runtime for Virtual Instruments
 All Classes Files Functions Variables Enumerations Enumerator Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
Vireo::TypeManager Class Reference

Keeps track of Types used within a ExecutionContext. More...

#include <TypeAndDataManager.h>

Public Member Functions

void DeleteTypes (Boolean finalTime)
 
void TrackType (TypeCommon *type)
 
TypeRef ResolveToUniqueInstance (TypeRef type, SubString *binaryName)
 
void UntrackLastType (TypeCommon *type)
 
void GetTypes (TypedArray1D< TypeRef > *)
 
TypeRef GetTypeList ()
 
void PrintMemoryStat (const char *, Boolean last)
 
TypeManagerRef RootTypeManager ()
 
TypeRef Define (SubString *name, TypeRef type)
 
TypeRef FindType (const SubString *name)
 
TypeRefFindTypeConstRef (const SubString *name)
 
void * FindNamedTypedBlock (SubString *name, PointerAccessEnum mode)
 
void * FindNamedObject (SubString *name)
 
TypeRef BadType ()
 
Int32 AQAlignment (Int32 size)
 
Int32 AlignAQOffset (Int32 offset, Int32 size)
 
Int32 BitCountToAQSize (Int32 bitCount)
 
Int32 PointerToAQSize ()
 
Int32 AQBitSize ()
 
NIError RegisterType (const char *name, const char *typeString)
 
NIError DefineCustomPointerTypeWithValue (const char *name, void *pointer, TypeRef type, PointerTypeEnum pointerType)
 
NIError DefineCustomDataProcs (const char *name, IDataProcs *pDataProcs, TypeRef type)
 
void * Malloc (size_t countAQ)
 
void * Realloc (void *pBuffer, size_t countAQ, size_t preserveAQ)
 
void Free (void *pBuffer)
 
Boolean AllocationPermitted (size_t countAQ)
 
void TrackAllocation (void *id, size_t countAQ, Boolean bAlloc)
 
size_t TotalAQAllocated ()
 
Int32 TotalAllocations ()
 
size_t MaxAllocated ()
 
Int32 AQBitCount ()
 
Int64 LookUpsFound ()
 
Int64 LookUpsRoutedToOwner ()
 
Int64 LookUpsNotResolved ()
 

Static Public Member Functions

static TypeManagerRef New (TypeManagerRef tmParent)
 
static void Delete (TypeManagerRef tm)
 
static void * GlobalMalloc (size_t countAQ)
 
static void GlobalFree (void *pBuffer)
 

Public Attributes

Int32 _totalAllocations
 
Int32 _totalAllocationFailures
 
size_t _totalAQAllocated
 
size_t _maxAllocated
 
size_t _allocationLimit
 
Int32 _typesShared
 

Private Types

typedef std::map< SubString,
TypeRef, ComapreSubString >
::iterator 
TypeDictionaryIterator
 

Private Member Functions

 TypeManager (TypeManagerRef typeManager)
 

Private Attributes

TypeManagerRef _rootTypeManager
 
std::map< SubString, TypeRef,
ComapreSubString
_typeNameDictionary
 
std::map< SubString, TypeRef,
ComapreSubString
_typeInstanceDictionary
 
Int32 _aqBitCount
 
MUTEX_CLASS_MEMBER TypeRef _badType
 
TypeRef _typeList
 
Int64 _lookUpsFound
 
Int64 _lookUpsRoutedToOwner
 
Int64 _lookUpsNotResolved
 

Friends

class TDViaParser
 

Detailed Description

Keeps track of Types used within a ExecutionContext.


The documentation for this class was generated from the following files: