FlightGear next
FGViewMgr Class Reference

#include <viewmgr.hxx>

Inherits SGSubsystem.

Public Member Functions

 FGViewMgr (void)
 
 ~FGViewMgr (void)
 
void bind () override
 
void init () override
 
void postinit () override
 
void reinit () override
 
void shutdown () override
 
void unbind () override
 
void update (double dt) override
 
int size () const
 
int getCurrentViewIndex () const
 
flightgear::Viewget_current_view ()
 
const flightgear::Viewget_current_view () const
 
flightgear::Viewget_view (int i)
 
const flightgear::Viewget_view (int i) const
 
flightgear::Viewnext_view ()
 
flightgear::Viewprev_view ()
 
void view_push ()
 
void clone_current_view (const SGPropertyNode *config)
 
void clone_last_pair (const SGPropertyNode *config)
 
void clone_last_pair_double (const SGPropertyNode *config)
 
void view_new (const SGPropertyNode *config)
 
void clear ()
 
void add_view (flightgear::View *v)
 
bool video_start (const std::string &name="", const std::string &codec="", double quality=-1, double speed=-1, int bitrate=0)
 
void video_stop ()
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 

Detailed Description

Definition at line 45 of file viewmgr.hxx.

Constructor & Destructor Documentation

◆ FGViewMgr()

FGViewMgr::FGViewMgr ( void )

Definition at line 32 of file viewmgr.cxx.

◆ ~FGViewMgr()

FGViewMgr::~FGViewMgr ( void )

Definition at line 37 of file viewmgr.cxx.

Member Function Documentation

◆ add_view()

void FGViewMgr::add_view ( flightgear::View * v)

Definition at line 358 of file viewmgr.cxx.

◆ bind()

void FGViewMgr::bind ( )
override

Definition at line 123 of file viewmgr.cxx.

◆ clear()

void FGViewMgr::clear ( )

Definition at line 258 of file viewmgr.cxx.

◆ clone_current_view()

void FGViewMgr::clone_current_view ( const SGPropertyNode * config)

Definition at line 335 of file viewmgr.cxx.

◆ clone_last_pair()

void FGViewMgr::clone_last_pair ( const SGPropertyNode * config)

Definition at line 340 of file viewmgr.cxx.

◆ clone_last_pair_double()

void FGViewMgr::clone_last_pair_double ( const SGPropertyNode * config)

Definition at line 345 of file viewmgr.cxx.

◆ get_current_view() [1/2]

flightgear::View * FGViewMgr::get_current_view ( )

Definition at line 264 of file viewmgr.cxx.

◆ get_current_view() [2/2]

const flightgear::View * FGViewMgr::get_current_view ( ) const

Definition at line 279 of file viewmgr.cxx.

◆ get_view() [1/2]

flightgear::View * FGViewMgr::get_view ( int i)

Definition at line 286 of file viewmgr.cxx.

◆ get_view() [2/2]

const flightgear::View * FGViewMgr::get_view ( int i) const

Definition at line 294 of file viewmgr.cxx.

◆ getCurrentViewIndex()

int FGViewMgr::getCurrentViewIndex ( ) const

Definition at line 495 of file viewmgr.cxx.

◆ init()

void FGViewMgr::init ( )
override

Definition at line 42 of file viewmgr.cxx.

◆ next_view()

flightgear::View * FGViewMgr::next_view ( )

Definition at line 302 of file viewmgr.cxx.

◆ postinit()

void FGViewMgr::postinit ( )
override

Definition at line 95 of file viewmgr.cxx.

◆ prev_view()

flightgear::View * FGViewMgr::prev_view ( )

Definition at line 311 of file viewmgr.cxx.

◆ reinit()

void FGViewMgr::reinit ( )
override

Definition at line 114 of file viewmgr.cxx.

◆ shutdown()

void FGViewMgr::shutdown ( )
override

Definition at line 103 of file viewmgr.cxx.

◆ size()

int FGViewMgr::size ( ) const
inline

Definition at line 67 of file viewmgr.hxx.

◆ staticSubsystemClassId()

static const char * FGViewMgr::staticSubsystemClassId ( )
inlinestatic

Definition at line 64 of file viewmgr.hxx.

◆ unbind()

void FGViewMgr::unbind ( )
override

Definition at line 140 of file viewmgr.cxx.

◆ update()

void FGViewMgr::update ( double dt)
override

Definition at line 180 of file viewmgr.cxx.

◆ video_start()

bool FGViewMgr::video_start ( const std::string & name = "",
const std::string & codec = "",
double quality = -1,
double speed = -1,
int bitrate = 0 )

Definition at line 364 of file viewmgr.cxx.

◆ video_stop()

void FGViewMgr::video_stop ( )

Definition at line 481 of file viewmgr.cxx.

◆ view_new()

void FGViewMgr::view_new ( const SGPropertyNode * config)

Definition at line 350 of file viewmgr.cxx.

◆ view_push()

void FGViewMgr::view_push ( )

Definition at line 322 of file viewmgr.cxx.


The documentation for this class was generated from the following files: