15 #include "nds3/impl/baseImpl.h"
21 class StateMachineImpl;
39 void addChild(std::shared_ptr<BaseImpl> pChild);
41 void initializeRootNode(
void* pDeviceObject,
FactoryBaseImpl& controlSystem);
43 void deinitializeRootNode();
47 virtual void deinitialize();
49 virtual state_t getLocalState()
const;
51 virtual void getGlobalState(timespec* pTimestamp,
state_t* pState)
const;
52 void getChildrenState(timespec* pTimestamp,
state_t* pState)
const;
54 virtual void setLogLevel(
const logLevel_t logLevel);
56 virtual std::string buildFullExternalName(
const FactoryBaseImpl& controlSystem)
const;
57 virtual std::string buildFullExternalNameFromPort(
const FactoryBaseImpl& controlSystem)
const;
60 std::string buildFullExternalName(
const FactoryBaseImpl& controlSystem,
const bool bStopAtPort)
const;
65 typedef std::map<std::string, std::shared_ptr<BaseImpl> > tChildren;
68 std::shared_ptr<StateMachineImpl> m_pStateMachine;
74 #endif // NDSNODEIMPL_H
nodeType_t
Defines the nodes' roles in the tree structure: it is used to build the node's external name when usi...
Definition: definitions.h:103
This is the base class for objects that interact with specific control systems and has to be allocate...
Definition: factoryBaseImpl.h:51
logLevel_t
Defines the severities of the log information.
Definition: definitions.h:80
Represents a node (channel or channelGroup in the old NDS) which can contain other nodes...
Definition: nodeImpl.h:29
Defines all the enumeration and common types used across the NDS library.
NodeImpl(const std::string &name, const nodeType_t nodeType)
Construct the node.
state_t
Available states, ordered by priority (lowest to higher).
Definition: definitions.h:36