1 #ifndef DAQ_OCM_SERVER_FAKE_OCM_SERVER_IF_HPP_
2 #define DAQ_OCM_SERVER_FAKE_OCM_SERVER_IF_HPP_
11 std::string
getId()
const override {
14 void setId(std::string
const&
id)
override {
28 bool keyEquals(
const DaqReply& other)
const override {
31 std::unique_ptr<DaqReply>
cloneKey()
const override {
34 std::unique_ptr<DaqReply>
clone()
const override {
49 std::string
getId()
const override {
52 void setId(std::string
const&
id)
override {
88 void setResult(std::string
const& result)
override {
105 std::unique_ptr<DaqStatus>
cloneKey()
const override {
108 std::unique_ptr<DaqStatus>
clone()
const override {
122 std::shared_ptr<daqif::DaqStatus>
getStatus()
const override {
130 bool keyEquals(
const AwaitDaqReply& other)
const override {
133 std::unique_ptr<AwaitDaqReply>
cloneKey()
const override {
136 std::unique_ptr<AwaitDaqReply>
clone()
const override {
171 bool keyEquals(
const StorageStatus& other)
const override {
174 std::unique_ptr<StorageStatus>
cloneKey()
const override {
177 std::unique_ptr<StorageStatus>
clone()
const override {
std::unique_ptr< AwaitDaqReply > clone() const override
std::unique_ptr< AwaitDaqReply > cloneKey() const override
bool getTimeout() const override
std::shared_ptr< DaqStatusFake > m_status
void setTimeout(bool t) override
bool hasKey() const override
std::shared_ptr< daqif::DaqStatus > getStatus() const override
bool keyEquals(const AwaitDaqReply &other) const override
std::unique_ptr< DaqReply > clone() const override
bool hasKey() const override
void setError(bool error) override
bool getError() const override
void setId(std::string const &id) override
std::unique_ptr< DaqReply > cloneKey() const override
bool keyEquals(const DaqReply &other) const override
std::string getId() const override
void setError(bool e) override
std::string getMessage() const override
std::string getFileId() const override
daqif::DaqState getState() const override
void setSubState(daqif::DaqSubState s) override
std::string getId() const override
void setMessage(std::string const &message) override
bool getError() const override
bool hasKey() const override
void setTimestamp(double d) override
double getTimestamp() const override
void setId(std::string const &id) override
void setState(daqif::DaqState s) override
std::unique_ptr< DaqStatus > clone() const override
std::unique_ptr< DaqStatus > cloneKey() const override
daqif::DaqSubState getSubState() const override
bool keyEquals(const DaqStatus &other) const override
void setResult(std::string const &result) override
void setFileId(std::string const &id) override
daqif::DaqSubState m_sub_state
std::string getResult() const override
void setAvailable(uint64_t available) override
std::unique_ptr< StorageStatus > clone() const override
uint64_t getCapacity() const override
void setCapacity(uint64_t capacity) override
bool hasKey() const override
bool keyEquals(const StorageStatus &other) const override
uint64_t getFree() const override
uint64_t getAvailable() const override
void setFree(uint64_t free) override
std::unique_ptr< StorageStatus > cloneKey() const override