|
ldas-tools-frameAPI
2.6.6
|
Singleton to keep track of how to support io on a device. More...
#include <DeviceIOConfiguration.hh>


Classes | |
| struct | Characteristics |
| struct | Description |
Public Types | |
| typedef INT_8U | dev_type |
| typedef FrameCPP::Common::FrameBufferInterface::buffer_size_type | size_type |
| typedef bool | use_mmap_io_type |
| typedef std::vector< Description > | descriptions_type |
Public Member Functions | |
| DeviceIOConfiguration () | |
| Constructor. More... | |
| ~DeviceIOConfiguration () | |
| Destructor. More... | |
Static Public Member Functions | |
| static void | GetConfiguration (const char *Filename, size_type &BufferSize, bool &UseMemoryMappedIO) |
| Fetch the options for the device associated with the file. More... | |
| static void | GetConfiguration (const char *Filename, size_type &BufferSize, bool &UseMemoryMappedIO, std::string &FSType) |
| Fetch the options for the device associated with the file. More... | |
| static std::string | Reset (const descriptions_type &Descriptions) |
| Resets the cache to be empty. More... | |
Private Types | |
| typedef std::map< dev_type, Characteristics > | cache_type |
| typedef LDASTools::AL::unordered_map< std::string, Characteristics > | fstype_cache_type |
Private Member Functions | |
| void | get_configuration (const char *Filename, size_type &BufferSize, bool &UseMemoryMappedIO, std::string &FSType) |
| Fetch the options for the device associated with the file. More... | |
| std::string | reset (const descriptions_type &Descriptions) |
| Resets the cache to be empty. More... | |
Private Attributes | |
| LDASTools::AL::ReadWriteLock::baton_type | m_cache_lock |
| cache_type | m_cache |
| fstype_cache_type | m_fstype_cache |
| MountMgr | m_mount_mgr |
Singleton to keep track of how to support io on a device.
|
private |
| typedef std::vector< Description > FrameAPI::DeviceIOConfiguration::descriptions_type |
| typedef INT_8U FrameAPI::DeviceIOConfiguration::dev_type |
|
private |
| typedef FrameCPP::Common::FrameBufferInterface::buffer_size_type FrameAPI::DeviceIOConfiguration::size_type |
| typedef bool FrameAPI::DeviceIOConfiguration::use_mmap_io_type |
| FrameAPI::DeviceIOConfiguration::DeviceIOConfiguration | ( | ) |
Constructor.
| DeviceIOConfiguration::~DeviceIOConfiguration | ( | ) |
Destructor.
|
private |
Fetch the options for the device associated with the file.
| [in] | Filename | The name of the file on the device being queried. |
| [out] | BufferSize | The optimal size of the buffer for the device. |
| [out] | UseMemoryMappedIO | True if the device performance is enhanced by using memory mapped I/O. |
| [out] | FSType | The description of the file type for the device being queried. |
|
inlinestatic |
Fetch the options for the device associated with the file.
| [in] | Filename | The name of the file on the device being queried. |
| [out] | BufferSize | The optimal size of the buffer for the device. |
| [out] | UseMemoryMappedIO | True if the device performance is enhanced by using memory mapped I/O. |
|
static |
Fetch the options for the device associated with the file.
| [in] | Filename | The name of the file on the device being queried. |
| [out] | BufferSize | The optimal size of the buffer for the device. |
| [out] | UseMemoryMappedIO | True if the device performance is enhanced by using memory mapped I/O. |
| [out] | FSType | The description of the file type for the device being queried. |
|
static |
Resets the cache to be empty.
| [out] | Descriptions | List of names or file system types that are to be reset. |
|
private |
Resets the cache to be empty.
| [out] | Descriptions | List of names or file system types that are to be reset. |
|
private |
|
private |
|
private |
|
private |
1.8.13