29#include <simgear/compiler.h>
30#include <simgear/structure/subsystem_mgr.hxx>
31#include <simgear/props/props.hxx>
32#include <simgear/props/tiedpropertylist.hxx>
33#include <simgear/math/SGMath.hxx>
34#include <simgear/screen/video-encoder.hxx>
41 typedef SGSharedPtr<flightgear::View>
ViewPtr;
61 void update(
double dt)
override;
67 inline int size()
const {
return views.size(); }
90 void view_new(
const SGPropertyNode* config);
127 const std::string&
name=
"",
128 const std::string& codec=
"",
139 simgear::TiedPropertyList _tiedProperties;
141 void setCurrentViewIndex(
int newview);
143 bool _inited =
false;
144 std::vector<SGPropertyNode_ptr> config_list;
145 SGPropertyNode_ptr _viewNumberProp;
146 typedef std::vector<flightgear::ViewPtr> viewer_list;
151 std::unique_ptr<simgear::VideoEncoder> _video_encoder;
void view_new(const SGPropertyNode *config)
static const char * staticSubsystemClassId()
void update(double dt) override
flightgear::View * next_view()
flightgear::View * prev_view()
int getCurrentViewIndex() const
void clone_current_view(const SGPropertyNode *config)
void clone_last_pair_double(const SGPropertyNode *config)
flightgear::View * get_view(int i)
bool video_start(const std::string &name="", const std::string &codec="", double quality=-1, double speed=-1, int bitrate=0)
flightgear::View * get_current_view()
void clone_last_pair(const SGPropertyNode *config)
void add_view(flightgear::View *v)
FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information ...
SGSharedPtr< flightgear::View > ViewPtr