CARMA C++
carma::antenna::ovro::ControlServer Class Reference

ControlServer class encapsulates most control details. More...

#include <carma/antenna/ovro/control/ControlServer.h>

Public Member Functions

 ControlServer (carma::antenna::ovro::OvroMaster &master, unsigned short antennaId, carma::monitor::OvroSubsystem &mon, carma::corba::Server &server, const std::string &confDir, bool simulate=false)
 Constructor. More...
 
void runServer ()
 Run control server. More...
 
virtual ~ControlServer ()
 Destructor. More...
 

Detailed Description

ControlServer class encapsulates most control details.

This class is mainly responsible for encapsulating internal CORBA control details by incarnating all canbus related control DOs which in turn delegate requests to canbus::Device class derivatives or related classes. The idea behind the class is to confine most details to a single class so that they can be more modularly changed in the future if need be.

Definition at line 55 of file ControlServer.h.

Constructor & Destructor Documentation

carma::antenna::ovro::ControlServer::ControlServer ( carma::antenna::ovro::OvroMaster master,
unsigned short  antennaId,
carma::monitor::OvroSubsystem &  mon,
carma::corba::Server server,
const std::string &  confDir,
bool  simulate = false 
)

Constructor.

The constructor is responsible for creating all CORBA DOs and publishing them. Note this object must be created on the stack. The main reason for this is that this object will need to be destroyed prior to destruction of the master class. That said, make sure this object is destroyed prior to destroying an OvroMaster instance.

Parameters
masterPointer to OvroMaster object.
antennaIdUnique ID for antenna.
monReference to ovro subsystem instance.
confDirLocation of the conf directory.
simulateTrue if we are simulating, false if RTS.
virtual carma::antenna::ovro::ControlServer::~ControlServer ( )
virtual

Destructor.

Member Function Documentation

void carma::antenna::ovro::ControlServer::runServer ( )

Run control server.

This method blocks on the orb!


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