Control Center
Scripting Interface Documentation
VectorData Class Reference

VectorData defines the parameters for a job sent to the vectorize queue The VectorData object can be instantiated in the scripting environment. Use this in ControlCentre.vectorizeElement( vectorizeData) More...

Public Slots

String toString (bool verbose) const
 Prints out details of a vectorize job. More...
 
String toString () const
 Prints out details of a vectorize job. More...
 

Public Member Functions

 VectorData (const String &jobName, const String &sceneName, const String &elemName, int elemId, const String &drawingName, QObject *)
 
 ~VectorData ()
 
String jobName () const
 
String sceneName () const
 
String elemName () const
 
int elemId () const
 
String drawingName () const
 
int id () const
 
String state () const
 
int priority () const
 
String processStage () const
 
String machine () const
 
String time () const
 
String user () const
 
String date () const
 
String suffix () const
 
void setSuffix (const String &)
 

Properties

String jobName
 
String sceneName
 
String elementName
 
String elementId
 
String drawingName
 
String suffix
 
String processStage
 
int id
 job id in queue More...
 
String state
 state in queue ( Pending, Processing, Completed or Error More...
 
int priority
 priority in queue More...
 
String date
 
String machine
 
String user
 
String time
 

Friends

class ControlCentre
 

Detailed Description

VectorData defines the parameters for a job sent to the vectorize queue The VectorData object can be instantiated in the scripting environment. Use this in ControlCentre.vectorizeElement( vectorizeData)

var environment = new Environment("Test");
var vectorData = new VectrorData( job.name, scene.name, element.name, element.id, drawing.name);
ControlCentre.vectorizeElement( environment, vectorData, vect[1] );

Note that a call to ControlCentre.getVectorJobs( environment ) will list all vectorize jobs in that environment currently in the vectorize queue.

Constructor & Destructor Documentation

◆ VectorData()

VectorData::VectorData ( const String &  jobName,
const String &  sceneName,
const String &  elemName,
int  elemId,
const String &  drawingName,
QObject *   
)

◆ ~VectorData()

VectorData::~VectorData ( )

Member Function Documentation

◆ date()

String VectorData::date ( ) const

◆ drawingName()

String VectorData::drawingName ( ) const

◆ elemId()

int VectorData::elemId ( ) const

◆ elemName()

String VectorData::elemName ( ) const

◆ id()

int VectorData::id ( ) const

◆ jobName()

String VectorData::jobName ( ) const

◆ machine()

String VectorData::machine ( ) const

◆ priority()

int VectorData::priority ( ) const

◆ processStage()

String VectorData::processStage ( ) const

◆ sceneName()

String VectorData::sceneName ( ) const

◆ setSuffix()

void VectorData::setSuffix ( const String &  )

◆ state()

String VectorData::state ( ) const

◆ suffix()

String VectorData::suffix ( ) const

◆ time()

String VectorData::time ( ) const

◆ toString [1/2]

String VectorData::toString ( bool  verbose) const
slot

Prints out details of a vectorize job.

Parameters
verboseif true, prints out everything

◆ toString [2/2]

String VectorData::toString ( ) const
slot

Prints out details of a vectorize job.

print out all details of a vectorize job

◆ user()

String VectorData::user ( ) const

Friends And Related Function Documentation

◆ ControlCentre

friend class ControlCentre
friend

Property Documentation

◆ date

String VectorData::date
read

◆ drawingName

String VectorData::drawingName
read

◆ elementId

String VectorData::elementId
read

◆ elementName

String VectorData::elementName
read

◆ id

int VectorData::id
read

job id in queue

◆ jobName

String VectorData::jobName
read

◆ machine

String VectorData::machine
read

◆ priority

int VectorData::priority
read

priority in queue

◆ processStage

String VectorData::processStage
read

◆ sceneName

String VectorData::sceneName
read

◆ state

String VectorData::state
read

state in queue ( Pending, Processing, Completed or Error

◆ suffix

String VectorData::suffix
readwrite

◆ time

String VectorData::time
read

◆ user

String VectorData::user
read