Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
PendingCommand Class Reference

#include <pending_command.h>

Inheritance diagram for PendingCommand:
[legend]
Collaboration diagram for PendingCommand:
[legend]

Signals

void finished (const Response &response, const CommandContainer &commandContainer, const QVariant &extraData)

Public Member Functions

 PendingCommand (const CommandContainer &_commandContainer, QVariant _extraData=QVariant())
CommandContainer & getCommandContainer ()
void setExtraData (const QVariant &_extraData)
QVariant getExtraData () const
void processResponse (const Response &response)
int tick ()

Private Attributes

CommandContainer commandContainer
QVariant extraData
int ticks

Constructor & Destructor Documentation

◆ PendingCommand()

PendingCommand::PendingCommand ( const CommandContainer & _commandContainer,
QVariant _extraData = QVariant() )
explicit

Member Function Documentation

◆ finished

void PendingCommand::finished ( const Response & response,
const CommandContainer & commandContainer,
const QVariant & extraData )
signal
Here is the caller graph for this function:

◆ getCommandContainer()

CommandContainer & PendingCommand::getCommandContainer ( )
Here is the caller graph for this function:

◆ getExtraData()

QVariant PendingCommand::getExtraData ( ) const

◆ processResponse()

void PendingCommand::processResponse ( const Response & response)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setExtraData()

void PendingCommand::setExtraData ( const QVariant & _extraData)
Here is the caller graph for this function:

◆ tick()

int PendingCommand::tick ( )
Here is the caller graph for this function:

Member Data Documentation

◆ commandContainer

CommandContainer PendingCommand::commandContainer
private

◆ extraData

QVariant PendingCommand::extraData
private

◆ ticks

int PendingCommand::ticks
private

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