0

As a ace framework newer, i always encounter some problem when using this framework. I copy some example code from website and execute it in linux. however some error throw out because of no include correspond header file. for exmaple some error like this: error: ‘sleep’ is not a member of ‘ACE_OS’. so how can i found this function define in which header file

Michael Scofield
  • 61
  • 1
  • 1
  • 7
  • I just find a good website http://www.dre.vanderbilt.edu/Doxygen/5.8.3/html/libace-doc/index.html. Also i can find ACE_OS::sleep function define. but this website don't tell which header file include this define. – Michael Scofield Dec 02 '13 at 07:45
  • Here is a complete [function list](http://www.dre.vanderbilt.edu/Doxygen/5.7.8/html/ace/functions_func.html). – Jonathon Reinhart Dec 02 '13 at 07:46
  • hi Jonathon Reinhart. Also i can find ACE_OS::sleep function define. but this website don't tell which header file include this define – Michael Scofield Dec 02 '13 at 07:50
  • Most easiest is just to do a "grep sleep $ACE_ROOT/ace/OS*.h", that tells you the file where this method is defined. Other optin is to use the most recent doxygen tree at http://doxygen.theaceorb.nl/libace-doc/index.html – Johnny Willemsen Dec 02 '13 at 13:36
  • thx @Johnny Willemsen, you solve my problem – Michael Scofield Dec 05 '13 at 08:58

1 Answers1

0

Most easiest is just to do a "grep sleep $ACE_ROOT/ace/OS*.h", that tells you the file where this method is defined. Other option is to use the most recent doxygen tree at http://doxygen.theaceorb.nl/libace-doc/index.html

Johnny Willemsen
  • 2,942
  • 1
  • 14
  • 16