EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Member Functions | List of all members
EngineEA3 Class Reference

The original archive engine. More...

#include <EngineEA3.h>

Inheritance diagram for EngineEA3:
Engine Guardable EngineConfigListener

Public Member Functions

 EngineEA3 (const std::string &index_name)
 Create Engine that writes to given index. More...
 
virtual void read_config (Guard &guard, const std::string &file_name)
 Read the given config file. More...
 
virtual void addChannel (const std::string &group_name, const std::string &channel_name, double scan_period, bool disabling, bool monitor)
 Add a channel. More...
 
virtual unsigned long write (Guard &guard)
 Write all current buffers to disk. More...
 
- Public Member Functions inherited from Engine
 Engine (const std::string &index_name)
 Create Engine that writes to given index. More...
 
virtual ~Engine ()
 Destructor.
 
virtual OrderedMutex & getMutex ()
 Guardable interface. More...
 
const std::string & getIndexName (Guard &guard) const
 
void setDescription (Guard &guard, const std::string &description)
 Set the description string. More...
 
const std::string & getDescription (Guard &guard) const
 
const epicsTime & getStartTime (Guard &guard) const
 
const epicsTime & getNextWriteTime (Guard &guard) const
 
void attachToProcessVariableContext (Guard &guard)
 Join the engine's ProcessVariableContext. More...
 
double getWriteDuration (Guard &guard) const
 
size_t getWriteCount (Guard &guard) const
 
double getProcessDelayAvg (Guard &guard) const
 
const EngineConfig & getConfig (Guard &guard) const
 
WritableEngineConfig & getWritableConfig (Guard &guard)
 
virtual void write_config (Guard &guard)
 Write a new config file. More...
 
GroupInfo * addGroup (Guard &guard, const std::string &group_name)
 Add a group. More...
 
const stdList< GroupInfo * > & getGroups (Guard &guard) const
 
GroupInfo * findGroup (Guard &engine_guard, const std::string &name)
 
const stdList< ArchiveChannel * > & getChannels (Guard &guard) const
 
ArchiveChannel * findChannel (Guard &engine_guard, const std::string &name)
 
size_t getNumConnected (Guard &guard) const
 
void start (Guard &guard)
 Start the sample mechanism. More...
 
bool isRunning (Guard &guard) const
 
bool process ()
 Main process routine. More...
 
void stop (Guard &guard)
 Stop sampling. More...
 
- Public Member Functions inherited from EngineConfigListener
virtual void addChannel (const stdString &group_name, const stdString &channel_name, double scan_period, bool disabling, bool monitor)=0
 Invoked for each channel that the EngineConfigParser found. More...
 

Additional Inherited Members

- Static Public Attributes inherited from Engine
static const double MAX_DELAY
 max delay
 

Detailed Description

The original archive engine.

Constructor & Destructor Documentation

EngineEA3::EngineEA3 ( const std::string &  index_name)

Create Engine that writes to given index.

Member Function Documentation

virtual void EngineEA3::addChannel ( const std::string &  group_name,
const std::string &  channel_name,
double  scan_period,
bool  disabling,
bool  monitor 
)
virtual

Add a channel.

Also an EngineConfigListener

Implements Engine.

virtual void EngineEA3::read_config ( Guard &  guard,
const std::string &  file_name 
)
virtual

Read the given config file.

Implements Engine.

virtual unsigned long EngineEA3::write ( Guard &  guard)
virtual

Write all current buffers to disk.

Typically done within process(), also explicitly invoked when shutting down.

Implements Engine.


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