From 1d2b3d3dc93ebe4383f5a91cd2ca20b04bd8eba4 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Sun, 28 Apr 2013 03:31:16 +0200 Subject: [PATCH] Derived classes may access this. --- indra/aistatemachine/aistatemachine.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/aistatemachine/aistatemachine.h b/indra/aistatemachine/aistatemachine.h index 160c6d6eb..9b5b0aab6 100644 --- a/indra/aistatemachine/aistatemachine.h +++ b/indra/aistatemachine/aistatemachine.h @@ -146,12 +146,15 @@ class AIStateMachine : public LLThreadSafeRefCount typedef AIAccessConst multiplex_state_type_crat; typedef AIAccess multiplex_state_type_rat; typedef AIAccess multiplex_state_type_wat; + + protected: // Sub state. AIThreadSafeSimpleDC mSubState; typedef AIAccessConst sub_state_type_crat; typedef AIAccess sub_state_type_rat; typedef AIAccess sub_state_type_wat; + private: // Mutex protecting everything below and making sure only one thread runs the state machine at a time. LLMutex mMultiplexMutex; // Mutex that is locked while calling *_impl() functions and the call back.