Home
last modified time | relevance | path

Searched defs:FileGenerator (Results 1 – 1 of 1) sorted by relevance

/system/tools/hidl/
Dmain.cpp52 struct FileGenerator { struct
53 using ShouldGenerateFunction = std::function<bool(const FQName& fqName)>;
54 using FileNameForFQName = std::function<std::string(const FQName& fqName)>;
55 using GetFormatter = std::function<Formatter(void)>;
56 using GenerationFunction =
60 ShouldGenerateFunction mShouldGenerateForFqName; // If generate function applies to this target
61 FileNameForFQName mFileNameForFqName; // Target -> filename
62 GenerationFunction mGenerationFunction; // Function to generate output for file
64 std::string getFileName(const FQName& fqName) const { in getFileName()
68 status_t getOutputFile(const FQName& fqName, const Coordinator* coordinator, in getOutputFile()
[all …]