Public Member Functions | |
bool | breakLoop () |
PortConnectorThread (PortInterface &connect_port, PortInterface &other_port, const ConnPolicy &policy=ConnPolicy()) | |
void | step () |
Public Member Functions inherited from RTT::Activity | |
Activity (base::RunnableInterface *r=0, const std::string &name="Activity") | |
Create a not real-time Activity. This creates a not real-time, non-periodic thread, with priority equal to RTT::os::LowestPriority. More... | |
Activity (int priority, base::RunnableInterface *r=0, const std::string &name="Activity") | |
Create a real-time Activity with a given priority. The thread is run in the ORO_SCHED_RT scheduler. More... | |
Activity (int priority, Seconds period, base::RunnableInterface *r=0, const std::string &name="Activity") | |
Create a real-time Activity with a given priority and period. The thread is run in the ORO_SCHED_RT scheduler. More... | |
Activity (int scheduler, int priority, base::RunnableInterface *r=0, const std::string &name="Activity") | |
Create an Activity with a given scheduler type and priority. More... | |
Activity (int scheduler, int priority, Seconds period, base::RunnableInterface *r=0, const std::string &name="Activity") | |
Create an Activity with a given scheduler type, priority and period. More... | |
Activity (int scheduler, int priority, Seconds period, unsigned cpu_affinity, base::RunnableInterface *r=0, const std::string &name="Activity") | |
Create an Activity with a given scheduler type, priority, period and cpu affinity. More... | |
virtual bool | execute () |
virtual void | finalize () |
virtual unsigned | getCpuAffinity () const |
virtual Seconds | getPeriod () const |
virtual bool | initialize () |
virtual bool | isActive () const |
virtual bool | isPeriodic () const |
virtual bool | isRunning () const |
virtual void | loop () |
virtual bool | setCpuAffinity (unsigned cpu) |
virtual bool | setPeriod (Seconds period) |
void | setWaitPeriodPolicy (int p) |
virtual bool | start () |
virtual bool | stop () |
virtual os::ThreadInterface * | thread () |
virtual bool | timeout () |
virtual bool | trigger () |
virtual void | work (base::RunnableInterface::WorkReason reason) |
virtual | ~Activity () |
Public Member Functions inherited from RTT::base::ActivityInterface | |
ActivityInterface () | |
ActivityInterface (RunnableInterface *run) | |
virtual RunnableInterface * | getRunner () const |
virtual bool | run (RunnableInterface *r) |
virtual | ~ActivityInterface () |
Public Member Functions inherited from RTT::os::Thread | |
virtual int | getMaxOverrun () const |
virtual const char * | getName () const |
void | getPeriod (secs &s, nsecs &ns) const |
virtual nsecs | getPeriodNS () const |
virtual unsigned int | getPid () const |
virtual int | getPriority () const |
virtual int | getScheduler () const |
Seconds | getStopTimeout () const |
virtual RTOS_TASK * | getTask () |
virtual const RTOS_TASK * | getTask () const |
virtual void | setMaxOverrun (int m) |
bool | setPeriod (Seconds s) |
bool | setPeriod (secs s, nsecs ns) |
bool | setPeriod (TIME_SPEC p) |
virtual bool | setPriority (int priority) |
virtual bool | setScheduler (int sched_type) |
void | setStopTimeout (Seconds s) |
Thread (int scheduler, int priority, double period, unsigned cpu_affinity, const std::string &name) | |
virtual void | yield () |
virtual | ~Thread () |
Public Member Functions inherited from RTT::os::ThreadInterface | |
bool | isSelf () const |
ThreadInterface () | |
unsigned int | threadNumber () const |
virtual | ~ThreadInterface () |
Public Attributes | |
unsigned | connect_counter |
unsigned | connect_failure_counter |
PortInterface & | connect_port |
bool | connected |
unsigned | disconnect_counter |
unsigned | disconnect_failure_counter |
PortInterface & | other_port |
ConnPolicy | policy |
RTT::internal::SharedConnectionBase::shared_ptr | shared_connection |
unsigned | step_counter |
Additional Inherited Members | |
Public Types inherited from RTT::base::ActivityInterface | |
typedef boost::shared_ptr< ActivityInterface > | shared_ptr |
Static Public Member Functions inherited from RTT::os::Thread | |
static void | setLockTimeoutNoPeriod (double timeout_in_s) |
static void | setLockTimeoutPeriodFactor (double factor) |
static void | setStackSize (unsigned int ssize) |
Protected Member Functions inherited from RTT::base::ActivityInterface | |
void | disableRun (RunnableInterface *caller) |
Protected Member Functions inherited from RTT::os::Thread | |
void | emergencyStop () |
void | terminate () |
Protected Attributes inherited from RTT::Activity | |
os::Condition | msg_cond |
os::Mutex | msg_lock |
bool | mstopRequested |
bool | mtimeout |
int | mwaitpolicy |
double | update_period |
Protected Attributes inherited from RTT::base::ActivityInterface | |
RunnableInterface * | runner |
Protected Attributes inherited from RTT::os::Thread | |
bool | active |
MutexRecursive | breaker |
bool | inloop |
int | maxOverRun |
int | msched_type |
NANO_TIME | period |
bool | prepareForExit |
RTOS_TASK | rtos_task |
bool | running |
rt_sem_t | sem |
double | stopTimeout |
Protected Attributes inherited from RTT::os::ThreadInterface | |
int | threadnb |
Static Protected Attributes inherited from RTT::os::Thread | |
static unsigned int | default_stack_size = 0 |
static double | lock_timeout_no_period_in_s = 1.0 |
static double | lock_timeout_period_factor = 10.0 |
Definition at line 1138 of file ports_test.cpp.
|
inline |
Definition at line 1141 of file ports_test.cpp.
|
inlinevirtual |
Reimplemented from RTT::Activity.
Definition at line 1168 of file ports_test.cpp.
|
inlinevirtual |
Reimplemented from RTT::Activity.
Definition at line 1146 of file ports_test.cpp.
unsigned ConcurrencyPortsTestFixture::PortConnectorThread::connect_counter |
Definition at line 1175 of file ports_test.cpp.
unsigned ConcurrencyPortsTestFixture::PortConnectorThread::connect_failure_counter |
Definition at line 1175 of file ports_test.cpp.
PortInterface& ConcurrencyPortsTestFixture::PortConnectorThread::connect_port |
Definition at line 1170 of file ports_test.cpp.
bool ConcurrencyPortsTestFixture::PortConnectorThread::connected |
Definition at line 1177 of file ports_test.cpp.
unsigned ConcurrencyPortsTestFixture::PortConnectorThread::disconnect_counter |
Definition at line 1176 of file ports_test.cpp.
unsigned ConcurrencyPortsTestFixture::PortConnectorThread::disconnect_failure_counter |
Definition at line 1176 of file ports_test.cpp.
PortInterface& ConcurrencyPortsTestFixture::PortConnectorThread::other_port |
Definition at line 1171 of file ports_test.cpp.
ConnPolicy ConcurrencyPortsTestFixture::PortConnectorThread::policy |
Definition at line 1173 of file ports_test.cpp.
RTT::internal::SharedConnectionBase::shared_ptr ConcurrencyPortsTestFixture::PortConnectorThread::shared_connection |
Definition at line 1172 of file ports_test.cpp.
unsigned ConcurrencyPortsTestFixture::PortConnectorThread::step_counter |
Definition at line 1174 of file ports_test.cpp.