#include <State.h>
Public Member Functions | |
virtual | ~State () |
int | toInt () const |
const sk::util::String & | getName () const |
const sk::util::Class | getClass () const |
Returns the object's class. | |
const sk::util::String | toString () const |
Returns a string representation of the object. By default, it returns the object's class and the objects's id. | |
bool | operator== (const State &other) const |
virtual Object & | self () |
Returns a reference to itself. | |
virtual const Object & | self () const |
Object * | clone () const |
Instantiates another object of the same class as a copy of itself. | |
virtual uint64_t | getId () const |
Returns a unique object id. | |
virtual const String | inspect () const |
Returns a string containing human-readable representation of the object. | |
Static Public Member Functions | |
static const State & | valueOf (const sk::util::String &name) |
Static Public Attributes | |
static const State | SK_T_NEW |
static const State | SK_T_RUNNING |
static const State | SK_T_EXITED |
static const State | SK_T_STOPPED |
static const State | SK_T_EXCEPTION |
virtual sk::rt::thread::State::~State | ( | ) | [virtual] |
Object* sk::util::Object::clone | ( | ) | const [inherited] |
Instantiates another object of the same class as a copy of itself.
Reimplemented in sk::rt::logger::Destination, and sk::util::String.
const sk::util::Class sk::rt::thread::State::getClass | ( | ) | const [virtual] |
virtual uint64_t sk::util::Object::getId | ( | ) | const [virtual, inherited] |
const sk::util::String& sk::rt::thread::State::getName | ( | ) | const |
virtual const String sk::util::Object::inspect | ( | ) | const [virtual, inherited] |
Returns a string containing human-readable representation of the object.
Reimplemented in sk::rt::thread::AbstractLock, sk::rt::Thread, sk::util::Class, sk::util::Container, sk::util::slot::Pointer< T, Mixin >, sk::util::slot::Reference< T, Mixin >, sk::util::String, and sk::util::StringArray.
bool sk::rt::thread::State::operator== | ( | const State & | other | ) | const |
virtual const Object& sk::util::Object::self | ( | ) | const [virtual, inherited] |
Reimplemented in sk::util::String.
virtual Object& sk::util::Object::self | ( | ) | [virtual, inherited] |
int sk::rt::thread::State::toInt | ( | ) | const |
const sk::util::String sk::rt::thread::State::toString | ( | ) | const [virtual] |
Returns a string representation of the object. By default, it returns the object's class and the objects's id.
Reimplemented from sk::util::Object.
static const State& sk::rt::thread::State::valueOf | ( | const sk::util::String & | name | ) | [static] |
const State sk::rt::thread::State::SK_T_EXCEPTION [static] |
const State sk::rt::thread::State::SK_T_EXITED [static] |
const State sk::rt::thread::State::SK_T_NEW [static] |
const State sk::rt::thread::State::SK_T_RUNNING [static] |
const State sk::rt::thread::State::SK_T_STOPPED [static] |