Changeset 139 in flair-src for trunk/lib/FlairCore/src


Ignore:
Timestamp:
Feb 14, 2017, 5:02:06 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

warn message if vrpnobject is added on running client

Location:
trunk/lib/FlairCore/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/Thread.cpp

    r133 r139  
    7878bool Thread::IsSuspended(void) const { return pimpl_->IsSuspended(); }
    7979
     80bool Thread::IsRunning(void) const { return pimpl_->isRunning; }
     81
    8082void Thread::Resume(void) { pimpl_->Resume(); }
    8183
  • trunk/lib/FlairCore/src/Thread.h

    r15 r139  
    176176  */
    177177  bool IsSuspended(void) const;
     178 
     179  /*!
     180  * \brief Is the thread running?
     181  *
     182  * \return true if thread is running (call to Start). A suspended thread is running.
     183  *
     184  */
     185  bool IsRunning(void) const;
    178186
    179187  /*!
  • trunk/lib/FlairCore/src/unexported/Thread_impl.h

    r15 r139  
    4949  int WaitUpdate(const flair::core::IODevice *device);
    5050  bool period_set;
     51   bool isRunning;
    5152
    5253private:
     
    5859  uint64_t cpt;
    5960  flair::core::Time period;
    60   bool isRunning;
    6161  bool tobestopped;
    6262  bool is_suspended;
Note: See TracChangeset for help on using the changeset viewer.