Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

AsctStub.hpp

Go to the documentation of this file.
00001 #ifndef AsctStub_HPP
00002 #define AsctStub_HPP
00003 
00004 #include <string>
00005 #include <vector>
00006 
00007 struct lua_State;
00008 
00009 using std::string;
00010 using std::vector;
00011 
00012   //IMPORTANT: This class is not multithread-safe. Users of this class must ensure that
00013   // 'state' is safely isolated when concurrently accessed
00014   class AsctStub{
00015 
00016     private:
00017 
00018       struct lua_State * state;
00019 
00020     public:
00021 
00022       AsctStub(lua_State * aState, const string & aAsctIor);
00023 
00024       void notifyRequestingAsct(const string & lrmIor,
00025                                 const string & lrmRequestId,
00026                                 const string & asctRequestId);
00027 
00028       void requestInputFiles(const vector<string> & inputFiles,
00029                              const string & destinationPath);
00030 
00031 //       void returnOutputFiles(const string & asctAppId,
00032 //                              const string & basePath,
00033 //                              const vector<string> & outputFiles);
00034 
00035       void appFinished(const string & asctAppId);
00036 
00037   };
00038 
00039 #endif//AsctStub_HPP
00040 
00041 

Generated on Mon Sep 6 16:12:47 2004 by doxygen 1.3.3