1 #ifndef __PARPORT_TASK_TASK_HPP__ 2 #define __PARPORT_TASK_TASK_HPP__ 4 #include "parport/TaskBase.hpp" 6 #include <rtt/InputPort.hpp> 7 #include <rtt/OutputPort.hpp> 11 class Task :
public TaskBase
20 RTT::OutputPort<parport::StateChange>* output;
21 RTT::InputPort<parport::StateChange>* input;
23 typedef std::vector<PinMapping> PinMappings;
24 PinMappings m_pin_mappings;
28 bool watch_pin(std::string
const &name,
int pin);
30 Task(std::string
const& name =
"parport::Task");
Task(std::string const &name="parport::Task")
Definition: Task.cpp:6
friend class TaskBase
Definition: Task.hpp:13
ParportDriver * m_driver
Definition: Task.hpp:26
Definition: parportTypes.hh:7
void updateHook()
This hook is called by Orocos when the state machine transitions from Stopped to Running.
Definition: Task.cpp:61
~Task()
Definition: Task.cpp:11
bool configureHook()
This hook is called by Orocos when the state machine transitions from PreOperational to Stopped...
Definition: Task.cpp:48
bool watch_pin(std::string const &name, int pin)
Definition: Task.cpp:22