|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.actor.Actor
nl.tudelft.simulation.supplychain.actor.SupplyChainActor
nl.tudelft.simulation.supplychain.actor.Trader
nl.tudelft.simulation.supplychain.reference.Retailer
nl.tudelft.simulation.supplychain.reference.DistributionCenter
nl.tudelft.simulation.supplychain.reference.Manufacturer
org.gscg.gameactors.GameManufacturer
org.gscg.gameactors.GameManufacturerInteractive
The GameDistributorInteractive extends a GameDistributor from the
supplychain-game project and provides additional interactive functionalities.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
| Field Summary | |
static nl.tudelft.simulation.event.EventType |
ORDER_CONFIRMATION_SENT_BY_CLIENT_EVENT
a client has confirmed an order |
static nl.tudelft.simulation.event.EventType |
PAY_BILL_EVENT
a client has selected a bill to pay |
static nl.tudelft.simulation.event.EventType |
QUOTE_SENT_BY_CLIENT_EVENT
a client has selected an rfq and sent a quote |
static nl.tudelft.simulation.event.EventType |
RFQ_DELETED_BY_CLIENT_EVENT
a client has deleted an rfq |
static nl.tudelft.simulation.event.EventType |
RFQ_SENT_BY_CLIENT_EVENT
a client has sent an RFQ which forms the basis for a quote |
static nl.tudelft.simulation.event.EventType |
SELECTED_QUOTE_EVENT
a client has selected a quote which forms the basis for an order |
| Fields inherited from class org.gscg.gameactors.GameManufacturer |
builder, customerStatistics, globalSupplyChainData, humanControlled, interactiveQuoteHandler, latLonDistanceCalculator, suppliers, warmingUp |
| Fields inherited from class nl.tudelft.simulation.supplychain.actor.Trader |
stock |
| Fields inherited from class nl.tudelft.simulation.supplychain.actor.SupplyChainActor |
bankAccount |
| Fields inherited from class nl.tudelft.simulation.actor.Actor |
contentHandlers, location, locationDescription, name, receivingDevices, sendingDevices, simulator |
| Constructor Summary | |
GameManufacturerInteractive(GameGlobalData globalSupplyChainData,
java.lang.String name,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
javax.vecmath.Point3d position,
nl.tudelft.simulation.supplychain.roles.Role[] roles,
nl.tudelft.simulation.supplychain.banking.Bank bank,
double initialBankAccount,
nl.tudelft.simulation.supplychain.product.Product[] product,
java.lang.Double[] amount,
nl.tudelft.simulation.supplychain.actor.Trader[] suppliers)
constructs a new GameDistributorInteractive |
|
GameManufacturerInteractive(GameGlobalData globalSupplyChainData,
java.lang.String name,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
javax.vecmath.Point3d position,
nl.tudelft.simulation.supplychain.roles.Role[] roles,
nl.tudelft.simulation.supplychain.banking.Bank bank,
nl.tudelft.simulation.supplychain.product.Product[] product,
java.lang.Double[] amount,
nl.tudelft.simulation.supplychain.actor.Trader[] suppliers)
constructs a new GameDistributorInteractive |
|
GameManufacturerInteractive(java.lang.String name,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
javax.vecmath.Point3d position,
nl.tudelft.simulation.supplychain.banking.Bank bank)
constructs a new GameDistributorInteractive; used when dragging and dropping an actor |
|
| Method Summary | |
void |
addComputerControlledContentHandlers()
adds computer-controlled interactive content handlers |
protected void |
addDevices()
|
void |
addInteractiveContentHandlers()
adds interactive content handlers |
void |
announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
Method announce. |
static java.util.Set |
getChangedManufacturers()
|
SingleUserInteractionLayerInterface |
getSingleUserInteractionLayer()
Method getSingleUserInteractionLayer. |
boolean |
handleContent(java.io.Serializable content)
|
protected void |
init()
Method init |
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
void |
pay(nl.tudelft.simulation.supplychain.content.Bill bill)
pays the bill |
void |
sendContent(nl.tudelft.simulation.supplychain.content.Content content,
double administrativeDelay)
|
void |
setSingleUserInteractionLayer(SingleUserInteractionLayerInterface singleUserInteractionLayer)
|
| Methods inherited from class org.gscg.gameactors.GameManufacturer |
calculateDistance, fireAllContentData, fireAllNumberData, getAnimation, getBounds, getGameContentStore, getInitialRFQData, getName, getProductNameToSuppliers, getSmallMapLocation, isHumanControlled, removeAllContentHandlers, setInteractiveQuoteHandler, setSmallMapLocation |
| Methods inherited from class nl.tudelft.simulation.supplychain.reference.Manufacturer |
addProductionService, getEndProducts, getRawMaterials |
| Methods inherited from class nl.tudelft.simulation.supplychain.reference.Retailer |
checkStock |
| Methods inherited from class nl.tudelft.simulation.supplychain.actor.Trader |
getProductsOnStock, getStock, setInitialStock |
| Methods inherited from class nl.tudelft.simulation.supplychain.actor.SupplyChainActor |
addFixedCost, addRole, getBankAccount, getContentStore, getDEVSSimulator, getFixedCosts, removeRole, scheduledSendContent, scheduledSendContent, setContentStore |
| Methods inherited from class nl.tudelft.simulation.actor.Actor |
addContentHandler, addReceivingDevice, addReceivingDevice, addSendingDevice, checkReceivingDevice, getLocation, getLocationDescription, getReceivingDevices, getReceivingDevices, getSendingDevices, getSendingDevices, getSimulator, getSimulatorTime, handleMessage, removeContentHandler, removeReceivingDevice, removeSendingDevice, resolveFastestDevice, setCheckInterval, setLocationDescription, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.gscg.common.GameActorInterface |
getSmallMapLocation |
| Methods inherited from interface nl.tudelft.simulation.actor.ActorInterface |
getName, getReceivingDevices, getReceivingDevices, getSendingDevices, getSendingDevices, getSimulator, getSimulatorTime, handleMessage |
| Methods inherited from interface nl.tudelft.simulation.dsol.animation.LocatableInterface |
getBounds, getLocation |
| Field Detail |
public static final nl.tudelft.simulation.event.EventType RFQ_SENT_BY_CLIENT_EVENT
public static final nl.tudelft.simulation.event.EventType SELECTED_QUOTE_EVENT
public static final nl.tudelft.simulation.event.EventType PAY_BILL_EVENT
public static final nl.tudelft.simulation.event.EventType QUOTE_SENT_BY_CLIENT_EVENT
public static final nl.tudelft.simulation.event.EventType RFQ_DELETED_BY_CLIENT_EVENT
public static final nl.tudelft.simulation.event.EventType ORDER_CONFIRMATION_SENT_BY_CLIENT_EVENT
| Constructor Detail |
public GameManufacturerInteractive(java.lang.String name,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
javax.vecmath.Point3d position,
nl.tudelft.simulation.supplychain.banking.Bank bank)
name - the namesimulator - the simulatorposition - the positionbank - the bank
public GameManufacturerInteractive(GameGlobalData globalSupplyChainData,
java.lang.String name,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
javax.vecmath.Point3d position,
nl.tudelft.simulation.supplychain.roles.Role[] roles,
nl.tudelft.simulation.supplychain.banking.Bank bank,
double initialBankAccount,
nl.tudelft.simulation.supplychain.product.Product[] product,
java.lang.Double[] amount,
nl.tudelft.simulation.supplychain.actor.Trader[] suppliers)
globalSupplyChainData - the global supply chain dataname - the namesimulator - the simulatorposition - the positionroles - the roles to implementbank - the bankinitialBankAccount - the initial bank accountproduct - the productamount - the amountsuppliers - the suppliers
public GameManufacturerInteractive(GameGlobalData globalSupplyChainData,
java.lang.String name,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
javax.vecmath.Point3d position,
nl.tudelft.simulation.supplychain.roles.Role[] roles,
nl.tudelft.simulation.supplychain.banking.Bank bank,
nl.tudelft.simulation.supplychain.product.Product[] product,
java.lang.Double[] amount,
nl.tudelft.simulation.supplychain.actor.Trader[] suppliers)
globalSupplyChainData - the global supply chain dataname - the namesimulator - the simulatorposition - the positionroles - the roles to implementbank - the bankproduct - the productamount - the amountsuppliers - the suppliers| Method Detail |
public static java.util.Set getChangedManufacturers()
protected void init()
GameManufacturer
init in class GameManufacturerGameManufacturer.init()protected void addDevices()
addDevices in class GameManufacturerGameManufacturer.addDevices()
public void announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
AnnounceInterface
announce in interface AnnounceInterfaceeventType - the eventTypeannounce - indicates whether this is an announceAnnounceInterface.announce(nl.tudelft.simulation.event.EventType,
boolean)public void notify(nl.tudelft.simulation.event.EventInterface event)
notify in interface nl.tudelft.simulation.event.EventListenerInterfaceEventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)public void pay(nl.tudelft.simulation.supplychain.content.Bill bill)
bill - the bill to paypublic boolean handleContent(java.io.Serializable content)
handleContent in interface nl.tudelft.simulation.content.HandlerInterfaceHandlerInterface.handleContent(java.io.Serializable)
public void sendContent(nl.tudelft.simulation.supplychain.content.Content content,
double administrativeDelay)
sendContent in class GameManufacturerSupplyChainActor.sendContent(nl.tudelft.simulation.supplychain.content.Content,
double)public SingleUserInteractionLayerInterface getSingleUserInteractionLayer()
GameActorInteractiveInterface
getSingleUserInteractionLayer in interface GameActorInteractiveInterfaceGameActorInteractiveInterface.getSingleUserInteractionLayer()public void setSingleUserInteractionLayer(SingleUserInteractionLayerInterface singleUserInteractionLayer)
setSingleUserInteractionLayer in interface GameActorInteractiveInterfacesingleUserInteractionLayer - the singel user interactionlayerGameActorInteractiveInterface.setSingleUserInteractionLayer(org.gscg.singleuser.interactionlayer.SingleUserInteractionLayerInterface)public void addComputerControlledContentHandlers()
addComputerControlledContentHandlers in class GameManufacturerpublic void addInteractiveContentHandlers()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||