DSIDriverSingleton Class Reference

Singleton class to hold an IDriver. More...

List of all members.

Static Public Member Functions

static Simba::DSI::IDriverGetDSIDriver ()
 Static singleton accessor.
static simba_int32 GetMaxExtraRetrieveDataChunkSize ()
 Return the DSI_DRIVER_MAXIMUM_EXTRA_RETRIEVE_DATA_CHUNK_SIZE.
static simba_int32 GetMaxPushParamDataChunkSize ()
 Return the DSI_DRIVER_MAXIMUM_PUSH_PARAM_DATA_CHUNK_SIZE.
static simba_int32 GetMaxRetrieveDataChunkSize ()
 Return the DSI_DRIVER_MAXIMUM_RETRIEVE_DATA_CHUNK_SIZE.
static void SetInstance (Simba::DSI::IDriver *in_instance, simba_handle in_instanceID)
 Sets the IDriver for the singleton.

Static Protected Attributes

static IDrivers_dsiDriver

Detailed Description

Singleton class to hold an IDriver.


Member Function Documentation

static Simba::DSI::IDriver* GetDSIDriver (  )  [static]

Static singleton accessor.

Returns:
IDriver* singleton pointer. (NOT OWN)
static simba_int32 GetMaxExtraRetrieveDataChunkSize (  )  [inline, static]

Return the DSI_DRIVER_MAXIMUM_EXTRA_RETRIEVE_DATA_CHUNK_SIZE.

This should only be called after the driver has been constructed.

Returns:
The cached value for the DSI_DRIVER_MAXIMUM_EXTRA_RETRIEVE_DATA_CHUNK_SIZE.
static simba_int32 GetMaxPushParamDataChunkSize (  )  [inline, static]

Return the DSI_DRIVER_MAXIMUM_PUSH_PARAM_DATA_CHUNK_SIZE.

This should only be called after the driver has been constructed.

Returns:
The cached value for the DSI_DRIVER_MAXIMUM_PUSH_PARAM_DATA_CHUNK_SIZE.
static simba_int32 GetMaxRetrieveDataChunkSize (  )  [inline, static]

Return the DSI_DRIVER_MAXIMUM_RETRIEVE_DATA_CHUNK_SIZE.

This should only be called after the driver has been constructed.

Returns:
The cached value for the DSI_DRIVER_MAXIMUM_RETRIEVE_DATA_CHUNK_SIZE.
static void SetInstance ( Simba::DSI::IDriver in_instance,
simba_handle  in_instanceID 
) [static]

Sets the IDriver for the singleton.

DSII implementation is passed in. in_instance is then used in the singleton implementation.

Parameters:
in_instance IDriver implementation instance. (OWN)
in_instanceID PID/HINST instance ID

Member Data Documentation

IDriver* s_dsiDriver [static, protected]

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

Generated on Wed May 17 14:21:15 2017 for SimbaEngine 10.1.3.1011 by simba