FlightGear next
FGMultiplayMgr Class Reference

#include <multiplaymgr.hxx>

Inherits SGSubsystem.

Classes

union  MsgBuf
 The buffer that holds a multi-player message, suitably aligned. More...
 

Public Member Functions

 FGMultiplayMgr ()
 
 ~FGMultiplayMgr ()
 
void init () override
 
void reinit () override
 
void shutdown () override
 
void update (double dt) override
 
void SendTextMessage (const std::string &sMsgText)
 
FGAIMultiplayergetMultiplayer (const std::string &callsign)
 
std::shared_ptr< std::vector< char > > popMessageHistory ()
 
void pushMessageHistory (std::shared_ptr< std::vector< char > > message)
 
void ClearMotion ()
 
CPDLCManagergetCPDLC ()
 

Static Public Member Functions

static const char * staticSubsystemClassId ()
 

Friends

class MPPropertyListener
 

Detailed Description

Definition at line 40 of file multiplaymgr.hxx.

Constructor & Destructor Documentation

◆ FGMultiplayMgr()

FGMultiplayMgr::FGMultiplayMgr ( )

Definition at line 1040 of file multiplaymgr.cxx.

◆ ~FGMultiplayMgr()

FGMultiplayMgr::~FGMultiplayMgr ( )

Definition at line 1074 of file multiplaymgr.cxx.

Member Function Documentation

◆ ClearMotion()

void FGMultiplayMgr::ClearMotion ( )

Definition at line 2099 of file multiplaymgr.cxx.

◆ getCPDLC()

CPDLCManager * FGMultiplayMgr::getCPDLC ( )
inline

Definition at line 68 of file multiplaymgr.hxx.

◆ getMultiplayer()

FGAIMultiplayer * FGMultiplayMgr::getMultiplayer ( const std::string & callsign)

Definition at line 2839 of file multiplaymgr.cxx.

◆ init()

void FGMultiplayMgr::init ( void )
override

Definition at line 1093 of file multiplaymgr.cxx.

◆ popMessageHistory()

std::shared_ptr< std::vector< char > > FGMultiplayMgr::popMessageHistory ( )

Definition at line 2557 of file multiplaymgr.cxx.

◆ pushMessageHistory()

void FGMultiplayMgr::pushMessageHistory ( std::shared_ptr< std::vector< char > > message)

Definition at line 2568 of file multiplaymgr.cxx.

◆ reinit()

void FGMultiplayMgr::reinit ( )
override

Definition at line 1246 of file multiplaymgr.cxx.

◆ SendTextMessage()

void FGMultiplayMgr::SendTextMessage ( const std::string & sMsgText)

Definition at line 1823 of file multiplaymgr.cxx.

◆ shutdown()

void FGMultiplayMgr::shutdown ( void )
override

Definition at line 1213 of file multiplaymgr.cxx.

◆ staticSubsystemClassId()

static const char * FGMultiplayMgr::staticSubsystemClassId ( )
inlinestatic

Definition at line 53 of file multiplaymgr.hxx.

◆ update()

void FGMultiplayMgr::update ( double dt)
override

Just for expiry

Definition at line 1992 of file multiplaymgr.cxx.

Friends And Related Symbol Documentation

◆ MPPropertyListener

friend class MPPropertyListener
friend

Definition at line 73 of file multiplaymgr.hxx.


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