#include <commandbase.h>
公共成员函数 |
|
CommandCacheData ()=default | |
~CommandCacheData () | |
CommandCacheData ( CommandCacheData && src ) | |
Result < void > | CopyFrom (const CommandCacheData & src ) |
Result < CommandCacheRef > | Validate (CommandDataRef &data, const Id &commandId, const Id &cacheId, Bool &valid) |
Result < void > | AddValidation ( Delegate < Result < Bool >(const Id &commandId)> &&validation) |
Result < void > | CreateInitCache (CommandDataRef &data, CommandCacheRef &cache, const Id &cacheId) |
Public Attributes |
|
CommandCacheMap | _map |
Private Attributes |
|
Delegate < Result < Bool >const Id &commandId)> | _validateFn |
|
default |
~ CommandCacheData | ( | ) |
CommandCacheData | ( | CommandCacheData && | src | ) |
Result <void> CopyFrom | ( | const CommandCacheData & | src | ) |
Result <CommandCacheRef> Validate | ( | CommandDataRef & | data , |
const Id & | commandId , | ||
const Id & | cacheId , | ||
Bool & | valid | ||
) |
Result <void> AddValidation | ( | Delegate < Result < Bool >(const Id &commandId)> && | validation | ) |
Result <void> CreateInitCache | ( | CommandDataRef & | data , |
CommandCacheRef & | cache , | ||
const Id & | cacheId | ||
) |
CommandCacheMap _map |
|
private |