Soar Kernel  9.3.2 08-06-12
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Data Fields
smem_timer_container Class Reference

#include <semantic_memory.h>

Inherits soar_module::timer_container.

Public Member Functions

 smem_timer_container (agent *my_agent)
- Public Member Functions inherited from soar_module::timer_container
void reset ()
 timer_container (agent *new_agent)
- Public Member Functions inherited from soar_module::object_container< timer >
void for_each (accumulator< timer * > &f)
timerget (const char *name)
 object_container (agent *new_agent)
virtual ~object_container ()

Data Fields

soar_module::timeract
soar_module::timerapi
soar_module::timerhash
soar_module::timerinit
soar_module::timerncb_retrieval
soar_module::timerquery
soar_module::timerstorage
soar_module::timertotal

Additional Inherited Members

- Protected Member Functions inherited from soar_module::object_container< timer >
void add (timer *new_object)
- Protected Attributes inherited from soar_module::object_container< timer >
agentmy_agent
std::map< std::string, timer * > * objects

Detailed Description

Definition at line 170 of file semantic_memory.h.

Constructor & Destructor Documentation

smem_timer_container::smem_timer_container ( agent my_agent)

Definition at line 287 of file semantic_memory.cpp.

References act, soar_module::object_container< timer >::add(), api, hash, init, soar_module::object_container< timer >::my_agent, ncb_retrieval, soar_module::timer::one, query, storage, soar_module::timer::three, total, and soar_module::timer::two.

{
// one
total = new smem_timer( "_total", my_agent, soar_module::timer::one );
add( total );
// two
storage = new smem_timer( "smem_storage", my_agent, soar_module::timer::two );
ncb_retrieval = new smem_timer( "smem_ncb_retrieval", my_agent, soar_module::timer::two );
query = new smem_timer( "smem_query", my_agent, soar_module::timer::two );
add( query );
api = new smem_timer( "smem_api", my_agent, soar_module::timer::two );
add( api );
init = new smem_timer( "smem_init", my_agent, soar_module::timer::two );
add( init );
hash = new smem_timer( "smem_hash", my_agent, soar_module::timer::two );
add( hash );
act = new smem_timer( "three_activation", my_agent, soar_module::timer::three );
add( act );
}

Field Documentation

soar_module::timer* smem_timer_container::act

Definition at line 180 of file semantic_memory.h.

Referenced by smem_lti_activate(), and smem_timer_container().

soar_module::timer* smem_timer_container::api

Definition at line 177 of file semantic_memory.h.

Referenced by smem_respond_to_cmd(), and smem_timer_container().

soar_module::timer* smem_timer_container::hash

Definition at line 179 of file semantic_memory.h.

Referenced by smem_temporal_hash(), and smem_timer_container().

soar_module::timer* smem_timer_container::init

Definition at line 178 of file semantic_memory.h.

Referenced by smem_init_db(), and smem_timer_container().

soar_module::timer* smem_timer_container::ncb_retrieval

Definition at line 175 of file semantic_memory.h.

Referenced by smem_install_memory(), and smem_timer_container().

soar_module::timer* smem_timer_container::query

Definition at line 176 of file semantic_memory.h.

Referenced by smem_process_query(), and smem_timer_container().

soar_module::timer* smem_timer_container::storage

Definition at line 174 of file semantic_memory.h.

Referenced by smem_respond_to_cmd(), and smem_timer_container().

soar_module::timer* smem_timer_container::total

Definition at line 173 of file semantic_memory.h.

Referenced by do_one_top_level_phase(), smem_go(), and smem_timer_container().


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