w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::Rw11 Class Reference

FIXME_docs. More...

#include <Rw11.hpp>

Collaboration diagram for Retro::Rw11:
[legend]

Public Member Functions

 Rw11 ()
 Default constructor.
 
virtual ~Rw11 ()
 Destructor.
 
 Rw11 (const Rw11 &)=delete
 
Rw11operator= (const Rw11 &)=delete
 
void SetServer (const std::shared_ptr< RlinkServer > &spserv)
 FIXME_docs.
 
const std::shared_ptr< RlinkServer > & ServerSPtr () const
 FIXME_docs.
 
RlinkServerServer () const
 FIXME_docs.
 
RlinkConnectConnect () const
 FIXME_docs.
 
RlogFileLogFile () const
 FIXME_docs.
 
void AddCpu (const std::shared_ptr< Rw11Cpu > &spcpu)
 FIXME_docs.
 
size_t NCpu () const
 FIXME_docs.
 
Rw11CpuCpu (size_t ind) const
 FIXME_docs.
 
void Start ()
 FIXME_docs.
 
bool IsStarted () const
 FIXME_docs.
 
virtual void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 

Static Public Attributes

static const int kLam = 0
 W11 CPU cluster lam.
 

Protected Member Functions

int AttnHandler (RlinkServer::AttnArgs &args)
 FIXME_docs.
 

Protected Attributes

std::shared_ptr< RlinkServerfspServ
 
size_t fNCpu
 
std::shared_ptr< Rw11CpufspCpu [4]
 
bool fStarted
 true if Start() called
 

Detailed Description

FIXME_docs.

Definition at line 31 of file Rw11.hpp.

Constructor & Destructor Documentation

◆ Rw11() [1/2]

Retro::Rw11::Rw11 ( )

Default constructor.

Definition at line 49 of file Rw11.cpp.

◆ ~Rw11()

Retro::Rw11::~Rw11 ( )
virtual

Destructor.

Definition at line 58 of file Rw11.cpp.

◆ Rw11() [2/2]

Retro::Rw11::Rw11 ( const Rw11 )
delete

Member Function Documentation

◆ operator=()

Rw11 & Retro::Rw11::operator= ( const Rw11 )
delete

◆ SetServer()

void Retro::Rw11::SetServer ( const std::shared_ptr< RlinkServer > &  spserv)

FIXME_docs.

Definition at line 64 of file Rw11.cpp.

References AttnHandler(), fspServ, and kLam.

Referenced by Retro::RtclRw11::ClassCmdConfig().

◆ ServerSPtr()

const std::shared_ptr< RlinkServer > & Retro::Rw11::ServerSPtr ( ) const
inline

FIXME_docs.

Definition at line 22 of file Rw11.ipp.

References fspServ.

◆ Server()

RlinkServer & Retro::Rw11::Server ( ) const
inline

FIXME_docs.

Definition at line 30 of file Rw11.ipp.

References fspServ.

Referenced by AttnHandler(), Retro::Rw11Cpu::Server(), and Start().

◆ Connect()

RlinkConnect & Retro::Rw11::Connect ( ) const
inline

FIXME_docs.

Definition at line 38 of file Rw11.ipp.

References fspServ.

Referenced by Retro::Rw11Cpu::Connect().

◆ LogFile()

RlogFile & Retro::Rw11::LogFile ( ) const
inline

FIXME_docs.

Definition at line 46 of file Rw11.ipp.

References fspServ.

Referenced by Retro::Rw11Cpu::LogFile().

◆ AddCpu()

void Retro::Rw11::AddCpu ( const std::shared_ptr< Rw11Cpu > &  spcpu)

FIXME_docs.

Definition at line 75 of file Rw11.cpp.

References fNCpu, and fspCpu.

Referenced by Retro::RtclRw11::ClassCmdConfig().

◆ NCpu()

size_t Retro::Rw11::NCpu ( ) const
inline

FIXME_docs.

Definition at line 54 of file Rw11.ipp.

References fNCpu.

Referenced by Retro::RtclRw11::CpuCommands(), and Retro::RtclRw11::M_default().

◆ Cpu()

Rw11Cpu & Retro::Rw11::Cpu ( size_t  ind) const

FIXME_docs.

Definition at line 93 of file Rw11.cpp.

References fspCpu.

◆ Start()

void Retro::Rw11::Start ( )

FIXME_docs.

Definition at line 101 of file Rw11.cpp.

References fNCpu, fspCpu, fStarted, Server(), Retro::RlinkServer::Start(), and Start().

Referenced by Retro::RtclRw11::M_start(), and Start().

◆ IsStarted()

bool Retro::Rw11::IsStarted ( ) const
inline

FIXME_docs.

Definition at line 62 of file Rw11.ipp.

References fStarted.

Referenced by Retro::RtclRw11::RtclRw11().

◆ Dump()

void Retro::Rw11::Dump ( std::ostream &  os,
int  ind = 0,
const char *  text = 0,
int  detail = 0 
) const
virtual

FIXME_docs.

Definition at line 117 of file Rw11.cpp.

References fNCpu, fspCpu, fspServ, fStarted, and Retro::RosPrintf().

Referenced by Retro::RtclRw11::M_dump().

◆ AttnHandler()

int Retro::Rw11::AttnHandler ( RlinkServer::AttnArgs args)
protected

FIXME_docs.

Definition at line 134 of file Rw11.cpp.

References fNCpu, fspCpu, Retro::RlinkServer::GetAttnInfo(), and Server().

Referenced by SetServer().

Member Data Documentation

◆ kLam

const int Retro::Rw11::kLam = 0
static

W11 CPU cluster lam.

Definition at line 57 of file Rw11.hpp.

Referenced by Retro::RtclRw11Cpu::M_wtcpu(), and SetServer().

◆ fspServ

std::shared_ptr<RlinkServer> Retro::Rw11::fspServ
protected

Definition at line 63 of file Rw11.hpp.

Referenced by Connect(), Dump(), LogFile(), Server(), ServerSPtr(), and SetServer().

◆ fNCpu

size_t Retro::Rw11::fNCpu
protected

Definition at line 64 of file Rw11.hpp.

Referenced by AddCpu(), AttnHandler(), Dump(), NCpu(), and Start().

◆ fspCpu

std::shared_ptr<Rw11Cpu> Retro::Rw11::fspCpu[4]
protected

Definition at line 65 of file Rw11.hpp.

Referenced by AddCpu(), AttnHandler(), Cpu(), Dump(), and Start().

◆ fStarted

bool Retro::Rw11::fStarted
protected

true if Start() called

Definition at line 66 of file Rw11.hpp.

Referenced by Dump(), IsStarted(), and Start().


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