MAK RTIspy API Documentation for HLA 1.3
Macros | Functions
rtiUtil.cxx File Reference

Macros

#define EXPORT

Functions

std::string EXPORT DtMakRtiVersion ()
DT_DLL_RTIUTIL void DtRtiAttachNotificationPrinter (DtNotifyLevelType level, DtPrinter *printer)
DT_DLL_RTIUTIL void DtRtiDetachNotificationPrinter (DtNotifyLevelType level, DtPrinter *printer)
DT_DLL_RTIUTIL DtFilename DtRtiSearchPathList (const DtFilename &libName, const DtString &searchPath)
DT_DLL_RTIUTIL DtFilename DtRtiLibPath (const DtString &searchPath)
DT_DLL_RTIUTIL bool DtLocateConfigFile (DtFilename const &fileName, DtFilename &locatedFileName)
DT_DLL_RTIUTIL void DtSetNotifyLevel (unsigned int notifyLevel)
DT_DLL_RTIUTIL int DtKBHit ()
 Detect if there has been a button press on stdin.
DT_DLL_RTIUTIL int DtGetKey ()
 Returns a single character of input from stdin.
DT_DLL_RTIUTIL bool DtNonBlockingPollInputLine (DtString &buff)
DT_DLL_RTIUTIL DtException const & DtInitialException (DtException const &ex)
DT_DLL_RTIUTIL bool DtReadFile (FILE *fileHandle, char **fileBuffer, unsigned int *fileSize)
 Read an opened file into a new buffer of returned size.
int DtBitsRequiredToRepresent (unsigned long x)
 Return the number of bits required to represent the given value as an unsigned integer.
DT_DLL_RTIUTIL const DtString & DtGetLocalHostName ()
 Returns the local hostname.
DT_DLL_RTIUTIL DtString DtPerformDNSLookup (DtInetAddr addr)
DT_DLL_RTIUTIL DtOutputStream & DtRtiOutputStream (DtNotifyLevelType level)
DT_DLL_RTIUTIL bool changeAssistantStartup (DtRtiAssistantStartupRequest desiredState)
DT_DLL_RTIUTIL bool removeAssistantStartup ()
DT_DLL_RTIUTIL void queryAssistantStartup (bool &isStartupItem, bool &isUserStartupItem)
DT_DLL_RTIUTIL MAKRti::DtInetAddr DtDefaultInterfaceAddr ()
 Windows and Linux ONLY.
DT_DLL_RTIUTIL int DtEnumerateInterfaces (std::vector< DtInetAddr > &addresses, bool ignoreLoopback)
bool DtIsIpOfLocalInterface (const DtInetAddr &addrInQuestion, bool refresh)
unsigned long long DtFirstHostMACAddr ()

Macro Definition Documentation

#define EXPORT

Function Documentation

DT_DLL_RTIUTIL bool changeAssistantStartup ( DtRtiAssistantStartupRequest  desiredState)
int DtBitsRequiredToRepresent ( unsigned long  x)

Return the number of bits required to represent the given value as an unsigned integer.

(1 bit if x is 0)

Referenced by DtRIDParameters::sanityCheckRIDParameters().

DT_DLL_RTIUTIL MAKRti::DtInetAddr DtDefaultInterfaceAddr ( )
DT_DLL_RTIUTIL int DtEnumerateInterfaces ( std::vector< DtInetAddr > &  addresses,
bool  ignoreLoopback 
)
unsigned long long DtFirstHostMACAddr ( )
DT_DLL_RTIUTIL int DtGetKey ( )

Returns a single character of input from stdin.

Blocking, usually guarded with a call to kbhit()

Referenced by DtNonBlockingPollInputLine().

DT_DLL_RTIUTIL const DtString& DtGetLocalHostName ( )
DT_DLL_RTIUTIL DtException const& DtInitialException ( DtException const &  ex)
bool DtIsIpOfLocalInterface ( const DtInetAddr &  addrInQuestion,
bool  refresh 
)
DT_DLL_RTIUTIL int DtKBHit ( )

Detect if there has been a button press on stdin.

Doesn't shift input.

Referenced by DtNonBlockingPollInputLine().

DT_DLL_RTIUTIL bool DtLocateConfigFile ( DtFilename const &  fileName,
DtFilename &  locatedFileName 
)
std::string EXPORT DtMakRtiVersion ( )
DT_DLL_RTIUTIL bool DtNonBlockingPollInputLine ( DtString &  buff)

References DtGetKey(), and DtKBHit().

DT_DLL_RTIUTIL DtString DtPerformDNSLookup ( DtInetAddr  addr)
DT_DLL_RTIUTIL bool DtReadFile ( FILE *  fileHandle,
char **  fileBuffer,
unsigned int *  fileSize 
)

Read an opened file into a new buffer of returned size.

References NULL.

Referenced by DtFileDistributor::fedFileUploaded(), DtFedExec::isFomAvailable(), DtRtiExecFederateMgr::isFomAvailable(), and DtFileDistributor::sendFedFile().

DT_DLL_RTIUTIL void DtRtiAttachNotificationPrinter ( DtNotifyLevelType  level,
DtPrinter printer 
)
DT_DLL_RTIUTIL void DtRtiDetachNotificationPrinter ( DtNotifyLevelType  level,
DtPrinter printer 
)
DT_DLL_RTIUTIL DtFilename DtRtiLibPath ( const DtString &  searchPath)
DT_DLL_RTIUTIL DtOutputStream& DtRtiOutputStream ( DtNotifyLevelType  level)
DT_DLL_RTIUTIL DtFilename DtRtiSearchPathList ( const DtFilename &  libName,
const DtString &  searchPath 
)
DT_DLL_RTIUTIL void DtSetNotifyLevel ( unsigned int  notifyLevel)

References notifyLevel.

DT_DLL_RTIUTIL void queryAssistantStartup ( bool &  isStartupItem,
bool &  isUserStartupItem 
)
DT_DLL_RTIUTIL bool removeAssistantStartup ( )

Referenced by changeAssistantStartup().


Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)