Go to the documentation of this file.
34 #ifndef TTA_OPERATION_INDEX_HH
35 #define TTA_OPERATION_INDEX_HH
67 std::string
path(
int i)
const;
86 typedef std::map<std::string, std::vector<OperationModule*> >
100 const std::string&
path,
101 const std::string& operName);
void addPath(const std::string &path)
void refreshModule(const std::string &path, const std::string &modName)
DefinitionTable opDefinitions_
Contains all operation definitions defined in available operation modules indexed by module names.
std::set< const OperationModule * > brokenModules_
std::vector< OperationModule * > modules_
Container holding all modules.
std::map< std::string, ObjectState * > DefinitionTable
Contains all object state trees of modules indexed by operation definition module names.
static const std::string PROPERTY_FILE_EXTENSION
std::vector< OperationBehaviorProxy * > proxies_
void addModule(OperationModule *module, const std::string &path)
std::vector< std::string > paths_
List of paths searched for the operation modules.
void readOperations(const OperationModule &module)
OperationBehaviorLoader loader_
virtual ~OperationIndex()
OperationIndex & operator=(const OperationIndex &)
Assignment not allowed.
std::map< std::string, std::vector< OperationModule * > > ModuleTable
Contains all operation modules indexed by full path names.
ModuleTable modulesInPath_
Contains all operation modules found in a search path organized by path names.
Operation * effectiveOperation(const TCEString &name)
std::string path(int i) const
void removeModule(const std::string &path, const std::string &modName)
OperationSerializer serializer_
Reads the operation property definitions.
int operationCount(const OperationModule &om)
OperationModule & module(int i)
OperationModule & moduleOf(const std::string &name)
std::string operationName(int i, const OperationModule &om)