Aimsun Next Scripting: GKDynamicAdjustmentReplicationNewCmd Class Reference
Aimsun Next Scripting  22
Public Member Functions | List of all members
GKDynamicAdjustmentReplicationNewCmd Class Reference
Inheritance diagram for GKDynamicAdjustmentReplicationNewCmd:
GKCommand

Public Member Functions

 GKDynamicAdjustmentReplicationNewCmd ()
 
void setAddToResult (bool value)
 
void setExperiment (GKDynamicAdjustmentExperiment *anExperiment)
 
void setResult (GKDynamicAdjustmentExperimentResult *aResult)
 
void setData (int nbReplications, bool wantResult, bool externalIds, bool replicationsIds, int nbReplicationsIds)
 
GKObjectcreatedObject () const
 
- Public Member Functions inherited from GKCommand
 if (base)
 
Py_END_ALLOW_THREADS End GKCommand ()
 
void setName (const QString &)
 
const QString & getName () const
 
void setModel (GKModel *)
 
GKModelgetModel () const
 
virtual GKCommandReportinit (GKModel *)
 
virtual bool isEqual (GKCommand *) const
 
virtual void merge (GKCommand *)
 
virtual void doit ()=0
 
virtual void undoit ()=0
 
void setUndoable (bool)
 
bool isUndoable () const
 
bool isDone () const
 
virtual void setDone (bool)
 
virtual void commandToBeDone ()
 
virtual void commandDone ()
 
virtual void commandToBeUndone ()
 
virtual void commandUndone ()
 
virtual GKObjectcreatedObject () const
 
virtual bool createdObjectRequiresEdition () const
 
virtual QVector< int > getTargets () const
 

Additional Inherited Members

- Public Attributes inherited from GKCommand
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKCommandbase = (GKCommand*)sipCpp
 
 sipType = 0
 

Constructor & Destructor Documentation

◆ GKDynamicAdjustmentReplicationNewCmd()

GKDynamicAdjustmentReplicationNewCmd::GKDynamicAdjustmentReplicationNewCmd ( )

Member Function Documentation

◆ createdObject()

GKObject * GKDynamicAdjustmentReplicationNewCmd::createdObject ( ) const
virtual

Returns the replication created or the first one is more than one has been created.

Reimplemented from GKCommand.

◆ setAddToResult()

void GKDynamicAdjustmentReplicationNewCmd::setAddToResult ( bool  value)

◆ setData()

void GKDynamicAdjustmentReplicationNewCmd::setData ( int  nbReplications,
bool  wantResult,
bool  externalIds,
bool  replicationsIds,
int  nbReplicationsIds 
)

Specifies:

  • The number of replications to be created.
  • Whether those replications should be included to the average (true) or not (false).
  • Whether to user-define the replication IDs to be set as the database IDs and if so the starting ID ( nbReplicationsIds ).

The default behavior of the command is this function is not called will be similar as the one calling it like follows:

replicationCmd.setData( 1, False, False, False, 0 )

◆ setExperiment()

void GKDynamicAdjustmentReplicationNewCmd::setExperiment ( GKDynamicAdjustmentExperiment anExperiment)

◆ setResult()

void GKDynamicAdjustmentReplicationNewCmd::setResult ( GKDynamicAdjustmentExperimentResult aResult)

© Aimsun SLU
Aimsun ®