# **Event Types** Michael Freed -- 19 July 01

Each event type is explicitly logged and can be filtered in/out for
trace view. Verbose event descriptions name event parameters not
including timestamp.

## ASA Events

Types in curly brackets refer to ASA actions that are not yet supported.
Causal event 0 is the *initialize* event. \* means an associated
cogevent is generated. Terminology changes: *enabled* refers to
satisfaction of non-resource preconditions -- any resource preconditions
not yet satisfied; *executed* tasks must take 0 time -- i.e. primitive
and special (Lisp callout) tasks; *started* is used for non-primitives.
Resource deallocation events occur when a task is terminated or
interrupted.

Need to review this list for meaningful and constent naming,
completeness/usefulness of causal information.

  -------- --------------------------------- ----------------------------- -----------
           **Event type**                    **Description (not incl       **Causal
                                             time)**                       events**

  **1**    task-created                      \<task\>                      0,17

  **2**    monitor-created                   \<monitor\> \<task\>          0,17

  **3**    monitor-satisfied                 \<monitor\> \<cogevent\>      2+any

  **4**    {monitor-tentatively-satisifed}   \<monitor\> \<cogevent\>      2+any

  **5**    {monitor-expired}                 \<monitor\>                   2+time

  **6**    {monitor-desatisfied}             \<monitor\> \<cogevent\>      2+any

  **7**    enablement-testing-started        \<task\>                      3

  **8**    enabled\*                         \<task\>                      1+7+3\*

  **9**    refused-enablement\*              \<task\>                      1+7

  **10**   procedure-selected                \<task\> =\> \<procedure\>    8+10

  **11**   conflict-detected                 \<task\> \<task\>             10,12
                                             \<resource\>                  

  **12**   conflict-resolved\*               : winner \<task\> :loser      11,13/13
                                             \<task\>                      

  **13**   priority-computed                 for \<task\> = \<priority\>   11,15

  **14**   resource-allocated\*              \<task\> \<resources\>        11+12,16

  **15**   interrupted\*                     \<task\> \<task\>             8+12

  **16**   resource-deallocated\*            \<resource\> :from \<task\>   15,20

  **17**   task-started\*                    \<task\>                      8+14

  **18**   executed\*                        \<task\>                      8+14

  **19**   resumed\*                         \<task\>                      15+14

  **20**   terminated\*                      \<task\>                      18,20

  **21**   reset\*                           \<task\>                      18

  **22**   reinstantiated\*                  \<task\>                      8,17,20

  **23**   assumption-violated               \<varname\> \<agent\>         3
  -------- --------------------------------- ----------------------------- -----------

## RA Events

+-------+--------------------------+------------------------+---------+
|       | **Event-type**           | **Description (not     | ##      |
|       |                          | incl. time)**          | Causals |
+-------+--------------------------+------------------------+---------+
| *     |                          |                        |         |
| *Cont |                          |                        |         |
| rol** |                          |                        |         |
+-------+--------------------------+------------------------+---------+
| **1** | started\*                | \<activity\>           |         |
|       |                          | \<parameters\>\*       |         |
+-------+--------------------------+------------------------+---------+
| **2** | completed\*              | \<activity\>           |         |
+-------+--------------------------+------------------------+---------+
| **3** | stopped\*                | \<activity\>           |         |
+-------+--------------------------+------------------------+---------+
| **4** | clobbered                | \<activity\> :by       |         |
|       |                          | \<activity\>           |         |
+-------+--------------------------+------------------------+---------+
| ## V  |                          |                        |         |
| ision |                          |                        |         |
+-------+--------------------------+------------------------+---------+
| **1** | nothing-new\*            | vision                 |         |
+-------+--------------------------+------------------------+---------+
| **2** | pos\*                    | \<visobfile\>          |         |
|       |                          | \<coordinates\>        |         |
+-------+--------------------------+------------------------+---------+
| **3** | color\*                  | \<visobfile\>          |         |
|       |                          | \<colorname\>          |         |
+-------+--------------------------+------------------------+---------+
| **4** | orientation\*            | \<visobfile\>          |         |
|       |                          | \<degrees\>            |         |
+-------+--------------------------+------------------------+---------+
| **5** | shape\*                  | \<visobfile\>          |         |
|       |                          | \<shapelist\|shape\>   |         |
+-------+--------------------------+------------------------+---------+
| **6** | contrast\*               | \<visobfile\>          |         |
|       |                          | \<value\>              |         |
+-------+--------------------------+------------------------+---------+
| **7** | blink\*                  | \<visobfile\> \<rate\> |         |
+-------+--------------------------+------------------------+---------+
| **8** | elements\*               | \<visobfile\> \<list\> |         |
+-------+--------------------------+------------------------+---------+
| **9** | contains\*               | \<visobfile\>          |         |
|       |                          | \<vof-list\>           |         |
+-------+--------------------------+------------------------+---------+
| *     | contained-by\*           | \<visobfile\>          |         |
| *10** |                          | \<visobfile\>          |         |
+-------+--------------------------+------------------------+---------+
| ##    |                          |                        |         |
|  Gaze |                          |                        |         |
+-------+--------------------------+------------------------+---------+
| **1** | fixated\*                | \<visobfile\>          |         |
+-------+--------------------------+------------------------+---------+
| **2** | winnowed\*               | \<visobfile\>          |         |
|       |                          | \<feature\>            |         |
+-------+--------------------------+------------------------+---------+
| **3** | held-gaze\*              | \<locus\> \<time\>     |         |
+-------+--------------------------+------------------------+---------+
| **Mem |                          |                        |         |
| ory** |                          |                        |         |
+-------+--------------------------+------------------------+---------+
| **1** | encoded\*                | \<proposition\>        |         |
+-------+--------------------------+------------------------+---------+
| **2** | retrieved\*              | \<proposition\>        |         |
+-------+--------------------------+------------------------+---------+
| **3** | new\*                    | \<proposition\>        |         |
+-------+--------------------------+------------------------+---------+
| **4** | revalued\*               | \<proposition\>        |         |
+-------+--------------------------+------------------------+---------+
| **5** | refreshed\*              | \<proposition\>        |         |
+-------+--------------------------+------------------------+---------+
| **6** | refined\*                | \<proposition\>        |         |
+-------+--------------------------+------------------------+---------+
| **Ha  |                          |                        |         |
| nds** |                          |                        |         |
+-------+--------------------------+------------------------+---------+
| **1** | grasped\*                | \<hand\> \<object\>    |         |
+-------+--------------------------+------------------------+---------+
| **2** | released\*               | \<hand\> \<object\>    |         |
+-------+--------------------------+------------------------+---------+
| **3** | moved\*                  | \<hand\> \<object\>    |         |
+-------+--------------------------+------------------------+---------+
| **4** | turned-dial\*            | \<hand\> \<dial\>      |         |
|       |                          | \<position\>           |         |
+-------+--------------------------+------------------------+---------+
| **5** | typed\*                  | \<hand\> \<keyboard\>  |         |
|       |                          | \<msg\>                |         |
+-------+--------------------------+------------------------+---------+

## General Simulation Events

  -------- -------------------------- --------------------------- --------
  **1**    started-activity           \<activity\>                
                                      \<primary-simob\>           

  **2**    initialized-activity       \<activity\>                
                                      \<primary-simob\>           

  **3**    updated-activity           \<activity\>                
                                      \<primary-simob\>           

  **4**    stopped-activity           \<activity\>                
                                      \<primary-simob\>           

  **5**    completed-activity         \<activity\>                
                                      \<primary-simob\>           
  -------- -------------------------- --------------------------- --------