#include <RootOperation.h>
Inheritance diagram for Atlas::Objects::Operation::RootOperation:
Public Member Functions | |
RootOperation () | |
Construct a RootOperation instance. | |
virtual | ~RootOperation () |
Default destructor. | |
virtual bool | hasAttr (const std::string &name) const |
Check whether the attribute "name" exists. | |
virtual Atlas::Message::Element | getAttr (const std::string &name) const throw (NoSuchAttrException) |
Retrieve the attribute "name". | |
virtual void | setAttr (const std::string &name, const Atlas::Message::Element &attr) |
Set the attribute "name" to the value given by"attr". | |
virtual void | removeAttr (const std::string &name) |
Remove the attribute "name". This will not work for static attributes. | |
virtual void | sendContents (Atlas::Bridge *b) const |
Send the contents of this object to a Bridge. | |
virtual Atlas::Message::Element | asObject () const |
Convert this object to a Message::Element. | |
virtual Atlas::Message::Element::MapType | asMap () const |
Convert this object to a Message::Element::MapType. | |
void | setSerialno (long val) |
Set the "serialno" attribute. | |
void | setRefno (long val) |
Set the "refno" attribute. | |
void | setFrom (const std::string &val) |
Set the "from" attribute. | |
void | setTo (const std::string &val) |
Set the "to" attribute. | |
void | setSeconds (double val) |
Set the "seconds" attribute. | |
void | setFutureSeconds (double val) |
Set the "future_seconds" attribute. | |
void | setTimeString (const std::string &val) |
Set the "time_string" attribute. | |
void | setArgs (const Atlas::Message::Element::ListType &val) |
Set the "args" attribute. | |
long | getSerialno () const |
Retrieve the "serialno" attribute. | |
long & | getSerialno () |
Retrieve the "serialno" attribute as a non-const reference. | |
long | getRefno () const |
Retrieve the "refno" attribute. | |
long & | getRefno () |
Retrieve the "refno" attribute as a non-const reference. | |
const std::string & | getFrom () const |
Retrieve the "from" attribute. | |
std::string & | getFrom () |
Retrieve the "from" attribute as a non-const reference. | |
const std::string & | getTo () const |
Retrieve the "to" attribute. | |
std::string & | getTo () |
Retrieve the "to" attribute as a non-const reference. | |
double | getSeconds () const |
Retrieve the "seconds" attribute. | |
double & | getSeconds () |
Retrieve the "seconds" attribute as a non-const reference. | |
double | getFutureSeconds () const |
Retrieve the "future_seconds" attribute. | |
double & | getFutureSeconds () |
Retrieve the "future_seconds" attribute as a non-const reference. | |
const std::string & | getTimeString () const |
Retrieve the "time_string" attribute. | |
std::string & | getTimeString () |
Retrieve the "time_string" attribute as a non-const reference. | |
const Atlas::Message::Element::ListType & | getArgs () const |
Retrieve the "args" attribute. | |
Atlas::Message::Element::ListType & | getArgs () |
Retrieve the "args" attribute as a non-const reference. | |
Static Public Member Functions | |
RootOperation | Class () |
Create a new class for RootOperation. | |
Protected Member Functions | |
RootOperation (const char *, const char *) | |
Constructor for sub-classes. | |
void | sendSerialno (Atlas::Bridge *) const |
void | sendRefno (Atlas::Bridge *) const |
void | sendFrom (Atlas::Bridge *) const |
void | sendTo (Atlas::Bridge *) const |
void | sendSeconds (Atlas::Bridge *) const |
void | sendFutureSeconds (Atlas::Bridge *) const |
void | sendTimeString (Atlas::Bridge *) const |
void | sendArgs (Atlas::Bridge *) const |
Protected Attributes | |
long | attr_serialno |
long | attr_refno |
std::string | attr_from |
std::string | attr_to |
double | attr_seconds |
double | attr_future_seconds |
std::string | attr_time_string |
Atlas::Message::Element::ListType | attr_args |
This is base operation for all other operations and defines basic attributes. You can use this as starting point for browsing whole operation hiearchy. refno refers to operation this is reply for. In examples all attributes that are just as examples (and thus world specific) are started with 'e_'.
|
Retrieve the attribute "name". Throws NoSuchAttrException if it does not exist. Reimplemented from Atlas::Objects::Root. |
Copyright 2000 the respective authors.
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.