DbScript
Public Slots | Public Member Functions | Properties | Private Member Functions | Private Attributes | Friends | List of all members
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...

#include <scriptrendervector.h>

Inheritance diagram for VectorData:
Inheritance graph
[legend]
Collaboration diagram for VectorData:
Collaboration graph
[legend]

Public Slots

String toString (bool verbose) 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
 
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
 

Private Member Functions

void setid (int)
 
void setpriority (int)
 
void setstate (const String &name)
 
void setprocessStage (const String &name)
 
void setdate (const String &name)
 
void setmachine (const String &name)
 
void setuser (const String &name)
 
void settime (const String &name)
 

Private Attributes

String _jobName
 
String _sceneName
 
String _elemName
 
int _elemId
 
String _drawingName
 
String _suffix
 
int _id
 
String _state
 
String _processStage
 
int _priority
 
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 ( const String &  jobName,
const String &  sceneName,
const String &  elemName,
int  elemId,
const String &  drawingName,
QObject *   
)
VectorData::~VectorData ( )

Member Function Documentation

String VectorData::date ( ) const
String VectorData::drawingName ( ) const
int VectorData::elemId ( ) const
String VectorData::elemName ( ) const
int VectorData::id ( ) const
String VectorData::jobName ( ) const
String VectorData::machine ( ) const
int VectorData::priority ( ) const
String VectorData::processStage ( ) const
String VectorData::sceneName ( ) const
void VectorData::setdate ( const String &  name)
private
void VectorData::setid ( int  )
private
void VectorData::setmachine ( const String &  name)
private
void VectorData::setpriority ( int  )
private
void VectorData::setprocessStage ( const String &  name)
private
void VectorData::setstate ( const String &  name)
private
void VectorData::setSuffix ( const String &  )
void VectorData::settime ( const String &  name)
private
void VectorData::setuser ( const String &  name)
private
String VectorData::state ( ) const
String VectorData::suffix ( ) const
String VectorData::time ( ) const
String VectorData::toString ( bool  verbose) const
slot

Prints out details of a vectorize job.

Parameters
verboseif true, prints out everything
String VectorData::user ( ) const

Friends And Related Function Documentation

friend class ControlCentre
friend

Member Data Documentation

String VectorData::_date
private
String VectorData::_drawingName
private
int VectorData::_elemId
private
String VectorData::_elemName
private
int VectorData::_id
private
String VectorData::_jobName
private
String VectorData::_machine
private
int VectorData::_priority
private
String VectorData::_processStage
private
String VectorData::_sceneName
private
String VectorData::_state
private
String VectorData::_suffix
private
String VectorData::_time
private
String VectorData::_user
private

Property Documentation

String VectorData::date
readprivate
String VectorData::drawingName
readprivate
String VectorData::elementId
readprivate
String VectorData::elementName
readprivate
int VectorData::id
readprivate

job id in queue

String VectorData::jobName
readprivate
String VectorData::machine
readprivate
int VectorData::priority
readprivate

priority in queue

String VectorData::sceneName
readprivate
String VectorData::state
readprivate

state in queue ( Pending, Processing, Completed or Error

String VectorData::suffix
readwriteprivate
String VectorData::time
readprivate
String VectorData::user
readprivate

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