File indexing completed on 2024-11-24 05:05:28

0001 #ifndef PRJACTOR_H
0002 #define PRJACTOR_H
0003 
0004 namespace Codethink::prjvhc { class Vehicle; }
0005 
0006 namespace Codethink {
0007 namespace prjact {
0008 
0009 class Actor {
0010 public:
0011     Actor();
0012     ~Actor();
0013 
0014     void setVehicle(prjvhc::Vehicle *vehicle);
0015     prjvhc::Vehicle *vehicle() const;
0016 
0017 private:
0018     // The usage of a raw pointer is because we can't use std::shared_ptr here,
0019     // as we can't depend on system includes *at all*.
0020     Codethink::prjvhc::Vehicle *m_vehicle_p;
0021 };
0022 
0023 } // end namespace prjact
0024 } // end namespace codethink
0025 
0026 #endif