#include <TableController.h>
|
| TableController () |
|
void | OnFileListRequest (const CARTA::CatalogListRequest &file_list_request, CARTA::CatalogListResponse &file_list_response) |
|
void | OnFileInfoRequest (const CARTA::CatalogFileInfoRequest &file_info_request, CARTA::CatalogFileInfoResponse &file_info_response) |
|
void | OnOpenFileRequest (const CARTA::OpenCatalogFile &open_file_request, CARTA::OpenCatalogFileAck &open_file_response) |
|
void | OnCloseFileRequest (const CARTA::CloseCatalogFile &close_file_request) |
|
void | OnFilterRequest (const CARTA::CatalogFilterRequest &filter_request, std::function< void(const CARTA::CatalogFilterResponse &)> partial_results_callback) |
|
void | StopGettingFileList () |
|
void | SetProgressCallBack (const std::function< void(CARTA::ListProgress)> &progress_callback) |
|
|
void | PopulateHeaders (google::protobuf::RepeatedPtrField< CARTA::CatalogHeader > *headers, const Table &table) |
|
void | ApplyFilter (const CARTA::FilterConfig &filter_config, TableView &view) |
|
fs::path | GetPath (std::string directory, std::string name="") |
|
|
static bool | FilterParamsChanged (const std::vector< CARTA::FilterConfig > &filter_configs, std::string sort_column, CARTA::SortingType sorting_type, const TableViewCache &cached_config) |
|
◆ TableController()
TableController::TableController |
( |
| ) |
|
◆ ApplyFilter()
void TableController::ApplyFilter |
( |
const CARTA::FilterConfig & |
filter_config, |
|
|
TableView & |
view |
|
) |
| |
|
protected |
◆ FilterParamsChanged()
bool TableController::FilterParamsChanged |
( |
const std::vector< CARTA::FilterConfig > & |
filter_configs, |
|
|
std::string |
sort_column, |
|
|
CARTA::SortingType |
sorting_type, |
|
|
const TableViewCache & |
cached_config |
|
) |
| |
|
staticprotected |
◆ GetPath()
fs::path TableController::GetPath |
( |
std::string |
directory, |
|
|
std::string |
name = "" |
|
) |
| |
|
protected |
◆ OnCloseFileRequest()
void TableController::OnCloseFileRequest |
( |
const CARTA::CloseCatalogFile & |
close_file_request | ) |
|
◆ OnFileInfoRequest()
void TableController::OnFileInfoRequest |
( |
const CARTA::CatalogFileInfoRequest & |
file_info_request, |
|
|
CARTA::CatalogFileInfoResponse & |
file_info_response |
|
) |
| |
◆ OnFileListRequest()
void TableController::OnFileListRequest |
( |
const CARTA::CatalogListRequest & |
file_list_request, |
|
|
CARTA::CatalogListResponse & |
file_list_response |
|
) |
| |
◆ OnFilterRequest()
void TableController::OnFilterRequest |
( |
const CARTA::CatalogFilterRequest & |
filter_request, |
|
|
std::function< void(const CARTA::CatalogFilterResponse &)> |
partial_results_callback |
|
) |
| |
◆ OnOpenFileRequest()
void TableController::OnOpenFileRequest |
( |
const CARTA::OpenCatalogFile & |
open_file_request, |
|
|
CARTA::OpenCatalogFileAck & |
open_file_response |
|
) |
| |
◆ PopulateHeaders()
void TableController::PopulateHeaders |
( |
google::protobuf::RepeatedPtrField< CARTA::CatalogHeader > * |
headers, |
|
|
const Table & |
table |
|
) |
| |
|
protected |
◆ SetProgressCallBack()
void carta::TableController::SetProgressCallBack |
( |
const std::function< void(CARTA::ListProgress)> & |
progress_callback | ) |
|
|
inline |
◆ StopGettingFileList()
void carta::TableController::StopGettingFileList |
( |
| ) |
|
|
inline |
◆ _first_report_made
volatile bool carta::TableController::_first_report_made |
|
private |
◆ _progress_callback
std::function<void(CARTA::ListProgress)> carta::TableController::_progress_callback |
|
private |
◆ _starting_folder
std::string carta::TableController::_starting_folder |
|
private |
◆ _stop_getting_file_list
volatile bool carta::TableController::_stop_getting_file_list |
|
private |
◆ _tables
std::unordered_map<int, Table> carta::TableController::_tables |
|
protected |
◆ _top_level_folder
std::string carta::TableController::_top_level_folder |
|
private |
◆ _view_cache
std::unordered_map<int, TableViewCache> carta::TableController::_view_cache |
|
protected |
The documentation for this class was generated from the following files: