38 #ifdef ORO_PRAGMA_INTERFACE    39 #pragma implementation    41 #include "../Time.hpp"    43 #include "../os/MutexLock.hpp"    44 #include "../Logger.hpp"    49     using namespace extras;
   122         res = 
thread_->addActivity( 
this );
   123         if ( res == 
false ) {
   140         if ( 
thread_->removeActivity( 
this ) ) {
   170       return thread_->getCpuAffinity();
   175       return thread_->setCpuAffinity(cpu);
 virtual void work(WorkReason reason)
A class for running a certain piece of code in a thread. 
RunnableInterface * runner
Interface to start/stop and query a Activity. 
virtual void finalize()=0
virtual bool initialize()=0
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.