Chi-Tech
|
#include <PhysicsEventPublisher.h>
Public Member Functions | |
PhysicsEventPublisher (const PhysicsEventPublisher &)=delete | |
PhysicsEventPublisher | operator= (const PhysicsEventPublisher &)=delete |
void | PublishEvent (const chi::Event &event) override |
void | SolverInitialize (Solver &solver) |
void | SolverExecute (Solver &solver) |
void | SolverStep (Solver &solver) |
void | SolverAdvance (Solver &solver) |
Public Member Functions inherited from chi::EventPublisher | |
virtual void | PublishEvent (const chi::Event &event) |
void | AddSubscriber (std::shared_ptr< chi::EventSubscriber > &subscriber_sptr) |
virtual | ~EventPublisher ()=default |
Static Public Member Functions | |
static PhysicsEventPublisher & | GetInstance () |
Private Member Functions | |
PhysicsEventPublisher () | |
Additional Inherited Members | |
Protected Member Functions inherited from chi::EventPublisher | |
EventPublisher (const std::string &name) | |
Protected Attributes inherited from chi::EventPublisher | |
const std::string | publisher_name_ |
std::vector< std::weak_ptr< chi::EventSubscriber > > | subscribers_ |
A singleton object that can be subscribed to for events.
Definition at line 12 of file PhysicsEventPublisher.h.
|
delete |
|
private |
Definition at line 12 of file PhysicsEventPublisher.cc.
|
static |
Access to the singleton
Definition at line 18 of file PhysicsEventPublisher.cc.
|
delete |
|
overridevirtual |
Publish the given event.
Reimplemented from chi::EventPublisher.
Definition at line 25 of file PhysicsEventPublisher.cc.
void chi_physics::PhysicsEventPublisher::SolverAdvance | ( | Solver & | solver | ) |
Definition at line 112 of file PhysicsEventPublisher.cc.
void chi_physics::PhysicsEventPublisher::SolverExecute | ( | Solver & | solver | ) |
Definition at line 60 of file PhysicsEventPublisher.cc.
void chi_physics::PhysicsEventPublisher::SolverInitialize | ( | Solver & | solver | ) |
Definition at line 33 of file PhysicsEventPublisher.cc.
void chi_physics::PhysicsEventPublisher::SolverStep | ( | Solver & | solver | ) |
Definition at line 86 of file PhysicsEventPublisher.cc.