![]() |
Scanframe Modular Application 0.1.0
|
Script object for exporting GII parameters to a script object. More...
#include <VariableScriptObject.h>
Public Member Functions | |
VariableScriptObject (const Parameters ¶ms) | |
Interface constructor for setting up variable as server or client. | |
VariableScriptObject (ScriptObject *parent, Variable *var) | |
Constructor for not using the interface to create it. Does not do any of the event handling but only for accessing the information. | |
~VariableScriptObject () override | |
Overridden from base class. | |
std::string | getStatusText () override |
Overridden from base class. | |
const IdInfo * | getInfo (const std::string &name) const override |
Overridden from base class. | |
void | destroyObject (bool &should_delete) override |
Overridden from base class. | |
bool | getSetValue (const IdInfo *info, Value *value, Value::vector_type *params, bool flag_set) override |
Overridden from base class. | |
![]() | |
ScriptObject (const char *type_name, ScriptObject *parent=nullptr) | |
virtual | ~ScriptObject ()=default |
Virtual destructor which can be overloaded to clean up objects. | |
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. | |
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. | |
![]() | |
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. | |
Script object for exporting GII parameters to a script object.
|
explicit |
Interface constructor for setting up variable as server or client.
|
explicit |
Constructor for not using the interface to create it. Does not do any of the event handling but only for accessing the information.
parent | Parent of the object. |
var | Non-owned variable to service. |
|
override |
Overridden from base class.
|
overridevirtual |
Overridden from base class.
Implements sf::ScriptObject.
|
overridevirtual |
Overridden from base class.
Implements sf::ScriptObject.
|
overridevirtual |
Overridden from base class.
Implements sf::ScriptObject.
|
overridevirtual |
Overridden from base class.
Reimplemented from sf::ScriptObject.