SCL
1.0
Standard Control Library : Control, dynamics, physics, and simulation
|
#include <SObject.hpp>
Public Member Functions | |
SObject (const std::string &arg_type) | |
SObject (const char *arg_type) | |
virtual | ~SObject () |
virtual const std::string & | getType () const |
virtual const std::string & | getName () const |
virtual bool | hasBeenInit () const |
Public Attributes | |
std::string | name_ |
sBool | has_been_init_ |
Protected Attributes | |
std::string | type_ |
Private Member Functions | |
SObject () | |
A generic object in the world. All database objects should inherit from this.
|
inlineexplicit |
Constructor sets the type of the object. All subclasses should call this and set their type.
|
inlinevirtual |
Default destructor. Does nothing.
|
private |
Disabled default constructors
|
inlinevirtual |
Get the object's type
|
inlinevirtual |
Get the object's type
|
inlinevirtual |
Get the object's type
sBool scl::SObject::has_been_init_ |
Whether the object is ready for use
std::string scl::SObject::name_ |
The object's name
|
protected |
The object's type. Should only be set by the constructor