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

#include <CalibrationSets.h>

Inheritance diagram for sf::TCalibrationSets:
Collaboration diagram for sf::TCalibrationSets:

Public Member Functions

 TCalibrationSets (const std::string &prefix, id_type id_offset, id_type id_range)
 
 ~TCalibrationSets () override
 
int Size () const
 
void GetNames (string_list &names) const
 
int IndexOf (const std::string &name) const
 
const CalibrationSetoperator[] (int index) const
 
CalibrationSetoperator[] (int index)
 
const CalibrationSetGet (int index) const
 
CalibrationSetGet (int index)
 
const CalibrationSetGet (const std::string &name) const
 
CalibrationSetGet (const std::string &name)
 
void ReadWriteConfig (IniProfile *inifile, bool rd)
 
bool ReadWriteAssignValues (PartInspection *part_insp, bool rd)
 
bool ReadWriteAssignValues (PartProject *part_proj, bool rd)
 
bool IsDirty () const
 
void SetDirty (bool dirty=false)
 
bool AssignType (ECalibrationType cal_type, const std::string &set_name, const InformationIds *ids=nullptr)
 
void SetExports (const std::string &set_name) const
 
void SetExports (int index=-1) const
 
void ClearType (ECalibrationType cal_type, const std::string &set_name, InformationIds *ids=nullptr)
 
void ClearType (ECalibrationType cal_type, int index=-1, const InformationIds *ids=nullptr)
 
bool AssignComplete (const std::string &set_name) const
 
bool AssignComplete (int index=-1) const
 
- Public Member Functions inherited from sf::ProjectScriptObject
 ProjectScriptObject (const char *type_name)
 Constructor.
 
 ~ProjectScriptObject () override
 Virtual overridden destructor.
 
void AddScriptParam (const std::string &name, Variable *variable)
 Adds the passed variable as a parameter in the script.
 
- Public Member Functions inherited from sf::ScriptObject
 ScriptObject (const char *type_name, ScriptObject *parent=nullptr)
 
virtual ~ScriptObject ()=default
 Virtual destructor which can be overridden to clean up objects.
 
virtual std::string getStatusText ()
 Gets the status text of this object for debugging purposes.
 
int getRefCount () const
 Gets the reference count.
 
 operator Value () const
 Cast operator to be able to return this instance as a Value.
 
std::string getTypeName () const
 Returns the type name Set at the constructor.
 
ScriptObjectgetParent ()
 Gets the script object owner.
 
const ScriptObjectgetParent () const
 Gets the script object owner.
 
ScriptObjectcastToObject (const Value &value)
 Casts a sf::Value::vitCustom typed sf::Value to a ScriptObject typed pointer.
 

Protected Member Functions

void Resize (int sz)
 
void variableEventHandler (EEvent event, const Variable &caller, Variable &link, bool same_inst) override
 Pure virtual function which must be implemented when used in a polymorphic setting.
 
std::string GetNamePrefix (ECalibrationType cal_type)
 
- Protected Member Functions inherited from sf::ProjectScriptObject
const IdInfogetInfo (const std::string &name) const override
 Overridden from base class.
 
bool getSetValue (const IdInfo *info, Value *value, Value::vector_type *params, bool flag_set) override
 Overridden from base class.
 
void destroyObject (bool &should_delete) override
 Overridden from base class.
 
- Protected Member Functions inherited from sf::ScriptObject
void makeParent (ScriptObject *so)
 Makes this object the owner of the other object.
 
void setParent (ScriptObject *parent)
 Sets the owner to the pass script object.
 

Additional Inherited Members

- Public Types inherited from sf::ScriptObject
enum  EIdentifier {
  idUnknown = 0 , idConstant , idVariable , idFunction ,
  idTypedef , idKeyword
}
 Keyword identifiers. More...
 
typedef std::string::size_type pos_type
 Source position type.
 
typedef ssize_t ip_type
 Instruction pointer type.
 
- Static Public Member Functions inherited from sf::ScriptObject
static const IdInfogetInfoUnknown ()
 Returns the static Info structure for unknowns.
 

Constructor & Destructor Documentation

◆ TCalibrationSets()

sf::TCalibrationSets::TCalibrationSets ( const std::string &  prefix,
id_type  id_offset,
id_type  id_range 
)

◆ ~TCalibrationSets()

sf::TCalibrationSets::~TCalibrationSets ( )
override

Member Function Documentation

◆ AssignComplete() [1/2]

bool sf::TCalibrationSets::AssignComplete ( const std::string &  set_name) const
inline

◆ AssignComplete() [2/2]

bool sf::TCalibrationSets::AssignComplete ( int  index = -1) const

◆ AssignType()

bool sf::TCalibrationSets::AssignType ( ECalibrationType  cal_type,
const std::string &  set_name,
const InformationIds ids = nullptr 
)

◆ ClearType() [1/2]

void sf::TCalibrationSets::ClearType ( ECalibrationType  cal_type,
const std::string &  set_name,
InformationIds ids = nullptr 
)
inline

◆ ClearType() [2/2]

void sf::TCalibrationSets::ClearType ( ECalibrationType  cal_type,
int  index = -1,
const InformationIds ids = nullptr 
)

◆ Get() [1/4]

CalibrationSet * sf::TCalibrationSets::Get ( const std::string &  name)
inline

◆ Get() [2/4]

const CalibrationSet * sf::TCalibrationSets::Get ( const std::string &  name) const
inline

◆ Get() [3/4]

CalibrationSet * sf::TCalibrationSets::Get ( int  index)
inline

◆ Get() [4/4]

const CalibrationSet * sf::TCalibrationSets::Get ( int  index) const
inline

◆ GetNamePrefix()

std::string sf::TCalibrationSets::GetNamePrefix ( ECalibrationType  cal_type)
protected

◆ GetNames()

void sf::TCalibrationSets::GetNames ( string_list names) const

◆ IndexOf()

int sf::TCalibrationSets::IndexOf ( const std::string &  name) const

◆ IsDirty()

bool sf::TCalibrationSets::IsDirty ( ) const
inline

◆ operator[]() [1/2]

CalibrationSet * sf::TCalibrationSets::operator[] ( int  index)
inline

◆ operator[]() [2/2]

const CalibrationSet * sf::TCalibrationSets::operator[] ( int  index) const
inline

◆ ReadWriteAssignValues() [1/2]

bool sf::TCalibrationSets::ReadWriteAssignValues ( PartInspection part_insp,
bool  rd 
)

◆ ReadWriteAssignValues() [2/2]

bool sf::TCalibrationSets::ReadWriteAssignValues ( PartProject part_proj,
bool  rd 
)

◆ ReadWriteConfig()

void sf::TCalibrationSets::ReadWriteConfig ( IniProfile inifile,
bool  rd 
)

◆ Resize()

void sf::TCalibrationSets::Resize ( int  sz)
protected

◆ SetDirty()

void sf::TCalibrationSets::SetDirty ( bool  dirty = false)
inline

◆ SetExports() [1/2]

void sf::TCalibrationSets::SetExports ( const std::string &  set_name) const
inline

◆ SetExports() [2/2]

void sf::TCalibrationSets::SetExports ( int  index = -1) const

◆ Size()

int sf::TCalibrationSets::Size ( ) const
inline

◆ variableEventHandler()

void sf::TCalibrationSets::variableEventHandler ( EEvent  event,
const Variable caller,
Variable link,
bool  same_inst 
)
overrideprotectedvirtual

Pure virtual function which must be implemented when used in a polymorphic setting.

Parameters
eventType of the event
callerCalling variable instance
linkLinked variable instance
same_inst

Implements sf::VariableHandler.


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