1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#pragma once
#include "CppName.h"
#include "SrcPos.h"
#include "Auto.h"
#include "Doc.h"
/**
* Describe a thread declared in C++ (using STORM_THREAD(Foo)).
*/
class Thread : public Refcount {
public:
Thread(const CppName &name, const String &pkg, const SrcPos &pos, const Auto<Doc> &doc, bool external);
// Name.
CppName name;
// Package.
String pkg;
// Position.
SrcPos pos;
// Documentation.
Auto<Doc> doc;
// Id.
nat id;
// External?
bool external;
};
|