AnimatLab  2
Test
ScriptProcessor.cpp
1 #include "StdAfx.h"
2 #include "IMovableItemCallback.h"
3 #include "ISimGUICallback.h"
4 #include "IMotorizedJoint.h"
5 #include "AnimatBase.h"
6 
7 #include "Node.h"
8 #include "Link.h"
9 #include "IPhysicsMovableItem.h"
10 #include "IPhysicsBody.h"
11 #include "BoundingBox.h"
12 #include "MovableItem.h"
13 #include "BodyPart.h"
14 #include "Joint.h"
15 #include "ReceptiveField.h"
16 #include "ContactSensor.h"
17 #include "RigidBody.h"
18 #include "Structure.h"
19 #include "NeuralModule.h"
20 #include "Adapter.h"
21 #include "NervousSystem.h"
22 #include "Organism.h"
23 #include "ActivatedItem.h"
24 #include "ActivatedItemMgr.h"
25 #include "DataChartMgr.h"
26 #include "ExternalStimuliMgr.h"
27 #include "KeyFrame.h"
28 #include "SimulationRecorder.h"
29 #include "OdorType.h"
30 #include "Odor.h"
31 #include "Light.h"
32 #include "LightManager.h"
33 #include "Simulator.h"
34 #include "ScriptProcessor.h"
35 
36 namespace AnimatSim
37 {
38 
39 std::string g_strLastScriptError;
40 boost::mutex g_mtiScriptErrorLock;
41 
42 
43 void SetLastScriptError(std::string strError)
44 {
45  boost::unique_lock<boost::mutex> scriptLock(g_mtiScriptErrorLock);
46  g_strLastScriptError = strError;
47 }
48 
49 std::string GetLastScriptError()
50 {
51  return g_strLastScriptError;
52 }
53 
54 ScriptProcessor::ScriptProcessor(void)
55 {
56 }
57 
58 ScriptProcessor::~ScriptProcessor(void)
59 {
60 try
61 {
62 }
63 catch(...)
64 {Std_TraceMsg(0, "Caught Error in desctructor of ScriptProcessor\r\n", "", -1, false, true);}
65 }
66 
67 
68 }
Base class file for all Animat simulation objects.
Declares the nervous system class.
Declares the simulation recorder class.
Root namespace for the base simulation library for AnimatLab.
Declares the body part class.
Declares the key frame class.
Declares the joint class.
Declares the organism class.
Declares a light object.
Declares the activated item class.
Declares a light manager object.
Declares the bounding box class.
Declares the node class.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
Declares the data chart manager class.
Declares the rigid body class.
Declares the structure class.
Declares the odor type class.
Declares the odor class.
Declares the simulator class.
Declares the neural module class.
Declares the activated item manager class.
Declares the contact sensor class.
Declares the external stimuli manager class.
Declares the receptive field class.