Soar Kernel  9.3.2 08-06-12
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions
soar_module::stat_container Class Reference

#include <soar_module.h>

Inherits soar_module::object_container< stat >.

Inherited by epmem_stat_container, rl_stat_container, smem_stat_container, and wma_stat_container.

Public Member Functions

void reset ()
 stat_container (agent *new_agent)
- Public Member Functions inherited from soar_module::object_container< stat >
void for_each (accumulator< stat * > &f)
statget (const char *name)
 object_container (agent *new_agent)
virtual ~object_container ()

Additional Inherited Members

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

Detailed Description

Definition at line 811 of file soar_module.h.

Constructor & Destructor Documentation

soar_module::stat_container::stat_container ( agent new_agent)
inline

Definition at line 814 of file soar_module.h.

: object_container<stat>( new_agent ) {}

Member Function Documentation

void soar_module::stat_container::reset ( )
inline

Definition at line 818 of file soar_module.h.

References soar_module::object_container< stat >::objects.

Referenced by reinitialize_soar().

{
for ( std::map<std::string, stat *>::iterator p=objects->begin(); p!=objects->end(); p++ )
p->second->reset();
}

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