![]() |
RobWorkProject
23.9.11-
|
A special type of scope that is also a simulation step. More...
#include <LogStep.hpp>
Inherits SimulatorLogScope.
Public Types | |
| typedef rw::core::Ptr< LogStep > | Ptr |
| Smart pointer type of LogStep. | |
Public Types inherited from SimulatorLogScope | |
| typedef rw::core::Ptr< SimulatorLogScope > | Ptr |
| Smart pointer type of SimulatorLogScope. | |
Public Types inherited from SimulatorLog | |
| typedef rw::core::Ptr< SimulatorLog > | Ptr |
| Smart pointer type of SimulatorLog. | |
| typedef rw::core::Ptr< const SimulatorLog > | CPtr |
| Smart pointer type of const SimulatorLog. | |
Public Member Functions | |
| LogStep (SimulatorLogScope *parent) | |
| Constructor. More... | |
| virtual | ~LogStep () |
| Destructor. | |
| virtual void | read (class rw::common::InputArchive &iarchive, const std::string &id) |
| virtual void | write (class rw::common::OutputArchive &oarchive, const std::string &id) const |
| virtual std::string | getType () const |
| Get a textual representation of the type of the item. More... | |
| virtual bool | operator== (const SimulatorLog &b) const |
| Check if logs are identical. More... | |
| virtual std::string | getDescription () const |
| Get a string describing this entry. More... | |
| virtual double | timeBegin () const |
| Get the time at the beginning of timestep. More... | |
| virtual double | timeEnd () const |
| Get the time at the end of timestep. More... | |
| virtual void | setTimeBegin (double time) |
| Set the time at the beginning of timestep. More... | |
| virtual void | setTimeEnd (double time) |
| Set the time at the end of timestep. More... | |
Public Member Functions inherited from SimulatorLogScope | |
| SimulatorLogScope (SimulatorLogScope *parent=NULL) | |
| Constructor. More... | |
| virtual | ~SimulatorLogScope () |
| Destructor. | |
| virtual std::size_t | children () const |
| Get the number of children under this log item. More... | |
| std::vector< SimulatorLog::Ptr > | getChildren () const |
| Get the children of this scope. More... | |
| SimulatorLog::Ptr | getChild (std::size_t id) const |
| Get a specific child item. More... | |
| std::size_t | indexOf (const SimulatorLog *child) const |
| Get the id of a specific log item that is known to be a child. More... | |
| void | appendChild (SimulatorLog::Ptr child) |
| Add a child to this scope. More... | |
| rw::core::Ptr< const SimulatorStatistics > | getStatistics () |
| Get statistics for this scope. More... | |
| virtual int | lineBegin () const |
| Get the line in the file where this scope begins. More... | |
| virtual int | lineEnd () const |
| Get the line in the file where this scope ends. More... | |
| virtual void | setLineBegin (int line) |
| Set the line in the file where this scope begins. More... | |
| virtual void | setLineEnd (int line) |
| Set the line in the file where this scope ends. More... | |
Public Member Functions inherited from SimulatorLog | |
| SimulatorLog (SimulatorLogScope *parent=NULL) | |
| Constructor. More... | |
| virtual | ~SimulatorLog () |
| Destructor. | |
| virtual SimulatorLogScope * | getParent () const |
| Get the parent of this log item. More... | |
| virtual bool | operator!= (const SimulatorLog &b) const |
| Check if logs are non-identical. More... | |
| virtual std::string | getFilename () const |
| Get the full filename with path for where this log entry was created. More... | |
| virtual void | setFilename (const std::string &file) |
| Set the name of the file where this log entry was created. More... | |
| virtual void | setFilename (const char *file) |
| Set the name of the file where this log entry was created. More... | |
| virtual void | setDescription (const std::string &description) |
| Set a very short description of this entry. More... | |
Public Member Functions inherited from Serializable | |
| virtual | ~Serializable () |
| destructor | |
A special type of scope that is also a simulation step.
This scope saves additional information about the time step taken.
| LogStep | ( | SimulatorLogScope * | parent | ) |
Constructor.
| parent | the parent of this log item. |
|
virtual |
|
virtual |
Get a textual representation of the type of the item.
Reimplemented from SimulatorLogScope.
|
virtual |
Check if logs are identical.
| b | [in] other log to compare with. |
Reimplemented from SimulatorLogScope.
|
virtual |
Enable read-serialization of inherited class by implementing this method. Data is read from iarchive and filled into this object.
| iarchive | [in] the InputArchive from which to read data. |
| id | [in] The id of the serialized sobject. |
Reimplemented from SimulatorLogScope.
|
virtual |
Set the time at the beginning of timestep.
| time | [in] the initial time. |
|
virtual |
Set the time at the end of timestep.
| time | [in] the final time. |
|
virtual |
Get the time at the beginning of timestep.
|
virtual |
Get the time at the end of timestep.
|
virtual |
Enable write-serialization of inherited class by implementing this method. Data is written to oarchive from this object.
| oarchive | [out] the OutputArchive in which data should be written. |
| id | [in] The id of the serialized sobject. |
Reimplemented from SimulatorLogScope.