Here is my suggestion:

enum DoorState
{
  Stationary,
  Opening,
  Closing
}
void activateDoor (const MWWorld::Ptr&);
DoorState getDoorState (const MWWorld::Ptr&) const;