boost.png (6897 bytes) Home Libraries People FAQ More

PrevUpHomeNext

Class main_scope

boost::stacktrack::main_scope — used to represent the "root" scope for a given thread

Synopsis

#include <boost/stacktrack/scope.hpp>

using namespace boost::stacktrack;

class main_scope :  boost::stacktrack::outer_scope {
public:
  // construct/copy/destruct
  main_scope(const char *, const sourceloc &);
  ~main_scope();

  // public member functions
};

Description

main_scope should be used anywhere a thread begins it's processing

main_scope construct/copy/destruct

  1. main_scope(const char * purpose, const sourceloc & location);

    Parameters

    location

    location of scope in source code

    purpose

    user-defined tag for scope

  2. ~main_scope();

main_scope public member functions

    Copyright © 2005 James Fowler

    PrevUpHomeNext