Stride Reference Manual  - generated for commit 9643b11
Id.h File Reference

Definition of EventId. More...

#include <cstddef>
#include <string>
Include dependency graph for Id.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 stride
 Namespace for the simulator and related classes.
 
 stride::sim_event
 Namespace to manage events signalled by the SimRunner.
 

Enumerations

enum  stride::sim_event::Id {
  stride::sim_event::Id::AtStart, stride::sim_event::Id::Stepped, stride::sim_event::Id::Finished, stride::sim_event::Id::SetupBegin,
  stride::sim_event::Id::SetupEnd
}
 Enumerates the event. More...
 

Functions

constexpr unsigned int stride::sim_event::NumOfTypes ()
 Number of ContactPool types. More...
 
bool stride::sim_event::IsType (const std::string &s)
 Check whether string is name of a ContactPoolType::Id. More...
 
std::size_t stride::sim_event::ToSizeT (Id id)
 Cast to size_t for indexing. More...
 
string stride::sim_event::ToString (Id w)
 Converts a ContactPoolType::Id value to corresponding name. More...
 
Id stride::sim_event::ToType (const std::string &s)
 Converts a string with name to Id. More...
 

Detailed Description

Definition of EventId.

Definition in file Id.h.