UaObjectServer Class Reference

Derived from UaObjectBase and EventManager. It is not possible to create plane copies of this Class. More...

#include <uaobjectsserver.h>

Inheritance diagram for UaObjectServer:
Collaboration diagram for UaObjectServer:

List of all members.

Public Member Functions

 UaObjectServer (const UaString &name, const UaNodeId &nodeId, const UaString &defaultLocaleId)
virtual ~UaObjectServer ()
UaStatus startUp (ServerConfig *pServerConfig, NodeManagerConfig *pNodeManagerConfig)
UaStatus shutDown ()
UaNodeId typeDefinitionId () const
OpcUa_Byte eventNotifier () const
UaNodegetUaNode () const
UaStatus addNamespace (const UaString &sNameSpace, OpcUa_UInt16 &assignedNamespaceIndex)
UaStatus getNamespaces (UaStringArray &sNamespaces)
void startServerShutDown (OpcUa_Int32 secondsTillShutdown, const UaLocalizedText &shutdownReason)
void changeServerState (OpcUa_ServerState newState)
OpcUa::HistoryServerCapabilitiesType * getHistoryServerCapabilities ()

Static Public Member Functions

static void createTypes ()
static void clearStaticMembers ()

Detailed Description

Derived from UaObjectBase and EventManager. It is not possible to create plane copies of this Class.

UaObjectServer


Constructor & Destructor Documentation

UaObjectServer::UaObjectServer ( const UaString name,
const UaNodeId nodeId,
const UaString defaultLocaleId 
)

construction

UaObjectServer::~UaObjectServer (  ) [virtual]

destruction


Member Function Documentation

UaStatus UaObjectServer::addNamespace ( const UaString sNameSpace,
OpcUa_UInt16 &  assignedNamespaceIndex 
)

Add a namespace to the end of the list.

Parameters:
sNameSpacethe Namespace of the current Node.
assignedNamespaceIndexAssigned namespace index of the added NodeManager.
Returns:
Error code
void UaObjectServer::changeServerState ( OpcUa_ServerState  newState )

Update the server manager about the change of the server state.

Parameters:
newStateNew server status.
void UaObjectServer::clearStaticMembers (  ) [static]

Clear the static members of the class

void UaObjectServer::createTypes (  ) [static]

Create the related type nodes

OpcUa_Byte UaObjectServer::eventNotifier (  ) const [virtual]

Notifiys which Event was fired.

Returns:
the EventNotifier for the UaTransitionType.

Implements UaObject.

OpcUa::HistoryServerCapabilitiesType * UaObjectServer::getHistoryServerCapabilities (  )

Get the HistoryServerCapability object to update the capabilities.

Returns:
Returns the HistoryServerCapabilityObject or NULL in the case of an error
UaStatus UaObjectServer::getNamespaces ( UaStringArray &  sNamespaces )

Get list of namespaces.

Parameters:
sNamespacesthe namespace to search for.
Returns:
Error code
UaNode* UaObjectServer::getUaNode (  ) const [inline, virtual]

Get the Node.

Returns:
the current searched Node.

Reimplemented from UaObjectBase.

UaStatus UaObjectServer::shutDown (  )

Shut down UaObjectServer.

Returns:
Error code
void UaObjectServer::startServerShutDown ( OpcUa_Int32  secondsTillShutdown,
const UaLocalizedText shutdownReason 
)

Inform the server object about the shutdown of the server.

Parameters:
secondsTillShutdownSeconds till shutdown of the server.
shutdownReasonReason for the shutdown.
UaStatus UaObjectServer::startUp ( ServerConfig pServerConfig,
NodeManagerConfig pNodeManagerConfig 
)

Start up UaObjectServer.

Parameters:
pServerConfigServer configuration object.
pNodeManagerConfigNodeManager configuration object.
Returns:
Error code

* Root | Objects | Server | NamespaceArray */

UaNodeId UaObjectServer::typeDefinitionId (  ) const [virtual]

Get the object type NodeId for the server object.

Returns:
the object type NodeId for the server object.

Reimplemented from UaNode.


The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/uaobjectsserver.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/uaobjectsserver.cpp