|
Soar Kernel
9.3.2 08-06-12
|
#include <episodic_memory.h>
Inherits soar_module::primitive_stat< T >.
Public Member Functions | |
| epmem_mem_usage_stat (agent *new_agent, const char *new_name, int64_t new_value, soar_module::predicate< int64_t > *new_prot_pred) | |
| int64_t | get_value () |
Public Member Functions inherited from soar_module::primitive_stat< T > | |
| virtual char * | get_string () |
| primitive_stat (const char *new_name, T new_value, predicate< T > *new_prot_pred) | |
| void | reset () |
| virtual void | set_value (T new_value) |
| virtual | ~primitive_stat () |
Public Member Functions inherited from soar_module::stat | |
| stat (const char *new_name) | |
| virtual | ~stat () |
Public Member Functions inherited from soar_module::named_object | |
| const char * | get_name () |
| named_object (const char *new_name) | |
| virtual | ~named_object () |
Protected Attributes | |
| agent * | my_agent |
Definition at line 223 of file episodic_memory.h.
| epmem_mem_usage_stat::epmem_mem_usage_stat | ( | agent * | new_agent, |
| const char * | new_name, | ||
| int64_t | new_value, | ||
| soar_module::predicate< int64_t > * | new_prot_pred | ||
| ) |
Definition at line 383 of file episodic_memory.cpp.
|
virtual |
Reimplemented from soar_module::primitive_stat< T >.
Definition at line 385 of file episodic_memory.cpp.
References agent_struct::epmem_db, soar_module::sqlite_database::memory_usage(), and my_agent.
|
protected |
Definition at line 226 of file episodic_memory.h.
Referenced by get_value().
1.8.1.2