Fission FSN
Loading...
Searching...
No Matches
gfCSlotSim Class Reference

#include <gfCSlotSim.h>

Public Member Functions

 gfCSlotSim (const fsStr &pName, const fsStr &pSlotType, fsS32 pServiceTimeMs, fsS32 pMaxQueueLength)
const fsStr & nameGet () const
const fsStr & slotTypeGet () const
eSlotSimState stateGet () const
void unlock ()
fsBool staffedGet () const
const fsStr & staffTypeGet () const
void staffTypeSet (const fsStr &pStaffType)
fsBool hasRoomGet () const
fsS32 estimatedWaitMsGet () const
void serviceTimeMsSet (fsS32 pServiceTimeMs)
void maxQueueLengthSet (fsS32 pMaxQueueLength)
const std::vector< fsStr > & queueGet () const
const fsStr & servingGuestNameGet () const
void servingGuestArrived (const fsStr &pGuestName)
fsBool queueingGet (const fsStr &pGuestName) const
fsBool servingGet (const fsStr &pGuestName) const
fsBool queueLeave (const fsStr &pGuestName)
fsBool queueJoin (const fsStr &pGuestName)
fsStr servingSuspend ()
void wearLimitsSet (fsS32 pServicesBeforeBreak, fsS32 pOpenMsBeforeBreak)
fsS32 conditionPercentGet () const
fsBool brokenGet () const
fsBool repairBegin (fsS32 pRepairTimeMs)
fsBool repairingGet () const
std::vector< fsStr > occupantsEjectAll ()
fsStr tick (fsS32 pDeltaMs, fsBool pWaitForServiceArrival=false)

Constructor & Destructor Documentation

◆ gfCSlotSim()

gfCSlotSim::gfCSlotSim ( const fsStr & pName,
const fsStr & pSlotType,
fsS32 pServiceTimeMs,
fsS32 pMaxQueueLength )

Member Function Documentation

◆ brokenGet()

fsBool gfCSlotSim::brokenGet ( ) const
inline

◆ conditionPercentGet()

fsS32 gfCSlotSim::conditionPercentGet ( ) const

◆ estimatedWaitMsGet()

fsS32 gfCSlotSim::estimatedWaitMsGet ( ) const

◆ hasRoomGet()

fsBool gfCSlotSim::hasRoomGet ( ) const

◆ maxQueueLengthSet()

void gfCSlotSim::maxQueueLengthSet ( fsS32 pMaxQueueLength)
inline

◆ nameGet()

const fsStr & gfCSlotSim::nameGet ( ) const
inline

◆ occupantsEjectAll()

std::vector< fsStr > gfCSlotSim::occupantsEjectAll ( )

◆ queueGet()

const std::vector< fsStr > & gfCSlotSim::queueGet ( ) const
inline

◆ queueingGet()

fsBool gfCSlotSim::queueingGet ( const fsStr & pGuestName) const

◆ queueJoin()

fsBool gfCSlotSim::queueJoin ( const fsStr & pGuestName)

◆ queueLeave()

fsBool gfCSlotSim::queueLeave ( const fsStr & pGuestName)

◆ repairBegin()

fsBool gfCSlotSim::repairBegin ( fsS32 pRepairTimeMs)

◆ repairingGet()

fsBool gfCSlotSim::repairingGet ( ) const
inline

◆ serviceTimeMsSet()

void gfCSlotSim::serviceTimeMsSet ( fsS32 pServiceTimeMs)
inline

◆ servingGet()

fsBool gfCSlotSim::servingGet ( const fsStr & pGuestName) const
inline

◆ servingGuestArrived()

void gfCSlotSim::servingGuestArrived ( const fsStr & pGuestName)

◆ servingGuestNameGet()

const fsStr & gfCSlotSim::servingGuestNameGet ( ) const
inline

◆ servingSuspend()

fsStr gfCSlotSim::servingSuspend ( )

◆ slotTypeGet()

const fsStr & gfCSlotSim::slotTypeGet ( ) const
inline

◆ staffedGet()

fsBool gfCSlotSim::staffedGet ( ) const
inline

◆ staffTypeGet()

const fsStr & gfCSlotSim::staffTypeGet ( ) const
inline

◆ staffTypeSet()

void gfCSlotSim::staffTypeSet ( const fsStr & pStaffType)
inline

◆ stateGet()

eSlotSimState gfCSlotSim::stateGet ( ) const
inline

◆ tick()

fsStr gfCSlotSim::tick ( fsS32 pDeltaMs,
fsBool pWaitForServiceArrival = false )

◆ unlock()

void gfCSlotSim::unlock ( )
inline

◆ wearLimitsSet()

void gfCSlotSim::wearLimitsSet ( fsS32 pServicesBeforeBreak,
fsS32 pOpenMsBeforeBreak )

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