|
OpenJAUS Software Development Kit
4.3.1
|
This is a brief description. More...
#include <Service.h>
Public Member Functions | |
| Service () | |
| virtual | ~Service () |
| Service (const Service ©) | |
| std::string | getName () const |
| Accessor to get the value of name. More... | |
| bool | setName (std::string name) |
| Accessor to set value of name. More... | |
| std::string | getUri () const |
| Accessor to get the value of uri. More... | |
| bool | setUri (std::string uri) |
| Accessor to set value of uri. More... | |
| std::string | getDescription () const |
| Accessor to get the value of description. More... | |
| bool | setDescription (std::string description) |
| Accessor to set value of description. More... | |
| int | getVersionMajor () const |
| Accessor to get the value of versionMajor. More... | |
| bool | setVersionMajor (int versionMajor) |
| Accessor to set value of versionMajor. More... | |
| int | getVersionMinor () const |
| Accessor to get the value of versionMinor. More... | |
| bool | setVersionMinor (int versionMinor) |
| Accessor to set value of versionMinor. More... | |
| Service * | getInheritsFrom () const |
| Accessor to get the value of inheritsFrom. More... | |
| bool | setInheritsFrom (Service *inheritsFrom) |
| Accessor to set value of inheritsFrom. More... | |
| const std::vector< Trigger *> & | getTriggers () const |
| Accessor to get the value of triggers. More... | |
| bool | setTriggers (const Trigger &triggers) |
| Accessor to set value of triggers. More... | |
| const std::vector< StateMachine *> & | getStateMachines () const |
| Accessor to get the value of stateMachines. More... | |
| bool | setStateMachines (const StateMachine &stateMachines) |
| Accessor to set value of stateMachines. More... | |
| const std::vector< Action *> & | getActions () const |
| Accessor to get the value of actions. More... | |
| bool | setActions (const Action &actions) |
| Accessor to set value of actions. More... | |
| const std::vector< Transition *> & | getTransitions () const |
| Accessor to get the value of transitions. More... | |
| bool | setTransitions (const Transition &transitions) |
| Accessor to set value of transitions. More... | |
| const std::vector< State *> & | getStates () const |
| Accessor to get the value of states. More... | |
| bool | setStates (const State &states) |
| Accessor to set value of states. More... | |
| StateMachine | getStateMachine (std::string name) |
| Operation getStateMachine. More... | |
| virtual std::string | toString () const |
| std::string | toXml (unsigned char level=0) const |
| virtual void | start () |
| virtual void | stop () |
Static Public Attributes | |
| static const int | ANY_VERSION = -1 |
Protected Attributes | |
| std::string | name |
| std::string | uri |
| std::string | description |
| int | versionMajor |
| int | versionMinor |
| Service * | inheritsFrom |
| std::vector< Trigger *> | triggers |
| std::vector< StateMachine *> | stateMachines |
| std::vector< Action *> | actions |
| std::vector< Transition *> | transitions |
| std::vector< State *> | states |
Friends | |
| OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Service &object) |
| OPENJAUS_EXPORT friend std::ostream & | operator<< (std::ostream &output, const Service *object) |
Detailed description.
| openjaus::model::Service::Service | ( | ) |
|
virtual |
| openjaus::model::Service::Service | ( | const Service & | copy | ) |
| const std::vector< Action *> & openjaus::model::Service::getActions | ( | ) | const |
| std::string openjaus::model::Service::getDescription | ( | ) | const |
| Service * openjaus::model::Service::getInheritsFrom | ( | ) | const |
| std::string openjaus::model::Service::getName | ( | void | ) | const |
| StateMachine openjaus::model::Service::getStateMachine | ( | std::string | name | ) |
| name |
| const std::vector< StateMachine *> & openjaus::model::Service::getStateMachines | ( | ) | const |
| const std::vector< State *> & openjaus::model::Service::getStates | ( | ) | const |
| const std::vector< Transition *> & openjaus::model::Service::getTransitions | ( | ) | const |
| const std::vector< Trigger *> & openjaus::model::Service::getTriggers | ( | ) | const |
| std::string openjaus::model::Service::getUri | ( | ) | const |
| int openjaus::model::Service::getVersionMajor | ( | ) | const |
| int openjaus::model::Service::getVersionMinor | ( | ) | const |
| bool openjaus::model::Service::setActions | ( | const Action & | actions | ) |
| actions | The value of the new actions. |
| bool openjaus::model::Service::setDescription | ( | std::string | description | ) |
| description | The value of the new description. |
| bool openjaus::model::Service::setInheritsFrom | ( | Service * | inheritsFrom | ) |
| inheritsFrom | The value of the new inheritsFrom. |
| bool openjaus::model::Service::setName | ( | std::string | name | ) |
| name | The value of the new name. |
| bool openjaus::model::Service::setStateMachines | ( | const StateMachine & | stateMachines | ) |
| stateMachines | The value of the new stateMachines. |
| bool openjaus::model::Service::setStates | ( | const State & | states | ) |
| states | The value of the new states. |
| bool openjaus::model::Service::setTransitions | ( | const Transition & | transitions | ) |
| transitions | The value of the new transitions. |
| bool openjaus::model::Service::setTriggers | ( | const Trigger & | triggers | ) |
| triggers | The value of the new triggers. |
| bool openjaus::model::Service::setUri | ( | std::string | uri | ) |
| uri | The value of the new uri. |
| bool openjaus::model::Service::setVersionMajor | ( | int | versionMajor | ) |
| versionMajor | The value of the new versionMajor. |
| bool openjaus::model::Service::setVersionMinor | ( | int | versionMinor | ) |
| versionMinor | The value of the new versionMinor. |
|
virtual |
|
virtual |
|
virtual |
| std::string openjaus::model::Service::toXml | ( | unsigned char | level = 0 | ) | const |
|
friend |
|
friend |
|
protected |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |