Storage server.
More...
#include <StorageServer.h>
|
typedef unsigned long long | id_type |
| Type used for the identifying integer (64-bits).
|
|
typedef int32_t | flags_type |
| Type used for the flag integer.
|
|
typedef size_t | size_type |
| Type used for size of vectors.
|
|
typedef uint64_t | data_type |
| Type used for containing a single data element which is the largest integer.
|
|
typedef int64_t | sdata_type |
| Type used for containing a single data element which is the largest signed integer.
|
|
typedef TVector< id_type > | IdVector |
| Vector for lists of information ID's.
|
|
typedef TVector< InformationBase * > | Vector |
| Vector for containing different information base derived classes.
|
|
static constexpr size_t | npos = std::numeric_limits<size_type>::max() |
| Unsigned size value indicating not found or no index.
|
|
◆ StorageServer()
sf::StorageServer::StorageServer |
( |
id_type |
deviceNumber, |
|
|
const std::string & |
serverName = {} |
|
) |
| |
|
explicit |
◆ ~StorageServer()
sf::StorageServer::~StorageServer |
( |
| ) |
|
◆ createImplementation() [1/2]
bool sf::StorageServer::createImplementation |
( |
const std::string & |
name | ) |
|
Creates an attached implementation by name.
◆ createImplementation() [2/2]
bool sf::StorageServer::createImplementation |
( |
int |
index | ) |
|
|
protected |
Creates the implementation of index on the registered implementations.
- Returns
- True on success.
◆ createInterface()
void sf::StorageServer::createInterface |
( |
| ) |
|
|
protected |
Create interface parameters at construction once.
◆ destroyImplementation()
void sf::StorageServer::destroyImplementation |
( |
| ) |
|
|
inline |
Destroys the created implementation.
◆ destroyInterface()
void sf::StorageServer::destroyInterface |
( |
| ) |
|
|
protected |
Remove all parameters and results.
◆ getImplementation()
Gets a pointer to the current acquisition implementation.
◆ getImplementationName()
std::string sf::StorageServer::getImplementationName |
( |
| ) |
const |
Gets the name of the current implementation.
◆ getServerName()
std::string sf::StorageServer::getServerName |
( |
| ) |
const |
Gets the name given at the constructor.
◆ _deviceNumber
id_type sf::StorageServer::_deviceNumber {0} |
|
protected |
Holds the device number passed at the constructor.
◆ _implementation
Holds the implementation.
◆ _serverName
std::string sf::StorageServer::_serverName |
|
protected |
Holds the device name for creating the variable names.
The documentation for this class was generated from the following file: