Command pool interface. More...
Public Member Functions | |
DeterministicCommand | Acquire () |
Get from pool or create a new instance of the CommandType. More... | |
bool | Release (DeterministicCommand cmd) |
Return a command to the pool. More... | |
Properties | |
Type | CommandType [get] |
The type of commands pooled. More... | |
Command pool interface.
DeterministicCommand Photon.Deterministic.IDeterministicCommandPool.Acquire | ( | ) |
Get from pool or create a new instance of the CommandType.
Implemented in Photon.Deterministic.DeterministicCommandPool< T >.
bool Photon.Deterministic.IDeterministicCommandPool.Release | ( | DeterministicCommand | cmd | ) |
Return a command to the pool.
cmd | Command to return to the pool. |
true
if command has been returned to the poolImplemented in Photon.Deterministic.DeterministicCommandPool< T >.
|
get |
The type of commands pooled.