DirMonInvoker.h
Go to the documentation of this file.
50 DirectoryWatch(const std::string& dir, bool recurse = false) : _dir(dir), _recurse(recurse), _lastChecked(0) {}
85 DirectoryWatch(const std::string& dir, const std::string& relDir) : _dir(dir), _relDir(relDir), _recurse(true), _lastChecked(0) {}
101 virtual void handleChanges(DirectoryWatch::Action action, const std::string dir, const std::string file, struct stat fileStat) = 0;
123 virtual void handleChanges(DirectoryWatch::Action action, const std::string dir, const std::string file, struct stat fileStat);
virtual void uninvoke()
The invokers's parent state was left at the end of a macro-step.
Definition: DirMonInvoker.cpp:155
Definition: Breakpoint.cpp:26
Definition: DirMonInvoker.h:99
virtual void invoke(const std::string &source, const Event &invokeEvent)
Invoker's parent state became active at the end of a macro-step.
Definition: DirMonInvoker.cpp:99
Definition: DirMonInvoker.h:104
virtual std::list< std::string > getNames()
Return a list of names for types we implement.
Definition: DirMonInvoker.h:110
virtual Data getDataModelVariables()
Export a Data object for the `_x['name']` data-model namespace.
Definition: DirMonInvoker.cpp:71
virtual void handleChanges(DirectoryWatch::Action action, const std::string dir, const std::string file, struct stat fileStat)
Definition: DirMonInvoker.cpp:173
Definition: Event.h:94
virtual std::shared_ptr< InvokerImpl > create(InvokerCallbacks *callbacks)
Factory demands a new instance.
Definition: DirMonInvoker.cpp:65
Definition: Logging.h:69
Definition: DirMonInvoker.h:41
virtual void eventFromSCXML(const Event &event)
Invoker received an event from the SCXML Interpreter.
Definition: DirMonInvoker.cpp:96
Definition: Data.h:44