PrimoBurner(tm) for C++
4.2
CD, DVD and Blu-ray Software Development Kit
|
Provides an interface for setting the cache related properties of DataDisc. More...
#include <PrimoBurner.h>
Public Member Functions | |
virtual void | setSmallFilesCache (bool_t cacheSmallFiles)=0 |
Sets the caching of small files. | |
virtual void | setSmallFilesCacheSize (int32_t blocks)=0 |
Sets the size of the in-memory cache. | |
virtual void | setSmallFileSizeThreshold (int32_t blocks)=0 |
Sets the threshold size used to determine if a given file is a small file. | |
virtual bool_t | smallFilesCache () const =0 |
Gets the setting for caching of small files. | |
virtual int32_t | smallFilesCacheSize () const =0 |
Gets the size of the in-memory cache in blocks. | |
virtual int32_t | smallFileSizeThreshold () const =0 |
Gets the threshold size used to determine if a given file is a small file. |
Provides an interface for setting the cache related properties of DataDisc.
virtual void setSmallFilesCache | ( | bool_t | cacheSmallFiles | ) | [pure virtual] |
Sets the caching of small files.
This is useful when you burn on-the-fly with the writeToDisc method. When burning DVDs caching should be turned off. By default if you do not call this method, files are not cached before burning.
cacheSmallFiles | Indicates whether the small files should be cached before burning. If this parameter is TRUE, the caching is on. If this parameter is FALSE, the caching is turned off. |
NOTE: Caching is not done if the data source is not a file. See the DataFile class and the DataSource enumeration for more details.
virtual void setSmallFilesCacheSize | ( | int32_t | blocks | ) | [pure virtual] |
Sets the size of the in-memory cache.
Cache is useful when you burn on-the-fly with the writeToDisc method and you want to minimize the disc activity. The default cache size is 20000 blocks (~ 40MB).
blocks | The size of the cache in blocks. The size of one block is 2048 bytes. |
virtual void setSmallFileSizeThreshold | ( | int32_t | blocks | ) | [pure virtual] |
Sets the threshold size used to determine if a given file is a small file.
blocks | The size of the threshold in blocks. The size of one block is 2048 bytes. Every file with a size smaller than blocks will be considered a small file and will be placed in the DataDisc memory cache. |
virtual bool_t smallFilesCache | ( | ) | const [pure virtual] |
Gets the setting for caching of small files.
virtual int32_t smallFilesCacheSize | ( | ) | const [pure virtual] |
Gets the size of the in-memory cache in blocks.
virtual int32_t smallFileSizeThreshold | ( | ) | const [pure virtual] |
Gets the threshold size used to determine if a given file is a small file.