![]() |
Scanframe Modular Application 0.1.0
|
#include <CalibrationSets.h>
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 CalibrationSet * | operator[] (int index) const |
CalibrationSet * | operator[] (int index) |
const CalibrationSet * | Get (int index) const |
CalibrationSet * | Get (int index) |
const CalibrationSet * | Get (const std::string &name) const |
CalibrationSet * | Get (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 |
![]() | |
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. | |
![]() | |
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. | |
ScriptObject * | getParent () |
Gets the script object owner. | |
const ScriptObject * | getParent () const |
Gets the script object owner. | |
ScriptObject * | castToObject (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) |
![]() | |
const IdInfo * | getInfo (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. | |
![]() | |
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 | |
![]() | |
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 const IdInfo * | getInfoUnknown () |
Returns the static Info structure for unknowns. | |
sf::TCalibrationSets::TCalibrationSets | ( | const std::string & | prefix, |
id_type | id_offset, | ||
id_type | id_range | ||
) |
|
override |
|
inline |
bool sf::TCalibrationSets::AssignComplete | ( | int | index = -1 | ) | const |
bool sf::TCalibrationSets::AssignType | ( | ECalibrationType | cal_type, |
const std::string & | set_name, | ||
const InformationIds * | ids = nullptr |
||
) |
|
inline |
void sf::TCalibrationSets::ClearType | ( | ECalibrationType | cal_type, |
int | index = -1 , |
||
const InformationIds * | ids = nullptr |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
void sf::TCalibrationSets::GetNames | ( | string_list & | names | ) | const |
int sf::TCalibrationSets::IndexOf | ( | const std::string & | name | ) | const |
|
inline |
|
inline |
|
inline |
bool sf::TCalibrationSets::ReadWriteAssignValues | ( | PartInspection * | part_insp, |
bool | rd | ||
) |
bool sf::TCalibrationSets::ReadWriteAssignValues | ( | PartProject * | part_proj, |
bool | rd | ||
) |
void sf::TCalibrationSets::ReadWriteConfig | ( | IniProfile * | inifile, |
bool | rd | ||
) |
|
protected |
|
inline |
|
inline |
void sf::TCalibrationSets::SetExports | ( | int | index = -1 | ) | const |
|
inline |
|
overrideprotectedvirtual |
Pure virtual function which must be implemented when used in a polymorphic setting.
event | Type of the event |
caller | Calling variable instance |
link | Linked variable instance |
same_inst |
Implements sf::VariableHandler.