CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
carta::ChannelMapSettings Class Reference

#include <ChannelMapSettings.h>

Collaboration diagram for carta::ChannelMapSettings:
[legend]

Public Member Functions

 ChannelMapSettings (const CARTA::SetImageChannels &message)
 
 ~ChannelMapSettings ()=default
 
bool SetChannelMap (const CARTA::SetImageChannels &message)
 
bool IsInChannelRange (int file_id, int channel)
 
bool HasRequiredTiles (int file_id, const CARTA::AddRequiredTiles &required_tiles)
 
bool GetValidTiles (int file_id, const CARTA::AddRequiredTiles &required_tiles, std::vector< int > &valid_tiles)
 
void RemoveFile (int file_id)
 

Private Member Functions

bool SetChannelMapParams (const CARTA::SetImageChannels &message)
 

Private Attributes

std::unordered_map< int, std::mutex > _file_mutexes
 
std::unordered_map< int, AxisRange_channel_ranges
 
std::unordered_map< int, RequiredTiles_required_tiles
 

Constructor & Destructor Documentation

◆ ChannelMapSettings()

carta::ChannelMapSettings::ChannelMapSettings ( const CARTA::SetImageChannels &  message)
Here is the call graph for this function:

◆ ~ChannelMapSettings()

carta::ChannelMapSettings::~ChannelMapSettings ( )
default

Member Function Documentation

◆ GetValidTiles()

bool carta::ChannelMapSettings::GetValidTiles ( int  file_id,
const CARTA::AddRequiredTiles &  required_tiles,
std::vector< int > &  valid_tiles 
)

◆ HasRequiredTiles()

bool carta::ChannelMapSettings::HasRequiredTiles ( int  file_id,
const CARTA::AddRequiredTiles &  required_tiles 
)
Here is the caller graph for this function:

◆ IsInChannelRange()

bool carta::ChannelMapSettings::IsInChannelRange ( int  file_id,
int  channel 
)
Here is the caller graph for this function:

◆ RemoveFile()

void carta::ChannelMapSettings::RemoveFile ( int  file_id)

◆ SetChannelMap()

bool carta::ChannelMapSettings::SetChannelMap ( const CARTA::SetImageChannels &  message)
Here is the call graph for this function:

◆ SetChannelMapParams()

bool carta::ChannelMapSettings::SetChannelMapParams ( const CARTA::SetImageChannels &  message)
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _channel_ranges

std::unordered_map<int, AxisRange> carta::ChannelMapSettings::_channel_ranges
private

◆ _file_mutexes

std::unordered_map<int, std::mutex> carta::ChannelMapSettings::_file_mutexes
private

◆ _required_tiles

std::unordered_map<int, RequiredTiles> carta::ChannelMapSettings::_required_tiles
private

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