Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::ProjectModule Class Referencefinal

Singleton. More...

#include <ProjectModule.h>

Inheritance diagram for sf::ProjectModule:
Collaboration diagram for sf::ProjectModule:

Public Types

typedef TVector< ProjectData * > TProjects
 

Public Member Functions

bool Initialize ()
 Initializes anything in need for initialization.
 
void DestroyServers ()
 Destroys the all servers. Is normally called by the destructor.
 
std::string GetSystemDesignation () const
 
const std::string & SetSystemDesignation (std::string name)
 
void SetSettingsGlobal (bool global)
 
bool GetSettingsGlobal () const
 
void SetFilterListGlobal (bool global)
 
bool GetFilterListGlobal () const
 
bool GetSystemPosition (ESystemPosition sp, gmi::AxesCoord &ac) const
 
const gmi::AxesCoordGetSystemPosition (ESystemPosition sp) const
 
bool SetSystemPosition (ESystemPosition sp, const gmi::AxesCoord &ac)
 
bool ReadWriteSystemPositions (bool rd)
 
void GetInspectionParts (QStringList &parts)
 
void GetInspectionSerials (const QString &part, QStringList &serials)
 
void GetInspectionDates (const QString &part, const QString &serial, QStringList &date_times)
 
QString GetInspectionFileDir (const TPartInspection *part_inspection)
 
QString GetInspectionFileSubDir (const TPartInspection *pi)
 
bool InspectionExists (const TPartInspection *pi) const
 
bool InspectionExists (const QString &part, const QString &serial, const QString &dts) const
 
IniEnvelope GetInspectionIni (const TPartInspection *pi)
 
std::string GetCalibrationSetSection (ECalibrationType cal_type, const std::string &set_name)
 
std::string GetConfigCalibrationSetSection () const
 
void GetConfigCalibrationSetNames (QStringList &names) const
 
bool GetInspectionCalibSetValues (const TPartInspection *pi, ECalibrationType cal_type, const std::string &set_name, KeyValues &values)
 
bool SetInspectionCalibSetValues (const TPartInspection *pi, ECalibrationType cal_type, const std::string &set_name, const KeyValues &values)
 
bool GetCalibrationSetNames (const TPartInspection *part_inspection, ECalibrationType cal_type, QStringList &set_names)
 
std::string GetInspectionAreaIniSection (const std::string &scan_area) const
 
std::string GetInspectionAnalysisIniSection (const std::string &scan_area, const std::string &name) const
 
bool GetInspectionGeneralInfo (const TPartInspection *pi, KeyValues &info)
 
bool GetInspectionCustomInfo (const TPartInspection *pi, KeyValues &info)
 
bool SetInspectionCustomInfo (const TPartInspection *pi, const KeyValues &info)
 
bool GetInspectionScanAreaInfo (const TPartInspection *pi, const std::string &scan_area, KeyValues &info)
 
EInspectionState GetInspectionState (const TPartInspection *pi, const std::string &scan_area) const
 
bool SetInspectionState (const TPartInspection *pi, const std::string &scan_area, EInspectionState is)
 
QString GetInspectionUser (const TPartInspection *pi, const std::string &scan_area) const
 
bool SetInspectionUser (const TPartInspection *pi, const std::string &scan_area, const std::string &username, const QDateTime &datetime)
 
QString GetInspectionDateTimeStr (const TPartInspection *pi, const std::string &scan_area) const
 
ECalibrationType GetInspectionCalType (const TPartInspection *pi, const std::string &scan_area) const
 
bool SetInspectionCalType (const TPartInspection *pi, const std::string &scan_area, ECalibrationType ct)
 
QString GetInspectionComment (const TPartInspection *pi, const std::string &scan_area) const
 
bool SetInspectionComment (const TPartInspection *pi, const std::string &scan_area, const std::string &comment)
 
bool IsInspectionFinalized (const TPartInspection *part_inspection) const
 
bool FinalizeInspection (const TPartInspection *pi, bool reset=false)
 
QString GetInspectionDataFileName (const TPartInspection *pi, const std::string &scan_area, int file_index=-1) const
 
bool GetInspectionDataFileNames (const TPartInspection *pi, const std::string &scan_area, QStringList &names) const
 
bool SetInspectionDataFileName (const TPartInspection *pi, const std::string &scan_area, const QString &filename)
 
bool GetInspectionScanAreas (const TPartInspection *pi, QStringList &scan_areas) const
 
bool GetInspectionAnalysisEntries (const TPartInspection *pi, const std::string &scan_area, strings &names) const
 
bool GetAnalysisInfo (const TPartInspection *pi, const std::string &scan_area, const std::string &name, KeyValues &info) const
 
bool SetAnalysisInfo (const TPartInspection *pi, const std::string &scan_area, const std::string &name, const KeyValues &info)
 
bool RemoveAllAnalysisInfo (const TPartInspection *pi, const std::string &scan_area)
 
bool NewPartInspection (const PartProject *pp, TPartInspection *pi)
 
void GetPartProject (PartProject *pp, const TPartInspection *pi) const
 
bool SelectInspectedPart (TPartInspection *pi)
 
bool SelectInspectedPart (QString &part)
 
bool SelectInspection (TPartInspection *pi, bool create=false)
 
IniEnvelope GetProjectCalibIni (const PartProject *part_proj)
 
bool SetProjectCalibSetValues (const PartProject *part_proj, ECalibrationType cal_type, const std::string &set_name, const KeyValues &values)
 
bool GetProjectCalibSetValues (const PartProject *part_proj, ECalibrationType cal_type, const std::string &set_name, KeyValues &values)
 
bool setProjectDataDir (const QString &dir)
 
QString getProjectDataDir ()
 
bool IsProjectDirValid ()
 
void GetProjectParts (QStringList &parts)
 
QStringList GetProjectParts ()
 
void GetProjects (const QString &part, QStringList &projects)
 
QStringList GetProjects (const QString &part)
 
void GetScans (const QString &part, QStringList &scans)
 
bool PartExists (const QString &part) const
 
bool PartExists (const PartProject *part_project) const
 
void GetTools (QStringList &tools) const
 
void GetElements (QStringList &elements) const
 
void GetMaterials (QStringList &materials, EMaterialType mt) const
 
QString GetSettingsDir (const QString &part) const
 
void GetSettings (QStringList &names, const QString &part) const
 
QString GetTemplateDir () const
 
void GetScanTemplates (QStringList &names) const
 
IniEnvelope GetScanTemplateIni (const QString &name)
 
bool NewProjectPart (const QString &part)
 
bool ProjectExists (const QString &part, const QString &project) const
 
bool ProjectExists (const PartProject *pp) const
 
bool ScanExists (const QString &part, const QString &scan)
 
bool ToolExists (const QString &tool)
 
bool ElementExists (const QString &element)
 
bool MaterialExists (const QString &material)
 
bool SettingsExists (const QString &part, const QString &settings)
 
bool GetScanAreaExists (const QString &part, const QString &scan)
 
IniEnvelope GetScanIni (const QString &part, const QString &scan)
 
QString GetScanStateIniPath (const QString &part, const QString &scan)
 
QString GetPartStateIniPath (const QString &part)
 
IniEnvelope GetSettingsIni (const QString &part, const QString &settings_name)
 
IniEnvelope GetToolIni (const QString &tool)
 
IniEnvelope GetElementIni (const QString &element)
 
IniEnvelope GetMaterialIni (const QString &material)
 
IniEnvelope GetConfigIni ()
 
QString GetProjectFilePath (const PartProject *part_project) const
 
QString GetFilterPath (const PartProject *part_project) const
 
QString GetPartDirectory (const QString &part) const
 
QImage getPartPicture (const QString &part)
 
bool GetToolPicture (const QString &tool, QImage &picture)
 
bool GetElementPicture (const QString &element, QImage &picture)
 
bool SelectProjectPart (PartProject *part_project)
 
bool SelectProjectPart (QString &part)
 
bool SelectPartProject (PartProject *part_project)
 
bool SelectProject (PartProject *part_project)
 
const TProjectsGetOpenProjects () const
 
bool setInspectionDataDir (const QString &dir)
 
QString getInspectionDataDir ()
 
bool IsInspectionDataDirValid ()
 
GmiServerGetMotionServer ()
 
void DestroyDevices ()
 
void AddServerPropertyPages (PropertySheetDialog *sheet)
 
void AddProjectPropertyPages (PropertySheetDialog *sheet)
 
int GetAcquisitionServerCount () const
 
RsaServerGetAcquisitionServer (int index)
 
const RsaServerGetAcquisitionServer (int index) const
 
StorageInterfaceGetStorage ()
 
bool ManualControl ()
 
gmi::ControllerGetController ()
 
bool ControllerAllocate (const QString &allocator)
 
bool ControllerFree (const QString &allocator)
 
bool IsControllerAllocated ()
 
int GetUsageCount ()
 
bool InitializeProjects ()
 
bool CanInitializeProjects ()
 
void Attach (ProjectData *)
 
void Detach (ProjectData *)
 
ProjectDataGetActiveProject ()
 
bool SetActiveProject (ProjectData *project)
 
void RegisterToolEditor (TAddProjectPropertyPage editor)
 
void RegisterElementEditor (TAddProjectPropertyPage editor)
 
void RegisterMaterialEditor (TAddProjectPropertyPage editor)
 
bool EditTool (const QString &tool)
 
bool EditElement (const QString &element)
 
bool EditMaterial (const QString &material)
 
bool GetMaterialVelocity (const QString &material, bool shear, double &value)
 
bool SetMaterialVelocity (const QString &material, double longitudinal_vel, double shear_vel)
 
void RegisterReportGenerator (TGenerateReportEvent handler)
 
bool HasReportGenerator ()
 
bool GenerateReport (ProjectData *data)
 
bool GetReportTemplates (QStringList &strings)
 
bool BackupInspection (const TPartInspection *part_inspection)
 
bool BackupProjects ()
 
bool IsBackupAvailable () const
 
- Public Member Functions inherited from sf::ProjectConfig
 ProjectConfig ()
 
virtual ~ProjectConfig ()
 
Settingssettings ()
 
RsaServergetServerAcquisitionUt ()
 
RsaServergetServerAcquisitionEt ()
 
StorageServergetServerStorage ()
 
GmiServergetServerMotion ()
 
virtual void addPropertyPages (PropertySheetDialog *sheet)
 

Public Attributes

Security SecurityConfig
 
Security SecurityProject
 
Security SecurityInspection
 

Protected Member Functions

 ProjectModule ()
 Default constructor.
 
 ~ProjectModule () override
 Virtual Destructor.
 
QString GetConfigProfilePath () const
 
void HandlePropertyPage (QObject *sender)
 

Friends

void destroyProjectModule ()
 Deletes the project module if it was created.
 
ProjectModulegetProjectModule ()
 Creates the project module when called for.
 

Additional Inherited Members

- Protected Attributes inherited from sf::ProjectConfig
Settings_settings {nullptr}
 
RsaServer_serverAcquisitionUt
 
RsaServer_serverAcquisitionEt
 
GmiServer_serverMotion
 
StorageServer_serverStorage
 

Detailed Description

Singleton.

Member Typedef Documentation

◆ TProjects

Constructor & Destructor Documentation

◆ ProjectModule()

sf::ProjectModule::ProjectModule ( )
protected

Default constructor.

◆ ~ProjectModule()

sf::ProjectModule::~ProjectModule ( )
overrideprotected

Virtual Destructor.

Member Function Documentation

◆ AddProjectPropertyPages()

void sf::ProjectModule::AddProjectPropertyPages ( PropertySheetDialog sheet)

◆ AddServerPropertyPages()

void sf::ProjectModule::AddServerPropertyPages ( PropertySheetDialog sheet)

◆ Attach()

void sf::ProjectModule::Attach ( ProjectData )

◆ BackupInspection()

bool sf::ProjectModule::BackupInspection ( const TPartInspection part_inspection)

◆ BackupProjects()

bool sf::ProjectModule::BackupProjects ( )

◆ CanInitializeProjects()

bool sf::ProjectModule::CanInitializeProjects ( )

◆ ControllerAllocate()

bool sf::ProjectModule::ControllerAllocate ( const QString &  allocator)

◆ ControllerFree()

bool sf::ProjectModule::ControllerFree ( const QString &  allocator)

◆ DestroyDevices()

void sf::ProjectModule::DestroyDevices ( )

◆ DestroyServers()

void sf::ProjectModule::DestroyServers ( )

Destroys the all servers. Is normally called by the destructor.

◆ Detach()

void sf::ProjectModule::Detach ( ProjectData )

◆ EditElement()

bool sf::ProjectModule::EditElement ( const QString &  element)

◆ EditMaterial()

bool sf::ProjectModule::EditMaterial ( const QString &  material)

◆ EditTool()

bool sf::ProjectModule::EditTool ( const QString &  tool)

◆ ElementExists()

bool sf::ProjectModule::ElementExists ( const QString &  element)

◆ FinalizeInspection()

bool sf::ProjectModule::FinalizeInspection ( const TPartInspection pi,
bool  reset = false 
)

◆ GenerateReport()

bool sf::ProjectModule::GenerateReport ( ProjectData data)

◆ GetAcquisitionServer() [1/2]

RsaServer * sf::ProjectModule::GetAcquisitionServer ( int  index)

◆ GetAcquisitionServer() [2/2]

const RsaServer * sf::ProjectModule::GetAcquisitionServer ( int  index) const

◆ GetAcquisitionServerCount()

int sf::ProjectModule::GetAcquisitionServerCount ( ) const
inline

◆ GetActiveProject()

ProjectData * sf::ProjectModule::GetActiveProject ( )

◆ GetAnalysisInfo()

bool sf::ProjectModule::GetAnalysisInfo ( const TPartInspection pi,
const std::string &  scan_area,
const std::string &  name,
KeyValues info 
) const

◆ GetCalibrationSetNames()

bool sf::ProjectModule::GetCalibrationSetNames ( const TPartInspection part_inspection,
ECalibrationType  cal_type,
QStringList &  set_names 
)

◆ GetCalibrationSetSection()

std::string sf::ProjectModule::GetCalibrationSetSection ( ECalibrationType  cal_type,
const std::string &  set_name 
)

◆ GetConfigCalibrationSetNames()

void sf::ProjectModule::GetConfigCalibrationSetNames ( QStringList &  names) const

◆ GetConfigCalibrationSetSection()

std::string sf::ProjectModule::GetConfigCalibrationSetSection ( ) const

◆ GetConfigIni()

IniEnvelope sf::ProjectModule::GetConfigIni ( )

◆ GetConfigProfilePath()

QString sf::ProjectModule::GetConfigProfilePath ( ) const
protected

◆ GetController()

gmi::Controller * sf::ProjectModule::GetController ( )

◆ GetElementIni()

IniEnvelope sf::ProjectModule::GetElementIni ( const QString &  element)

◆ GetElementPicture()

bool sf::ProjectModule::GetElementPicture ( const QString &  element,
QImage &  picture 
)

◆ GetElements()

void sf::ProjectModule::GetElements ( QStringList &  elements) const

◆ GetFilterListGlobal()

bool sf::ProjectModule::GetFilterListGlobal ( ) const

◆ GetFilterPath()

QString sf::ProjectModule::GetFilterPath ( const PartProject part_project) const

◆ GetInspectionAnalysisEntries()

bool sf::ProjectModule::GetInspectionAnalysisEntries ( const TPartInspection pi,
const std::string &  scan_area,
strings names 
) const

◆ GetInspectionAnalysisIniSection()

std::string sf::ProjectModule::GetInspectionAnalysisIniSection ( const std::string &  scan_area,
const std::string &  name 
) const

◆ GetInspectionAreaIniSection()

std::string sf::ProjectModule::GetInspectionAreaIniSection ( const std::string &  scan_area) const

◆ GetInspectionCalibSetValues()

bool sf::ProjectModule::GetInspectionCalibSetValues ( const TPartInspection pi,
ECalibrationType  cal_type,
const std::string &  set_name,
KeyValues values 
)

◆ GetInspectionCalType()

ECalibrationType sf::ProjectModule::GetInspectionCalType ( const TPartInspection pi,
const std::string &  scan_area 
) const

◆ GetInspectionComment()

QString sf::ProjectModule::GetInspectionComment ( const TPartInspection pi,
const std::string &  scan_area 
) const

◆ GetInspectionCustomInfo()

bool sf::ProjectModule::GetInspectionCustomInfo ( const TPartInspection pi,
KeyValues info 
)

◆ getInspectionDataDir()

QString sf::ProjectModule::getInspectionDataDir ( )

◆ GetInspectionDataFileName()

QString sf::ProjectModule::GetInspectionDataFileName ( const TPartInspection pi,
const std::string &  scan_area,
int  file_index = -1 
) const

◆ GetInspectionDataFileNames()

bool sf::ProjectModule::GetInspectionDataFileNames ( const TPartInspection pi,
const std::string &  scan_area,
QStringList &  names 
) const

◆ GetInspectionDates()

void sf::ProjectModule::GetInspectionDates ( const QString &  part,
const QString &  serial,
QStringList &  date_times 
)

◆ GetInspectionDateTimeStr()

QString sf::ProjectModule::GetInspectionDateTimeStr ( const TPartInspection pi,
const std::string &  scan_area 
) const

◆ GetInspectionFileDir()

QString sf::ProjectModule::GetInspectionFileDir ( const TPartInspection part_inspection)

◆ GetInspectionFileSubDir()

QString sf::ProjectModule::GetInspectionFileSubDir ( const TPartInspection pi)

◆ GetInspectionGeneralInfo()

bool sf::ProjectModule::GetInspectionGeneralInfo ( const TPartInspection pi,
KeyValues info 
)

◆ GetInspectionIni()

IniEnvelope sf::ProjectModule::GetInspectionIni ( const TPartInspection pi)

◆ GetInspectionParts()

void sf::ProjectModule::GetInspectionParts ( QStringList &  parts)

◆ GetInspectionScanAreaInfo()

bool sf::ProjectModule::GetInspectionScanAreaInfo ( const TPartInspection pi,
const std::string &  scan_area,
KeyValues info 
)

◆ GetInspectionScanAreas()

bool sf::ProjectModule::GetInspectionScanAreas ( const TPartInspection pi,
QStringList &  scan_areas 
) const

◆ GetInspectionSerials()

void sf::ProjectModule::GetInspectionSerials ( const QString &  part,
QStringList &  serials 
)

◆ GetInspectionState()

EInspectionState sf::ProjectModule::GetInspectionState ( const TPartInspection pi,
const std::string &  scan_area 
) const

◆ GetInspectionUser()

QString sf::ProjectModule::GetInspectionUser ( const TPartInspection pi,
const std::string &  scan_area 
) const

◆ GetMaterialIni()

IniEnvelope sf::ProjectModule::GetMaterialIni ( const QString &  material)

◆ GetMaterials()

void sf::ProjectModule::GetMaterials ( QStringList &  materials,
EMaterialType  mt 
) const

◆ GetMaterialVelocity()

bool sf::ProjectModule::GetMaterialVelocity ( const QString &  material,
bool  shear,
double &  value 
)

◆ GetMotionServer()

GmiServer * sf::ProjectModule::GetMotionServer ( )

◆ GetOpenProjects()

const TProjects & sf::ProjectModule::GetOpenProjects ( ) const
inline

◆ GetPartDirectory()

QString sf::ProjectModule::GetPartDirectory ( const QString &  part) const

◆ getPartPicture()

QImage sf::ProjectModule::getPartPicture ( const QString &  part)

◆ GetPartProject()

void sf::ProjectModule::GetPartProject ( PartProject pp,
const TPartInspection pi 
) const

◆ GetPartStateIniPath()

QString sf::ProjectModule::GetPartStateIniPath ( const QString &  part)

◆ GetProjectCalibIni()

IniEnvelope sf::ProjectModule::GetProjectCalibIni ( const PartProject part_proj)

◆ GetProjectCalibSetValues()

bool sf::ProjectModule::GetProjectCalibSetValues ( const PartProject part_proj,
ECalibrationType  cal_type,
const std::string &  set_name,
KeyValues values 
)

◆ getProjectDataDir()

QString sf::ProjectModule::getProjectDataDir ( )

◆ GetProjectFilePath()

QString sf::ProjectModule::GetProjectFilePath ( const PartProject part_project) const

◆ GetProjectParts() [1/2]

QStringList sf::ProjectModule::GetProjectParts ( )

◆ GetProjectParts() [2/2]

void sf::ProjectModule::GetProjectParts ( QStringList &  parts)

◆ GetProjects() [1/2]

QStringList sf::ProjectModule::GetProjects ( const QString &  part)

◆ GetProjects() [2/2]

void sf::ProjectModule::GetProjects ( const QString &  part,
QStringList &  projects 
)

◆ GetReportTemplates()

bool sf::ProjectModule::GetReportTemplates ( QStringList &  strings)

◆ GetScanAreaExists()

bool sf::ProjectModule::GetScanAreaExists ( const QString &  part,
const QString &  scan 
)

◆ GetScanIni()

IniEnvelope sf::ProjectModule::GetScanIni ( const QString &  part,
const QString &  scan 
)

◆ GetScans()

void sf::ProjectModule::GetScans ( const QString &  part,
QStringList &  scans 
)

◆ GetScanStateIniPath()

QString sf::ProjectModule::GetScanStateIniPath ( const QString &  part,
const QString &  scan 
)

◆ GetScanTemplateIni()

IniEnvelope sf::ProjectModule::GetScanTemplateIni ( const QString &  name)

◆ GetScanTemplates()

void sf::ProjectModule::GetScanTemplates ( QStringList &  names) const

◆ GetSettings()

void sf::ProjectModule::GetSettings ( QStringList &  names,
const QString &  part 
) const

◆ GetSettingsDir()

QString sf::ProjectModule::GetSettingsDir ( const QString &  part) const

◆ GetSettingsGlobal()

bool sf::ProjectModule::GetSettingsGlobal ( ) const

◆ GetSettingsIni()

IniEnvelope sf::ProjectModule::GetSettingsIni ( const QString &  part,
const QString &  settings_name 
)

◆ GetStorage()

StorageInterface * sf::ProjectModule::GetStorage ( )
inline

◆ GetSystemDesignation()

std::string sf::ProjectModule::GetSystemDesignation ( ) const

◆ GetSystemPosition() [1/2]

const gmi::AxesCoord & sf::ProjectModule::GetSystemPosition ( ESystemPosition  sp) const

◆ GetSystemPosition() [2/2]

bool sf::ProjectModule::GetSystemPosition ( ESystemPosition  sp,
gmi::AxesCoord ac 
) const

◆ GetTemplateDir()

QString sf::ProjectModule::GetTemplateDir ( ) const

◆ GetToolIni()

IniEnvelope sf::ProjectModule::GetToolIni ( const QString &  tool)

◆ GetToolPicture()

bool sf::ProjectModule::GetToolPicture ( const QString &  tool,
QImage &  picture 
)

◆ GetTools()

void sf::ProjectModule::GetTools ( QStringList &  tools) const

◆ GetUsageCount()

int sf::ProjectModule::GetUsageCount ( )
inline

◆ HandlePropertyPage()

void sf::ProjectModule::HandlePropertyPage ( QObject *  sender)
protected

◆ HasReportGenerator()

bool sf::ProjectModule::HasReportGenerator ( )

◆ Initialize()

bool sf::ProjectModule::Initialize ( )

Initializes anything in need for initialization.

◆ InitializeProjects()

bool sf::ProjectModule::InitializeProjects ( )

◆ InspectionExists() [1/2]

bool sf::ProjectModule::InspectionExists ( const QString &  part,
const QString &  serial,
const QString &  dts 
) const

◆ InspectionExists() [2/2]

bool sf::ProjectModule::InspectionExists ( const TPartInspection pi) const

◆ IsBackupAvailable()

bool sf::ProjectModule::IsBackupAvailable ( ) const

◆ IsControllerAllocated()

bool sf::ProjectModule::IsControllerAllocated ( )
inline

◆ IsInspectionDataDirValid()

bool sf::ProjectModule::IsInspectionDataDirValid ( )

◆ IsInspectionFinalized()

bool sf::ProjectModule::IsInspectionFinalized ( const TPartInspection part_inspection) const

◆ IsProjectDirValid()

bool sf::ProjectModule::IsProjectDirValid ( )

◆ ManualControl()

bool sf::ProjectModule::ManualControl ( )

◆ MaterialExists()

bool sf::ProjectModule::MaterialExists ( const QString &  material)

◆ NewPartInspection()

bool sf::ProjectModule::NewPartInspection ( const PartProject pp,
TPartInspection pi 
)

◆ NewProjectPart()

bool sf::ProjectModule::NewProjectPart ( const QString &  part)

◆ PartExists() [1/2]

bool sf::ProjectModule::PartExists ( const PartProject part_project) const

◆ PartExists() [2/2]

bool sf::ProjectModule::PartExists ( const QString &  part) const

◆ ProjectExists() [1/2]

bool sf::ProjectModule::ProjectExists ( const PartProject pp) const

◆ ProjectExists() [2/2]

bool sf::ProjectModule::ProjectExists ( const QString &  part,
const QString &  project 
) const

◆ ReadWriteSystemPositions()

bool sf::ProjectModule::ReadWriteSystemPositions ( bool  rd)

◆ RegisterElementEditor()

void sf::ProjectModule::RegisterElementEditor ( TAddProjectPropertyPage  editor)

◆ RegisterMaterialEditor()

void sf::ProjectModule::RegisterMaterialEditor ( TAddProjectPropertyPage  editor)

◆ RegisterReportGenerator()

void sf::ProjectModule::RegisterReportGenerator ( TGenerateReportEvent  handler)

◆ RegisterToolEditor()

void sf::ProjectModule::RegisterToolEditor ( TAddProjectPropertyPage  editor)

◆ RemoveAllAnalysisInfo()

bool sf::ProjectModule::RemoveAllAnalysisInfo ( const TPartInspection pi,
const std::string &  scan_area 
)

◆ ScanExists()

bool sf::ProjectModule::ScanExists ( const QString &  part,
const QString &  scan 
)

◆ SelectInspectedPart() [1/2]

bool sf::ProjectModule::SelectInspectedPart ( QString &  part)

◆ SelectInspectedPart() [2/2]

bool sf::ProjectModule::SelectInspectedPart ( TPartInspection pi)

◆ SelectInspection()

bool sf::ProjectModule::SelectInspection ( TPartInspection pi,
bool  create = false 
)

◆ SelectPartProject()

bool sf::ProjectModule::SelectPartProject ( PartProject part_project)

◆ SelectProject()

bool sf::ProjectModule::SelectProject ( PartProject part_project)

◆ SelectProjectPart() [1/2]

bool sf::ProjectModule::SelectProjectPart ( PartProject part_project)

◆ SelectProjectPart() [2/2]

bool sf::ProjectModule::SelectProjectPart ( QString &  part)

◆ SetActiveProject()

bool sf::ProjectModule::SetActiveProject ( ProjectData project)

◆ SetAnalysisInfo()

bool sf::ProjectModule::SetAnalysisInfo ( const TPartInspection pi,
const std::string &  scan_area,
const std::string &  name,
const KeyValues info 
)

◆ SetFilterListGlobal()

void sf::ProjectModule::SetFilterListGlobal ( bool  global)

◆ SetInspectionCalibSetValues()

bool sf::ProjectModule::SetInspectionCalibSetValues ( const TPartInspection pi,
ECalibrationType  cal_type,
const std::string &  set_name,
const KeyValues values 
)

◆ SetInspectionCalType()

bool sf::ProjectModule::SetInspectionCalType ( const TPartInspection pi,
const std::string &  scan_area,
ECalibrationType  ct 
)

◆ SetInspectionComment()

bool sf::ProjectModule::SetInspectionComment ( const TPartInspection pi,
const std::string &  scan_area,
const std::string &  comment 
)

◆ SetInspectionCustomInfo()

bool sf::ProjectModule::SetInspectionCustomInfo ( const TPartInspection pi,
const KeyValues info 
)

◆ setInspectionDataDir()

bool sf::ProjectModule::setInspectionDataDir ( const QString &  dir)

◆ SetInspectionDataFileName()

bool sf::ProjectModule::SetInspectionDataFileName ( const TPartInspection pi,
const std::string &  scan_area,
const QString &  filename 
)

◆ SetInspectionState()

bool sf::ProjectModule::SetInspectionState ( const TPartInspection pi,
const std::string &  scan_area,
EInspectionState  is 
)

◆ SetInspectionUser()

bool sf::ProjectModule::SetInspectionUser ( const TPartInspection pi,
const std::string &  scan_area,
const std::string &  username,
const QDateTime &  datetime 
)

◆ SetMaterialVelocity()

bool sf::ProjectModule::SetMaterialVelocity ( const QString &  material,
double  longitudinal_vel,
double  shear_vel 
)

◆ SetProjectCalibSetValues()

bool sf::ProjectModule::SetProjectCalibSetValues ( const PartProject part_proj,
ECalibrationType  cal_type,
const std::string &  set_name,
const KeyValues values 
)

◆ setProjectDataDir()

bool sf::ProjectModule::setProjectDataDir ( const QString &  dir)

◆ SetSettingsGlobal()

void sf::ProjectModule::SetSettingsGlobal ( bool  global)

◆ SetSystemDesignation()

const std::string & sf::ProjectModule::SetSystemDesignation ( std::string  name)

◆ SetSystemPosition()

bool sf::ProjectModule::SetSystemPosition ( ESystemPosition  sp,
const gmi::AxesCoord ac 
)

◆ SettingsExists()

bool sf::ProjectModule::SettingsExists ( const QString &  part,
const QString &  settings 
)

◆ ToolExists()

bool sf::ProjectModule::ToolExists ( const QString &  tool)

Friends And Related Symbol Documentation

◆ destroyProjectModule

void destroyProjectModule ( )
friend

Deletes the project module if it was created.

◆ getProjectModule

ProjectModule * getProjectModule ( )
friend

Creates the project module when called for.

Member Data Documentation

◆ SecurityConfig

Security sf::ProjectModule::SecurityConfig

◆ SecurityInspection

Security sf::ProjectModule::SecurityInspection

◆ SecurityProject

Security sf::ProjectModule::SecurityProject

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