![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "serverContext.h"
Inheritance diagram for epics::pvAccess::ServerContext:Classes | |
| class | Config |
| Options for a server insatnce. More... | |
Public Member Functions | |
| POINTER_DEFINITIONS (ServerContext) | |
| virtual | ~ServerContext () |
| virtual const ServerGUID & | getGUID ()=0 |
| virtual const Version & | getVersion ()=0 |
| virtual void | run (epics::pvData::uint32 seconds)=0 |
| virtual void | shutdown ()=0 |
| void | printInfo (int lvl=0) |
| virtual void | printInfo (std::ostream &str, int lvl=0)=0 |
| virtual epicsTimeStamp & | getStartTime ()=0 |
| virtual epics::pvData::int32 | getServerPort ()=0 |
| virtual epics::pvData::int32 | getBroadcastPort ()=0 |
| virtual Configuration::shared_pointer | getCurrentConfig ()=0 |
| virtual const std::vector< ChannelProvider::shared_pointer > & | getChannelProviders ()=0 |
| virtual void | setBeaconServerStatusProvider (BeaconServerStatusProvider::shared_pointer const &beaconServerStatusProvider)=0 |
Static Public Member Functions | |
| static ServerContext::shared_pointer | create (const Config &conf=Config()) |
The class representing a PVA Server context.
Definition at line 27 of file serverContext.h.
|
inlinevirtual |
|
static |
Start a new PVA server
By default the server will select ChannelProviders using the EPICS_PVAS_PROVIDER_NAMES Configuration key.
If a list of provided is given with Config::providers() then this overrides any Configuration.
If a specific Configuration is given with Config::config() then this overrides the default Configuration.
Definition at line 578 of file serverContext.cpp.
|
pure virtual |
|
pure virtual |
Implemented in epics::pvAccess::ServerContextImpl.
|
pure virtual |
Return a Configuration with the actual values being used, including defaults used, and bounds limits applied.
Implemented in epics::pvAccess::ServerContextImpl.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in epics::pvAccess::ServerContextImpl.
|
pure virtual |
Get context implementation version.
Implemented in epics::pvAccess::ServerContextImpl.
| epics::pvAccess::ServerContext::POINTER_DEFINITIONS | ( | ServerContext | ) |
| void epics::pvAccess::ServerContext::printInfo | ( | int | lvl = 0 | ) |
Prints detailed information about the context to the standard output stream.
Definition at line 364 of file serverContext.cpp.
|
pure virtual |
Prints detailed information about the context to the specified output stream.
| lvl | detail level |
| str | stream to which to print the info |
Implemented in epics::pvAccess::ServerContextImpl.
|
pure virtual |
Run server (process events).
| seconds | time in seconds the server will process events (method will block), if 0 the method would block until destroy() is called. |
| BaseException | if server is already destroyed. |
Implemented in epics::pvAccess::ServerContextImpl.
|
pure virtual |
Set beacon server status provider.
| beaconServerStatusProvider | BeaconServerStatusProvider implementation to set. |
Implemented in epics::pvAccess::ServerContextImpl.
|
pure virtual |
Implemented in epics::pvAccess::ServerContextImpl.