|
Stride Reference Manual
- generated for commit 9643b11
|
Namespace to manage events signalled by the SimRunner. More...
Enumerations | |
| enum | Id { Id::AtStart, Id::Stepped, Id::Finished, Id::SetupBegin, Id::SetupEnd } |
| Enumerates the event. More... | |
Functions | |
| bool | IsType (const std::string &s) |
| Check whether string is name of a ContactPoolType::Id. More... | |
| string | ToString (Id w) |
| Converts a ContactPoolType::Id value to corresponding name. More... | |
| Id | ToType (const std::string &s) |
| Converts a string with name to Id. More... | |
| constexpr unsigned int | NumOfTypes () |
| Number of ContactPool types. More... | |
| std::size_t | ToSizeT (Id id) |
| Cast to size_t for indexing. More... | |
Namespace to manage events signalled by the SimRunner.
|
strong |
| bool stride::sim_event::IsType | ( | const string & | s | ) |
Check whether string is name of a ContactPoolType::Id.
Definition at line 32 of file Id.cpp.
References AtStart, Finished, SetupBegin, SetupEnd, and Stepped.
Referenced by NumOfTypes().

| std::string stride::sim_event::ToString | ( | Id | c | ) |
| Id stride::sim_event::ToType | ( | const string & | s | ) |
|
inline |
Number of ContactPool types.
Definition at line 40 of file Id.h.
References IsType().

|
inline |
Cast to size_t for indexing.
Definition at line 46 of file Id.h.
References ToString(), and ToType().
