@@ -60,6 +60,10 @@ namespace edm {
6060 virtual void beginStream (StreamID) = 0;
6161 virtual void endStream (StreamID) = 0;
6262
63+ void respondToOpenInputFile (FileBlock const & fb) { implRespondToOpenInputFile (fb); }
64+ void respondToCloseInputFile (FileBlock const & fb) { implRespondToCloseInputFile (fb); }
65+ void respondToCloseOutputFile () { implRespondToCloseOutputFile (); }
66+
6367 virtual std::unique_ptr<OutputModuleCommunicator> createOutputModuleCommunicator () = 0;
6468
6569 void registerThinnedAssociations (ProductRegistry const & registry, ThinnedAssociationsHelper& helper);
@@ -77,6 +81,9 @@ namespace edm {
7781 private:
7882 virtual void implRegisterThinnedAssociations (ProductRegistry const & registry,
7983 ThinnedAssociationsHelper& helper) = 0;
84+ virtual void implRespondToOpenInputFile (FileBlock const & fb) = 0;
85+ virtual void implRespondToCloseInputFile (FileBlock const & fb) = 0;
86+ virtual void implRespondToCloseOutputFile () = 0;
8087 };
8188
8289 template <typename T>
@@ -133,6 +140,10 @@ namespace edm {
133140 private:
134141 void implRegisterThinnedAssociations (ProductRegistry const & registry, ThinnedAssociationsHelper& helper) final ;
135142
143+ void implRespondToOpenInputFile (FileBlock const & fb) final ;
144+ void implRespondToCloseInputFile (FileBlock const & fb) final ;
145+ void implRespondToCloseOutputFile () final ;
146+
136147 std::shared_ptr<T> m_mod;
137148 };
138149 } // namespace maker
0 commit comments